OpenStack Control Plane High Availability

11
OpenStack Control Plane High Availability Michael Solberg Principal Architect, Red Hat November 20th, 2014

description

Presentation I gave to the Atlanta OpenStack Meetup on November 20th on Control Plane high availability for OpenStack.

Transcript of OpenStack Control Plane High Availability

Page 1: OpenStack Control Plane High Availability

OpenStack

Control Plane High Availability

Michael SolbergPrincipal Architect, Red HatNovember 20th, 2014

Page 2: OpenStack Control Plane High Availability

H/A Architecture

Page 3: OpenStack Control Plane High Availability

Control Plane Cluster

Page 4: OpenStack Control Plane High Availability

Active/Passive Service Architecture

Page 5: OpenStack Control Plane High Availability

Active/Passive Service Architecture

Page 6: OpenStack Control Plane High Availability

Load Balanced Clone Set Architecture

Page 7: OpenStack Control Plane High Availability

Load Balanced Clone Set Architecture

Page 8: OpenStack Control Plane High Availability

Infrastructure H/A Notes

RabbitMQ● Configured to use active/active mirrored queues.● Incoming requests are load balanced round robin at layer 4 by HAProxy.

Memcached● Services which leverage memcached (Horizon, Swift) only use a local instance.

HAProxy● Run as a clone set across the Cloud Controller cluster.● All nodes are configured to balance all services - Active/Hot Standby configuration.● VIPs are managed as H/A resources by Pacemaker.

Page 9: OpenStack Control Plane High Availability

Infrastructure H/A Notes

Keystone● API Services are Active/Active behind HAProxy.● PKI Infrastructure (CA, etc) is manually synced between nodes at installation.

Glance● API Services are Active/Active behind HAProxy.● Backend Image Store is provide by shared storage (HA).

Cinder● API and Scheduler services are Active/Active behind HAProxy.● Volume Services are managed by the Scheduler service.

Page 10: OpenStack Control Plane High Availability

Infrastructure H/A Notes

Swift● Proxy Service is Active/Active behind HAProxy.● Object Expirer runs Active/Passive● Availability of Object, Container, and Account services is managed by the Proxy service.● Replication is configured when the Ring is created/modified.

Neutron● API Services are Active/Active behind HAProxy.● Availability of Agent services is managed by API service - plugin dependent.

Nova● API, Metadata, and VNC Services are Active/Active behind HAProxy.● Availability of Nova Compute services is managed by Scheduler service.

Page 11: OpenStack Control Plane High Availability

Infrastructure H/A Notes

Horizon● HTTP service are not managed by Pacemaker.● HAProxy performs Layer 7 load balancing for this service.

Heat● API, CloudFormation, and CloudWatch services run Active/Active behind HAProxy.● Engine service is Active/Passive.

Ceilometer● API and Collector services run Active/Active behind HAProxy.● Central Agent runs Active/Passive.● Compute Agents run on the Compute Nodes● Mongo Database is configured with replicas across the cluster (no sharding).