简体   繁体   中英

OpenStack Floating ip assoicated to virtual ip

I am trying to perform a POC, I have configured a virtual ip ( implemented by keepalived) that will be moving from vm1 to vm2 in case vm1 in not avilbale.

Details:
vm1 - 10.0.0.1(internal), 192.168.10.10(floating ip)
vm1 - 10.0.0.2(internal), 192.168.10.11(floating ip)
vip - 10.0.0.110(virtual ip -internal)
vipEXT - 192.168.10.13(virtual ip -floating)

The internal part is working fine, I followed the instruction and was able to make the vip-10.0.0.110 address to migrate from vm1 to vm2 in case vm1 fails,
I have created a floating ip with 192.168.10.13 address and assoicated with the vip port but still cant access to vip(10.0.0.110) from vipEXT(192.168.10.13).
The status of the of this floating ip is Down,

Do you have any sugestions?

浮动IP状态

I was able to solve it by following this blog:
[ https://blog.codecentric.de/en/2016/11/highly-available-vips-openstack-vmsrrp

This setup was working only after I created a new Router using the '--centralized' flag instead the '--distributed' that come as default in my case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM