[Pacemaker] Dual-Primary DRBD with OCFS2 on SLES 11 SP1

Vladislav Bogdanov bubble at hoster-ok.com
Mon Oct 3 15:39:39 EDT 2011


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fence-virt-0.2.1-libvirt-qpid-destroy-instead-of-status.patch
Type: text/x-patch
Size: 536 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111003/68376216/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fence-virt-0.2.1-libvirt-qpid-status-parsed-incorrectly.patch
Type: text/x-patch
Size: 1046 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111003/68376216/attachment-0007.bin>


More information about the Pacemaker mailing list