[Cluster-devel] [fence-virt PATCH] backend plugin for Pacemaker

Lon Hohberger lhh at redhat.com
Wed Oct 26 00:54:05 UTC 2011


On 09/20/2011 03:40 AM, Kazunori INOUE wrote:
> Hi,
> 
> I created the backend "pm-fence" which has met the following
> configurations / requirements.
> - Both hosts and VMs, cluster (Pacemaker) have been configured.
>    * This backend has STONITH (fencing) function of the VM cluster.
> - The VMs are managed as resources (RA is VirtualDomain) by the host cluster.
>    * In this configuration, in order to stop a VM,
>      it is necessary to stop the resource through the host cluster.
>      When the VM was stopped without through the host cluster
>      (e.g., run the 'virsh destory'), the host cluster considers that
>      VM resource failed.
> 

This patch is good, but the server/Makefile.in needs to use pkg-config
--cflags / --libs glib-2.0 rather than static definitions.  I have
included an updated patch.

Otherwise, I do like this patch quite a lot.

The only question I had is why there needs to be an external STONITH
plugin; I was of the impression that fence_virt and fence_xvm work out
of the box with Pacemaker 1.1.x.  That doesn't affect this particular
patch, as far as I can tell (it looks like just a glue wrapper between
pacemaker and fence_virt itself).

-- Lon
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-backend-plugin-for-Pacemaker.patch
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20111025/90d12774/attachment.ksh>


More information about the Cluster-devel mailing list