[one-users] [Help] How to reboot a VM when the VM crashes?

cat fa boost.subscribing at gmail.com
Thu Dec 22 09:46:14 PST 2011


Could you tell me how to force a hypervisor-level restart ?

2011/12/22 Hutson Betts <hut101 at tamu.edu>

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


More information about the Users mailing list