DEBIAN PRO

DEBIAN PRO
DEBIAN

lunes, 28 de noviembre de 2016

Ono Problemas


Por lo que veo (y esto no es nuevo).... Ono/Vodafone mantiene redes privadas entre mi router y el resto de internet.
Veo al menos 3 redes 10.xx.xx.xx que agregan delay además de tener un equipo que parece ser un "Windows...."
En los Pings, hay cerca de 5-10% de pérdida de paquetes.


1 gateway (192.168.10.1) 0.975 ms 1.200 ms 1.415 ms
2 10.219.224.1 (10.219.224.1) 9.812 ms 11.110 ms 11.121 ms
3 10.127.46.241 (10.127.46.241) 11.757 ms 11.943 ms 12.169 ms
4 10.254.13.5 (10.254.13.5) 12.167 ms 15.443 ms *
5 * * *
6 * 62.42.228.62.static.user.ono.com (62.42.228.62) 8.771 ms 9.754 ms
7 72.14.235.20 (72.14.235.20) 13.159 ms 13.352 ms 12.350 ms
8 216.239.43.111 (216.239.43.111) 29.042 ms 29.267 ms 28.294 ms
9 216.239.46.216 (216.239.46.216) 62.484 ms 63.336 ms *


nmap 10.127.46.241

Starting Nmap 7.12 ( https://nmap.org ) at 2016-11-27 23:40 CET
Nmap scan report for 10.127.46.241
Host is up (0.0100s latency).
Not shown: 994 closed ports
PORT STATE SERVICE
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
512/tcp filtered exec
513/tcp filtered login
514/tcp filtered shell




64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=7 ttl=53 time=48.9 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=8 ttl=53 time=50.3 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=9 ttl=53 time=48.9 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=10 ttl=53 time=55.1 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=13 ttl=53 time=49.7 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=14 ttl=53 time=49.2 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=15 ttl=53 time=48.2 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=16 ttl=53 time=51.5 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=17 ttl=53 time=48.4 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=19 ttl=53 time=47.9 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=20 ttl=53 time=49.4 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=21 ttl=53 time=50.2 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=22 ttl=53 time=48.5 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=23 ttl=53 time=49.0 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=25 ttl=53 time=48.8 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=26 ttl=53 time=52.7 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=27 ttl=53 time=48.4 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=28 ttl=53 time=49.2 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=29 ttl=53 time=49.9 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=30 ttl=53 time=49.2 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=32 ttl=53 time=62.4 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=33 ttl=53 time=48.6 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=34 ttl=53 time=49.1 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=35 ttl=53 time=50.1 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=36 ttl=53 time=49.0 ms
64 bytes from bud02s21-in-f3.1e100.net (216.58.209.163): icmp_seq=38 ttl=53 time=49.0 ms






Todo puede empeorar
traceroute www.google.es
traceroute to www.google.es (216.58.210.195), 30 hops max, 60 byte packets
1 routerono.home (192.168.10.1) 1.557 ms 2.192 ms 2.183 ms
2 10.219.224.1 (10.219.224.1) 9.091 ms 13.563 ms 13.714 ms
3 10.127.46.241 (10.127.46.241) 17.088 ms 17.088 ms 17.076 ms
4 10.254.13.9 (10.254.13.9) 17.248 ms 10.254.16.249 (10.254.16.249) 29.038 ms 10.254.13.5 (10.254.13.5) 17.235 ms
5 10.254.14.110 (10.254.14.110) 17.408 ms 17.408 ms 10.254.11.1 (10.254.11.1) 19.130 ms
6 62.42.228.62.static.user.ono.com (62.42.228.62) 53.681 ms 50.940 ms 49.646 ms
7 72.14.235.18 (72.14.235.18) 15.527 ms * 35.807 ms
8 216.239.56.39 (216.239.56.39) 91.722 ms 91.724 ms 91.458 ms
9 64.233.174.55 (64.233.174.55) 50.629 ms 50.592 ms 50.615 ms
10 mrs04s09-in-f3.1e100.net (216.58.210.195) 50.023 ms 49.062 ms *


jueves, 17 de noviembre de 2016

SQL Server for Linux


En 1999 preparé un curso de "mSQL y MySQL" (gracias a Dominio Digital), en ese momento MySQL era el motor preferido para aplicaciones Webs, un motor sencillo, rápido, basado en SQL, pocos consumos de memoria...

Han pasado 17 años y aunque hoy MySQL ya tiene primos (Percona, MariaDB), y por supuesto la versión Oracle MySQL... siendo uno de los mas usados.

Aparece SQL Server para Linux, claramente una Base de datos que hacía tiempo que nos preguntábamos los DBA, cuando harían finalmente la adaptación para tenerla en Linux.

Hasta hace unos años Microsoft continuaba sus negocios de monopolio, aislamiento, utilización de sus standards y productos. Era obvio pero Windows + SQL Server + IIS era lo que buscaban.

Casi Año 2017 - supongo que han entendido que "perdieron esa guerra también", su S.O. cabecera (Windows) ya no es el nro uno, Android + Linux + Unix les comieron el mercado de servidores, en el mundo Desktop, entre Apple y algunos Linux, sigue habiendo un pequeño porcentaje de equipos SIN WINDOWS.

Si miramos Azure, el 30% son servidores Linux y con este nuevo producto (SQL Server for Ubuntu), ese porcentaje será aún mayor. Es bueno reconocer los errores y tratar de rectificarlos, pero a veces es tarde y el mercado tecnológico global no perdona.

En 5 años, mi pronóstico es:
* 80% de servidoresd con Linux (y en Azure lo mismo)
* 30% MySQL
* 20% Oracle
* 50% SQL Server


LINKS AL TEMA SQL SERVER PARA WINDOWS - Para Linux
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-ubuntu


En mi servidorcito

apt install mssql-server

Reading package lists... Done
Building dependency tree
Reading state information... Done
mssql-server is already the newest version (14.0.1.246-6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I COMENZAMOS nuevamente con los períodos de evaluación....
cd /opt/mssql/bin
./sqlservr
This is an evaluation version. There are [176] days left in the evaluation period.


uname -a
Linux dcialdella 4.8.6-040806-generic #201610310831 SMP Mon Oct 31 12:33:48 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


Para instalar el cliente, mas problemas. (tengo Xubuntu 16.10)
apt-get install -y mssql-tools msodbcsql unixodbc-utf16 libodbc1-utf16 odbcinst1debian2-utf16



sqlcmd -S 127.0.0.1 -U sa
Password:
1> select @@version
2> go

---------------
Microsoft SQL Server vNext (CTP1) - 14.0.1.246 (X64)
Nov 1 2016 23:24:39
Copyright (c) Microsoft Corporation
on Linux (Ubuntu 16.10)

(1 rows affected)





viernes, 4 de noviembre de 2016