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

Hutson Betts hut101 at tamu.edu
Thu Dec 22 14:10:42 PST 2011


So there are conditions in which a VM becomes un-recoverable without
permanent data loss. Hmm...

Well, hopefully the VM life-cycle can be modified to support restarts
with disk image persistence (Persistence in the $VMID folder, NOT the
image repository), and extend it to OCCI.

-- 
Hutson Betts
Computer Science and Engineering
Texas A&M University


On Thu, 2011-12-22 at 23:04 +0100, richard -rw- weinberger wrote:
> On Thu, Dec 22, 2011 at 7:35 PM, Hutson Betts <hut101 at tamu.edu> wrote:
> > To force a hypervisor-level restart, the following command should
> > suffice:
> > onevm restart [VMID]
> >
> > As per the documentation:
> > "restart: Forces the hypervisor boot action of a VM stuck in UNKNOWN or
> > BOOT state."
> 
> This won't work.
> It can happen that a VM crashes and neither OpenNebula nor the
> hyperviser will detect the crash.
> Thus, the state will alway be "RUNNING".
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111222/d95dad50/attachment-0003.pgp>


More information about the Users mailing list