Ask Your Question

High Availability of compute node's instances

asked 2014-08-27 23:20:33 -0500

Vidhyut gravatar image

My requirement is when a compute node fails due to some reason say power failure or something or an instance is not accessible to the user due to the network problem in compute node then those instances running on that compute node should come up with the same volumes on other compute nodes (in which physical resources are available). For Example we have given instances to the customers as IaaS only so highly availability is required for compute nodes so down time is very low and instances should come up automatically without any manual intervention. How can I achieved this in Openstack?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-10-04 23:01:23 -0500

jtaguinerd gravatar image


Just to share my implementation, but it's a sort of work-around. My instances are all boot from volume in Ceph (which is why it is easier for me to do this). I have a monitoring tool like Nagios that keeps track which compute nodes goes down. In then event that a compute node is detected as down, it will trigger a script to update the host field of the instance in mysql and then do a hard-reboot to recreate the xml file. Might I add also that I have 8 compute node. Only 7 are active and the 8th always act as the passive, taking over the responsibility of running the instances from the dead node.

Hope that helps.

edit flag offensive delete link more


As u mentioned it will trigger a script to update the host field of the instance in mysql ,how does it happen

Queen gravatar imageQueen ( 2015-02-20 12:25:12 -0500 )edit

How does work nagios with openstack.??

Queen gravatar imageQueen ( 2015-02-20 12:25:58 -0500 )edit

answered 2015-01-31 23:30:03 -0500

Bipin gravatar image

Is there any straight forward solution for this ? Like clustering the KVM (In our environment) using fencing where all the Virtual machines will be moved to clustered nodes when the current hypervisor is down. I had look for such a solution in openstack, but didnt hit anywhere

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-08-27 23:20:33 -0500

Seen: 382 times

Last updated: Jan 31 '15