OpenStack High Availability
Guide
January 6, 2015 current
iii
Table of Contents
Preface ............................................................................................................................ v
Conventions ............................................................................................................ v
Document change history ........................................................................................ v
1. Introduction to OpenStack High Availability ................................................................ 1
Stateless vs. Stateful services ................................................................................... 2
Active/Passive .......................................................................................................... 2
Active/Active ........................................................................................................... 2
I. HA using active/passive ................................................................................................ 4
2. The Pacemaker cluster stack ................................................................................ 6
Install packages ............................................................................................... 6
Set up Corosync .............................................................................................. 6
Starting Corosync ............................................................................................ 9
Start Pacemaker .............................................................................................. 9
Set basic cluster properties ............................................................................ 10
3. Cloud controller cluster stack ............................................................................. 11
Highly available MySQL ................................................................................. 11
Highly available RabbitMQ ............................................................................ 14
4. API node cluster stack ....................................................................................... 18
Configure the VIP .......................................................................................... 18
Highly available OpenStack Identity ............................................................... 18
Highly available OpenStack Image API ........................................................... 20
Highly available Block Storage API ................................................................. 22
Highly available OpenStack Networking server .............................................. 23
Highly available Telemetry central agent ....................................................... 25
Configure Pacemaker group .......................................................................... 26
5. Network controller cluster stack ........................................................................ 27
Highly available neutron L3 agent ................................................................. 27
Highly available neutron DHCP agent ............................................................ 28
Highly available neutron metadata agent ...................................................... 29
Manage network resources ........................................................................... 29
II. HA using active/active ............................................................................................... 30
6. Database ........................................................................................................... 32
MySQL with Galera ....................................................................................... 32
7. RabbitMQ ......................................................................................................... 36
Install RabbitMQ ........................................................................................... 36
Configure RabbitMQ ..................................................................................... 37
Configure OpenStack services to use RabbitMQ ............................................. 38
8. HAProxy nodes .................................................................................................. 40
9. OpenStack controller nodes ............................................................................... 43
Run OpenStack API and schedulers ................................................................ 43
Memcached ................................................................................................... 44
10. OpenStack network nodes ............................................................................... 45
Run neutron DHCP agent .............................................................................. 45
Run neutron L3 agent ................................................................................... 45
Run neutron metadata agent ........................................................................ 45
Run neutron LBaaS agent .............................................................................. 46
A. Community support .................................................................................................. 47
Documentation ..................................................................................................... 47
评论1
最新资源