From: Fabio M. Di Nitto Date: Mon, 04 May 2009 08:11:21 +0200 Subject: [Cluster-devel] Fencing Agent for Qemu In-Reply-To: <1241213002.9784.0.camel@home.localdomain> References: <1241213002.9784.0.camel@home.localdomain> Message-ID: <1241417481.442.96.camel@cerberus.int.fabbione.net> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Matthew, On Fri, 2009-05-01 at 22:23 +0100, Matthew Ife wrote: > I know there is a fencing agent for Xen but since Redhat have pretty > much dropped all support for Xen now its not very effective for me to > use it. Plus - I prefer KVM/Qemu. > > In order to save everyone else the effort, attached is a somewhat > restrictive qemu fencing agent. Its plainly not meant to be used for > production because the hypervisor connection is unauthenticated and > unencrypted. did you ever consider using fence_virsh or fence_xvm? They both support libvirt in F10 and higher and they use ssh and authenticated connections to the host system to perform their duties. I use fence_virsh myself without a problem. If there is a clear benefit to add fence_qemu compared to what's already in the tree, I am sure our fence agents guys can look at this implementation but I'd rather avoid to have in the tree a possible duplicate. Cheers Fabio