Documente Academic
Documente Profesional
Documente Cultură
1
Agenda
• What is HA
• Compute HA
• Controller HA
• Corosync, Pacemaker and DRBD
• Galera
• HAProxy, keepalived, VRRP
• Stateful services
– An action typically comprises multiple requests
– For example: MySQL, RabbitMQ, etc.
• Active/Active
– Redundant instances of stateless services are load balanced
– Stateful services are managed in such a way that services are redundant, and that all
instances have an identical state.
– Updates to one instance of a database would also update all other instances.
Evacuation
Evacuation
Traditional Cloud
• HAProxy
– Load Balancing and Proxying for HTTP and TCP Applications
– Works over multiple connections
– Used to load balance API services
• Keepalived
– Based on Linux Virtual Server (IPVS) kernel module to provide layer 4 Load Balancing
– Implements a set of checkers to check service status and to maintain health
– Leverage the VRRP Protocol to remap VIPS in event of failure
BOND
BOND
BOND
BOND
BOND
BOND
BOND
BOND
BOND
BOND
BOND
0
1
Controller Controller
Compute 1 Compute N Compute 1 Compute N
API Services API Services
G1 G11
API & Horizon API & Horizon G5 G15
G2 G12 G1
Cinder API Cinder API G6
6
Nova Scheduler Nova Scheduler G3 G7 G13 G17
Keystone Keystone G4 G14
Glance Glance
RabbitMQ RabbitMQ
KVM KVM KVM KVM
MYSQL MYSQL .… .…
Chef Chef Availability Availability
Server Server Zone 1 Zone 2
Recipes Recipes
BOND
BOND
BOND
BOND
BOND
BOND
2
2
2
2
Storage
EMC, NetApp, or
Vols
Solidfire
22
Resources and Contact
Kenneth Hui
Open Cloud Architect
Rackspace
E-mail: ken.hui@rackspace.com
Twitter: @hui_kenneth
Blog: http://cloudarchitectmusings.com
RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN TH E UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM
26