Openstack 高可靠部署方案
根據服務自身狀況,HA 分為 Active/Active 和 Active/Passive 兩種
Active/Active: 適合於 stateless/stateful 服務,常用 load balance + keepalive(VIP) 配置 HA
Active/Passive: 適用於 stateful 服務,常用 load balance + keepalive(VIP) + pacemaker + Corosync 配置 HA
Openstack HA 實現
Openstack scheduler(Active/Active):
nova-scheduler, nova-conductor, nova-consoleauth, nova-novncproxy, ceilometer-collector, cinder-scheduler。
均為 stateless 服務,恰當的配置與 AMQP server 連線引數即可
Network:
1. neutron DHCP agent(Active/Passive)
2. neutron L3 agent(Active/Passive)
3. neutron metadata agent(Active/Passive)
以上三者均由 Pacemaker + Corosync 配置
http://docs.openstack.org/high-availability-guide/content/ch-network.html