Vladislav, Thank you so much for your response! Just when I though I hit a wall. Perfect timing. Actually, I was thinking about setting up a Pacemaker VM Cluster for production. The only problem I foresee is stonith. I am not sure if virt is fit for production?
Nick. On Mon, Oct 3, 2011 at 3:39 PM, Vladislav Bogdanov <bub...@hoster-ok.com> wrote: > Hi, > > 29.09.2011 17:47, Nick Khamis wrote: >> Hello Dejan, >> >> Sorry to hijack, I am also working on the same type of setup as a prototype. >> What is the best way to get stonith included for VM setups? Maybe an >> SSH stonith? >> Again, this is just for the prototype. > > You may look at fence-virt. > I use fence-virtd-libvirt-qpid (with two my patches which fix grave > bugs, names of patches say for themselves) and fence_xvm. > It's still not ideal (f.e. it does not work if several hosts know one > VM), but it may work well under some circumstances: > * You set up qpid server > * You run fence_virtd on every host and publish libvirtd data on that > qpid server > * You ensure that only one host has any VM listed in qpid (read: in > virsh list). F.e you unconditionally use virsh undefine after vm is stopped. > * You fix its bugs (at least with my patches) > > Patches are attached. > > Best, > Vladislav > > P.S. Patches could be also interesting for fence-virt author if he reads > this list. It would be great if somebody point him to them otherwise. > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker