Clusterizando Docker
David Muñoz @dperilla
¿Quién soy?• David Muñoz - CEO Quaip Solutions SL!
• @dperilla en twitter
• VoipEngineer con Asterisk / Kamailio desde 2003
• SysAdmin Linux desde 1999
• Formador online de Asterisk, Virtualización y Linux desde 2007
Características clave
• Balanceo de Carga
• Failover
• Cache en memoria
• Replicación de datos
• Evitar POFs (Point of failure)
Características clave
Cluster
Balanceadores• Balanceadores software!
• Haproxy
• LVS
• Balanceadores hardware!
• Productos F5
• Netscaler
Almacenamiento Distribuido
• Nfs
• ISCSI
• GlusterFS
• Ceph
• DRBD + OCFS2 o LVM
GlusterFs
Ceph
Scripts con Rsync
csync2 / lsyncd
+ Simple - Fallos
Simplificando
Managers HA tradicionales
• Pacemaker
• Corosync
• Heartbeat
Galera Cluster
Stats Haproxy
Service Discovery· Registro del servicio
!
· Descubrimiento del servicio !
· Monitorización !
· Balanceo de carga
De Proposito General
· Zookeeper · Doozer · Etcd
Espécificos· Airbnb’s SmartStack - Nerve + Synapse (haproxy)
· Netflix’s Eureka · Bitly’s NSQ lookupd · Serf · Spotify and DNS - SRV Record
!
Consul http://demo.consul.io/ui/
!
Deis http://deis.io/
!
Solum http://solum.io/
Proyectos Interesantes
Ejemplo práctico
Gracias!@dperilla