Re: [Openstack] How to do when the compute-node is failed.

2012-12-28 Thread Lei Zhang
Hi all, I found this article http://www.mirantis.com/blog/openstack-nova-basic-disaster-recovery/ and it is very useful. On Fri, Dec 28, 2012 at 10:17 AM, Lei Zhang zhang.lei@gmail.com wrote: Got it. Thank all of you. On Fri, Dec 28, 2012 at 2:02 AM, Vishvananda Ishaya

Re: [Openstack] How to do when the compute-node is failed.

2012-12-28 Thread JuanFra Rodriguez Cardoso
@Lei, it's a great article from Mirantis folks. Thanks for sharing it! @Vis @Yaguang, I didn't know what flag is working currently. Both in folsom as in trunk doc, both flags appear. I understand --start_guests_on_host_boot will be removed from list of config options in docs. Thanks for your

Re: [Openstack] How to do when the compute-node is failed.

2012-12-28 Thread Lei Zhang
@JuanFra this flag resume_guests_state_on_host_boot=true is work . I tested it today on Folsom release. On Fri, Dec 28, 2012 at 6:24 PM, JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com wrote: @Lei, it's a great article from Mirantis folks. Thanks for sharing it! @Vis @Yaguang,

Re: [Openstack] How to do when the compute-node is failed.

2012-12-28 Thread JuanFra Rodriguez Cardoso
Nice! Thanks for feedback! As Vish and Yaguang mentioned, currently the only flag to get instances to come back is that. JuanFra. 2012/12/28 Lei Zhang zhang.lei@gmail.com @JuanFra this flag resume_guests_state_on_host_boot=true is work . I tested it today on Folsom release. On Fri,

Re: [Openstack] How to do when the compute-node is failed.

2012-12-27 Thread Razique Mahroua
Beware of those flags though, since everytime you restart the nova-compute service, the running instances on it also reboot.For an autostart though $virsh autostart $domain would work.As for the auto-migration, that feature is not implemented actuallyRegards, Razique Mahroua-Nuage

Re: [Openstack] How to do when the compute-node is failed.

2012-12-27 Thread heut2008
note that the flag --start_guests_on_host_boot=true has been removed in the latest trunk code.so instances which are running willn't be restarted even the nova-compute is restarted . 2012/12/27 Razique Mahroua razique.mahr...@gmail.com Beware of those flags though, since everytime you restart

Re: [Openstack] How to do when the compute-node is failed.

2012-12-27 Thread Vishvananda Ishaya
On Dec 27, 2012, at 9:09 AM, heut2008 heut2...@gmail.com wrote: note that the flag --start_guests_on_host_boot=true has been removed in the latest trunk code.so instances which are running willn't be restarted even the nova-compute is restarted . Correct. The proper way to get instances

Re: [Openstack] How to do when the compute-node is failed.

2012-12-27 Thread Lei Zhang
Got it. Thank all of you. On Fri, Dec 28, 2012 at 2:02 AM, Vishvananda Ishaya vishvana...@gmail.comwrote: On Dec 27, 2012, at 9:09 AM, heut2008 heut2...@gmail.com wrote: note that the flag --start_guests_on_host_boot=true has been removed in the latest trunk code.so instances which are

[Openstack] How to do when the compute-node is failed.

2012-12-25 Thread Lei Zhang
Hi all, I am confused about how to do when the compute node is failed. For example, if the compute node reboot. I found the VMs on it didn't startup automatically. I must reboot the VMs manually. Is there any way to keep the HA? In a bad situation, what should do if the node is crashed? How to