[Pacemaker] Stonith Device on a VM

Nick Khamis symack at gmail.com
Thu Oct 6 07:53:47 EDT 2011


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 <andrew at beekhof.net> wrote:
> On Wed, Oct 5, 2011 at 11:49 PM, Nick Khamis <symack at 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.Williams at 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:symack at 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 at 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 at 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 at 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 at 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
>




More information about the Pacemaker mailing list