[Pacemaker] Configure stonith device for kvm guests
Lon Hohberger
lhh at redhat.com
Fri Mar 26 18:56:36 UTC 2010
On Fri, 2010-03-26 at 19:20 +0100, carlopmart wrote:
> Hi all,
>
> My kvm host is a Rhel5.4 fully patched. I have installed two centos5 i386 kvm
> guests with pacemaker/corosync (last version: 1.0.8).
>
> Which stonith device can I use as fence device for these guests?? I see in
> documentation that I need to use fence_virtd, but this fence device isn't supported
> under Rhel.
> Can I use fence_xvmd on kvm hostt like in RHCS??
Are you using one host or >1 ?
If you are using one host, you can run:
fence_xvmd -LXI virbr0
in the host OS. The fence_xvm agent from the fence-virt package (which
is a symlink to fence_virt) should talk to fence_xvmd.
Fence_xvm from RHEL/CentOS cman package will also work with fence_xvmd
(obviously), but will -not- work cleanly with Pacemaker due to lack of
metadata output and bad return codes.
If you are using multiple hosts, it gets a bit more complicated...
-- Lon
More information about the Pacemaker
mailing list