yes, I do the same steps with Razique.<br><br><div class="gmail_quote">2012/3/12 Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">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" target="_blank">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><div class="im"><br><div>
<span style="font-family:Helvetica"><span style="font-family:Helvetica"><b style="color:rgb(19,112,138)">Nuage & Co - Razique Mahroua</b></span><span style="color:rgb(19,112,138);font-family:Helvetica"><b> </b></span><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">
<font color="#13708a"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></font></div></span><br></span><span><img height="125" width="125"></span>
</span></span></div>
<br></div><div><div>Le 12 mars 2012 à 15:38, David Kranz a écrit :</div><div><div class="h5"><br><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" target="_blank">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 <<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>>:<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"><a href="https://review.openstack.org/#change,5177" target="_blank">https://review.openstack.org/#change,5177</a><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: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br></blockquote></blockquote><blockquote type="cite">
<blockquote type="cite">Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
</blockquote></blockquote><blockquote type="cite"><blockquote type="cite">More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><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: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
</blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br></blockquote></blockquote><blockquote type="cite">
<blockquote type="cite">Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
</blockquote><blockquote type="cite">Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br></blockquote><blockquote type="cite">Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
</blockquote><blockquote type="cite">More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br></blockquote><br><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></blockquote></div></div></div><br></div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>非淡薄无以明志,非宁静无以致远<br>