[Pacemaker] Configure stonith device for kvm guests

carlopmart carlopmart at gmail.com
Fri Mar 26 19:05:25 UTC 2010


Lon Hohberger wrote:
> 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
> 

Thanks Lon but I am using fence_xvm from CentOS/RHEL cman package ... Fence-virt 
comes from Fedora, correct?? Can I use fence-virt under Centos/Rhel??

Thanks

-- 
CL Martinez
carlopmart {at} gmail {d0t} com




More information about the Pacemaker mailing list