From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lon Hohberger Date: Tue, 25 Oct 2011 20:54:05 -0400 Subject: [Cluster-devel] [fence-virt PATCH] backend plugin for Pacemaker In-Reply-To: <4E784368.5010407@intellilink.co.jp> References: <4E784368.5010407@intellilink.co.jp> Message-ID: <4EA75A2D.8060304@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: