Could you tell me how to<span style> force a </span><span style>hypervisor-level restart</span> ?<br><br><div class="gmail_quote">2011/12/22 Hutson Betts <span dir="ltr"><<a href="mailto:hut101@tamu.edu">hut101@tamu.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, the SHUTDOWN command, for both OCCI and ONE, is equivalent to<br>
pressing the power button on a computer, and once it's off, taking the<br>
hard drive and smashing it with a hammer.<br>
<br>
SHUTDOWN deletes the disk image, and transitions the VM to the DONE<br>
state. I would like to keep a VM, and it's files around, after I've<br>
issued a shutdown command.<br>
<br>
It's only after requesting DELETE that I would want the VM to be<br>
completely removed.<br>
<br>
As for the restart, you are correct. You can only force a<br>
hypervisor-level restart if the VM is in either the BOOT state or<br>
UNKNOWN state.<br>
<div class="im HOEnZb"><br>
--<br>
Hutson Betts<br>
Computer Science and Engineering<br>
Texas A&M University<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">On Thu, 2011-12-22 at 12:10 +0800, cat fa wrote:<br>
> There is an equivalent to a power button(SHUTDOWN), but there is no<br>
> equivalent to a reset button.<br>
><br>
> 2011/12/22 Hutson Betts <<a href="mailto:hut101@tamu.edu">hut101@tamu.edu</a>><br>
><br>
> > Wait, this implies that there is no equivalent to a power button or<br>
> > reset button on the front of a computer? Wouldn't this should be a<br>
> > necessity of every VM management tool.<br>
> ><br>
> > As it stands, I can suspend/resume VMs, or I can (shutdown|cancel) VMs<br>
> > into a deleted state. However, there is no way to shutdown (Analogous to<br>
> > powered-off) a VM (External to the VM) and resume it later without loss<br>
> > of data.<br>
> ><br>
> > In:<br>
> > <a href="http://opennebula.org/_detail/documentation:rel3.0:states-complete.png" target="_blank">http://opennebula.org/_detail/documentation:rel3.0:states-complete.png</a><br>
> > There should probably be a (restart) from [running] -> [boot].<br>
> > Probably would be a hard-reset.<br>
> ><br>
> ><br>
> > --<br>
> > Hutson Betts<br>
> > Computer Science and Engineering<br>
> > Texas A&M University<br>
> ><br>
> ><br>
> > On Wed, 2011-12-21 at 12:42 +0100, richard -rw- weinberger wrote:<br>
> > > 2011/12/20 Carlos Martín Sánchez <<a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a>>:<br>
> > > > Hi,<br>
> > > ><br>
> > > > You can use the 'onevm restart' command, see [1] for more information<br>
> > on the<br>
> > > > VM life-cycle.<br>
> > > ><br>
> > ><br>
> > > As cat fa already pointed out this is not going to work.<br>
> > > A reset command would be really nice to have.<br>
> > ><br>
> > > Reset should remove the virtual machine from the hyperviser and<br>
> > > restart it without<br>
> > > removing and recreating it in OpenNebula.<br>
> > ><br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> > <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
> ><br>
> ><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>