<p dir="ltr">Using nova reboot --hard uuid has a better chance of working than nova start. This should bring back everything but volumes. There are a couple if bugfixes being back ported to stable folsom. When those are in it should reconnect everything for you.</p>
<div class="gmail_quote">On Nov 5, 2012 1:57 AM, "gtt116" <<a href="mailto:gtt116@126.com">gtt116@126.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thomas, Thanks very much for your help!<br>
<br>
于 2012年11月05日 17:15, Thomas Kärgel 写道:<br>
> Hi gtt,<br>
><br>
> Am 05.11.2012 07:53, schrieb gtt116:<br>
>> Hi all,<br>
>><br>
>> Any way to rescure an instance when its host is dead.<br>
>> Although that teminate and boot a new one is a choice, but is there any<br>
>> way to keep the instance's fixed-ips, UUID, floating-ips, etc?<br>
> a few days ago i was also confronted with this requirement. Imho there<br>
> is only a manual way to do this at the current time.<br>
> To "resurrect" a instance on an other host you have to set it to state<br>
> "shutdown" in the database, change host value in database, define the<br>
> instance in new hypervisor and start it.<br>
><br>
> Perform the following steps:<br>
> -Try to have a look at a database-entries of an instance which you<br>
> stopped with "nova stop {instance-name}" and adjust necessary columns in<br>
> the entry of the instance to be resurrected. Look for table instances in<br>
> nova db. Then set the instance to be resurrected to the same state as<br>
> the stopped instance.<br>
> -Next change the host value in database of this instance to an available<br>
> host.<br>
> -Copy over the instance-files to the new host if you are not using<br>
> shared storage or whatever...<br>
> -Take action to define your instance in hypervisor. How to do this<br>
> depends on what type of hypervisor you are using.<br>
besides, we need to deal with the reassociate floating-ip and volumns.<br>
Hope someday openstack can do these jobs for us. 8-):-)<br>
> -Now you should be able to start your instance on the new host via "nova<br>
> start {instance-name}".<br>
><br>
><br>
> kind regards<br>
> Thomas<br>
><br>
><br>
><br>
<br>
<br>
--<br>
best regards,<br>
gtt<br>
<br>
<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">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>
</blockquote></div>