openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #15045
Re: VM High Availability and Floating IP
On 07/24/2012 04:29 AM, Alessandro Tagliapietra wrote:
> Hi guys,
>
> i've 2 missing pieces in my HA openstack install. Actually all openstack
> services are managed by pacemaker and i can succesfully start/stop vm
> etc. when the cloud controller is down (i've only 2 servers atm).
>
> 1 - how can i make a VM HA? Actually live-migration works fine, but if a
> host goes down, how can i restart the vm on the other host? Should i
> edit the 'host' column in the db and issue the restart of the vm? Any
> other way?
Check out that HEAT API:
https://github.com/heat-api/heat/wiki/
> 2 - i've the servers hosted at Hetzner, for floating ip we've bought
> failover ip which are assigned to each host and can be changed via the
> api. So i have to make sure that if vm is on host1, floating ip
> associated to the vm is routed to host1. My idea was to run a job that
> checks the floating ip already associated to any vm, then queries the vm
> info, checks on which host it's running and if it's different from the
> other check, calls the hetzner api to switch the ip to the other server.
> Any other idea?
See above :)
Best,
-jay
> Thanks in advance
>
> Best Regards
>
> --
> Alessandro Tagliapietra | VISup srl
> piazza 4 novembre 7
> 20124 Milano
>
> http://www.visup.it
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References