On Wed, Jul 13, 2011 at 09:08:30PM +0500, Ara Sadoyan wrote: > Thanks Daniel. > > Have you tried this?
No I haven't tried this. > I have dual master DRBS/OCFS2 and all I need is just to restart VM from > failed host on live one. > Something very similar to live-migrate as VM disc is located on DRBD volume > and is accessible from both hosts. > The only bad think in my scenario is that HOST_HOOK is deleting VM disc from > DRBD volume and creating new one from image. > Do you know away to run VM on second host without recreating it from image. > The Problem is that opennebula restarts the VM on another host. Maybe it is possible to say that the image is persistent. But I don't really know. Another way which came in my mind is that you create a "opennebula-host-cluster". Than means you create two Xenservers with one cluster-IP and shared storage. If one of them is down the clustersuite moves the IP to the other host. Opennebula only knows this IP for the node and the VM has an UNKNOWN state. If you are shure that the VM isn't running on the failed host (some sort of stonith), than you can just restart this VM with onevm. But it is only a theory. > Thanks in advance > Ara > > Daniel Roßbach <[email protected]> wrote: > > >On Wed, Jul 13, 2011 at 05:06:24PM +0500, Ara Sadoyan wrote: > >> Hi there > >> > >> Anyone achieved high availability for virtual machines with Opnnebula or > >> this > >> is something that is impossible ? > >> I have 2 hosts with DRBD and when one of hosts failed I have to recreate VM > >> with HOST_HOOK and loose running VM in spite of VM disk is OK. > >> Is there any way to use this disk and do not create new one from scratch ? > >> > >> Thanks > >> > > > >Maybe have a look at this: > >http://blog.opennebula.org/?p=1523 > > > >-- > >Daniel Rossbach > > > > > > > >_______________________________________________ > > > > > >Users mailing list > > > > > >[email protected] > > > > > >http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >_______________________________________________ > >Users mailing list > >[email protected] > >http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Rossbach _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
