标签:keepalived
# keepalived实现instance high available(Neutron flat网络模式下) [root@openstack-1 ~(keystone_admin)]# neutron net-list (找出pub-net的id号) [root@openstack-1 ~(keystone_admin)]# neutron port-list --netework_id=54f5ea9b-5d05-42e3-995f-c00e6824be25(这个id就是pub-net的id) 查看这个网络下的所有port信息 [root@openstack-1 ~(keystone_admin)]# neutron port-create --fixed-ip ip_address=202.106.179.130(虚拟ip地址) --security-group default pub-net 创建keepalived的vip [root@openstack-1 ~(keystone_admin)]# neutron port-update fee2f24e-87a1-4e23-b60b-8d4a33f9257f(这个id是web2的port id) --allowed_address_pairs list=true type=dict ip_address=202.106.179.130 [root@openstack-1 ~(keystone_admin)]# neutron port-update 4082ae4a-5af6-43ea-9370-fa493fb9ad67(这个id是web1的port id) --allowed_address_pairs list=true type=dict ip_address=202.106.179.130 (这个ip地址就可以被keepavlied当作vip用了) [root@openstack-1 ~(keystone_admin)]# neutron port-show 4082ae4a-5af6-43ea-9370-fa493fb9ad67 查看信息
参考链接:http://blog.aaronorosen.com/implementing-high-availability-instances-with-neutron-using-vrrp/
本文出自 “the-way-to-cloud” 博客,请务必保留此出处http://iceyao.blog.51cto.com/9426658/1678949
Neutron - keepalived + allow_address_pairs实现虚拟机高可用
标签:keepalived
原文地址:http://iceyao.blog.51cto.com/9426658/1678949