<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I explained in the doc how I deal with disasters - basically, a magic solution doesn't exist- nova not being environment-aware.<div><a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/nova-disaster-recovery-process.html">http://docs.openstack.org/trunk/openstack-compute/admin/content/nova-disaster-recovery-process.html</a></div><div>Regarding the flag, you can safely use it when your instances usage doesn't imply the nova-volume usage, that one making every hypervisor dependant to the iscsi sessions. Which are quite a pain, but necessary in that current implementation.</div><div><br></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co - Razique Mahroua</b></span><span class="Apple-style-span" style="color: rgb(19, 112, 138); font-family: Helvetica; "><b> </b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div></span><br class="Apple-interchange-newline"><span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="color: rgb(0, 0, 0); font-weight: normal; "></span></span><span><img height="125" width="125" id="d56b783b-7095-4a2f-9701-17cd808df9d0" apple-width="yes" apple-height="yes" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span>
</span></span></div>
<br><div><div>Le 12 mars 2012 à 15:38, David Kranz a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>A while back I saw a comment about this in<br><a href="http://mirantis.blogspot.com/2011/06/openstack-nova-basic-disaster-recovery.html">http://mirantis.blogspot.com/2011/06/openstack-nova-basic-disaster-recovery.html</a><br>which suggests that setting these flags may not always be a good idea.<br>If this is what should be done, why are these flags false by default?<br>Perhaps a nova expert can comment.<br><br>More generally, I haven't seen much documentation in nova about how to<br>deal with various failure scenarios. There is a lot more information<br>about this for Swift and there were some sessions at the last design<br>summit that provided a lot of useful information about the mechanics of<br>operating a real Swift cluster. I think such a session for nova at the<br>upcoming summit would be very useful as well.<br><br>-David<br><br><br><br>On 3/12/2012 10:14 AM, Christian Wittwer wrote:<br><blockquote type="cite">You can let nova-compute start the instances after a host reboot.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--start_guests_on_host_boot<br></blockquote><blockquote type="cite">--resume_guests_state_on_host_boot<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">2012/3/10 Vishvananda Ishaya <vishvananda@gmail.com>:<br></blockquote><blockquote type="cite"><blockquote type="cite">I think that this branch should make reboot work:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">https://review.openstack.org/#change,5177<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">It looks like we should also make sync_power_states run more frequently. It<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">currently runs every 6 minutes by default.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Mar 8, 2012, at 6:27 PM, DeadSun wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">As we all know, if host reboot since of some failure or hardware problem,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the vms will actually shutoff. But after host up, info in nova db show vm<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">state are "active", and using "nova list" return the same.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Now how to start the vms. In Daiblo, I always just using "nova reboot", it<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">works.But in essex version, it seems cannot use "nova reboot" in an inactive<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">domain. I see there is "nova host-action" command, but it not always make vm<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">start.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Another way, I can use "virsh start" a domain, but if the vm attach a<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">volume, it doesn't work. "nova volume-detach" cannot detach a volume in an<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">inactive domain.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Is there a normal way to resolve this case?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">非淡薄无以明志,非宁静无以致远<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Mailing list: https://launchpad.net/~openstack<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Post to : openstack@lists.launchpad.net<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Unsubscribe : https://launchpad.net/~openstack<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">More help : https://help.launchpad.net/ListHelp<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Mailing list: https://launchpad.net/~openstack<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Post to : openstack@lists.launchpad.net<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Unsubscribe : https://launchpad.net/~openstack<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">More help : https://help.launchpad.net/ListHelp<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Mailing list: https://launchpad.net/~openstack<br></blockquote><blockquote type="cite">Post to : openstack@lists.launchpad.net<br></blockquote><blockquote type="cite">Unsubscribe : https://launchpad.net/~openstack<br></blockquote><blockquote type="cite">More help : https://help.launchpad.net/ListHelp<br></blockquote><br><br>_______________________________________________<br>Mailing list: https://launchpad.net/~openstack<br>Post to : openstack@lists.launchpad.net<br>Unsubscribe : https://launchpad.net/~openstack<br>More help : https://help.launchpad.net/ListHelp<br></div></blockquote></div><br></div></body></html>