On no! Sorry about the misunderstanding Andrew. What I meant was, we would like to build a production pacemaker VM cluster. An now with pci passthrough, is it possible for VMs to use the stonith device installed on the host. If not, is lib-virt and fence_virsh safe enough for production?
Another question is, which of the virtual machine platforms out there play nicer with a pacemaker cluster (i.e. support things like stonith): KVM, XEN, or VMWare. Thanks in Advance, Nick. On Wed, Oct 5, 2011 at 11:07 PM, Andrew Beekhof <and...@beekhof.net> wrote: > On Wed, Oct 5, 2011 at 11:49 PM, Nick Khamis <sym...@gmail.com> wrote: >> Is there any way of getting the stonith device that is installed on >> the host running on the guests? This is for a planned >> production application. > > You want VMs to be able to take physical machines (hosting potentially > many VMs) offline? > >> >> Nick. >> >> On Wed, Oct 5, 2011 at 7:29 AM, Max Williams <max.willi...@betfair.com> >> wrote: >>> I have, using fence_virsh. Here is my config for one fence device mapped to >>> one node: >>> primitive fence_cluster2.test stonith:fence_virsh params >>> ipaddr="192.168.100.1" action="reboot" login="root" passwd="password" >>> port="cluster-test-2" pcmk_host_list="cluster2.test" >>> pcmk_host_check="static-list" pcmk_host_map="" >>> >>> Hope that helps! >>> Max >>> >>> -----Original Message----- >>> From: Nick Khamis [mailto:sym...@gmail.com] >>> Sent: 05 October 2011 00:05 >>> To: The Pacemaker cluster resource manager >>> Subject: [Pacemaker] Stonith Device on a VM >>> >>> Hello Everyone, >>> >>> I was wondering if anyone has been able to get stonith working on a VMs? If >>> so, what did your setup look like (hardware, software)? >>> >>> Thanks in Advance, >>> >>> Nick >>> >>> _______________________________________________ >>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org >>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >>> >>> Project Home: http://www.clusterlabs.org Getting started: >>> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >>> Bugs: >>> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker >>> >>> ________________________________________________________________________ >>> In order to protect our email recipients, Betfair Group use SkyScan from >>> MessageLabs to scan all Incoming and Outgoing mail for viruses. >>> >>> ________________________________________________________________________ >>> >>> _______________________________________________ >>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org >>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >>> >>> Project Home: http://www.clusterlabs.org >>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >>> Bugs: >>> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker >>> >> >> _______________________________________________ >> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >> >> Project Home: http://www.clusterlabs.org >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: >> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker >> > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker