Ask Your Question

Openstack instances High-availability

asked 2015-03-08 03:54:45 -0500

Kamil Babayev gravatar image

I am very interested with OpenStack instances (VMs that created from horizon). Long time I am investigating it but could not find right design and answer.It seems OpenStack lacks this feature ? If compute node that instance created failed. it means all VMs will fail and I must manually start them on another host. Why we do not have built in failover feature automatically failover instances to another host . Is it possible to do this built-in with openstack. PLease clarify this for mr Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-08 11:48:48 -0500

This is available if you use vSphere as a hypervisor for Openstack.

Otherwise you can write your own automation to detect when a HV fails and restart the instances on another HV. Shared storage will be required between compute nodes to make this happen.

Openstack has an evacuate feature:

Evacuate instances

If a cloud compute node fails due to a hardware malfunction or another reason, you can evacuate instances to make them available again. You can optionally include the target host on the evacuate command. If you omit the host, the scheduler determines the target host.

To preserve user data on server disk, you must configure shared storage on the target host. Also, you must validate that the current VM host is down; otherwise, the evacuation fails with an error.

edit flag offensive delete link more


Thanks for reply. We want to avoid vmware, becos expensive and it possible to achieve this with xen hypervisor ? As I know it has built-in HA as vmware.

Kamil Babayev gravatar imageKamil Babayev ( 2015-03-08 14:09:14 -0500 )edit

Dont know about Xen. Sorry. Either use VMware or write your own using nova evacuate .

sfcloudman gravatar imagesfcloudman ( 2015-03-08 15:37:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-03-08 03:54:45 -0500

Seen: 1,165 times

Last updated: Mar 08 '15