[Pacemaker] Stonith Device on a VM
Andrew Beekhof
andrew at beekhof.net
Thu Oct 6 22:10:51 UTC 2011
On Thu, Oct 6, 2011 at 10:53 PM, Nick Khamis <symack at gmail.com> wrote:
> 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.
I've never heard of it, but it sounds pretty cool if you can get it to work.
> If not, is
> lib-virt and fence_virsh
> safe enough for production?
I think no to fence_virsh, but yes to fence_virt/fence_xvm.
>
> 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.
I use KVM pretty extensively, but I think SUSE uses Xen. Either is
probably fine.
>
> 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
>>
>
> _______________________________________________
> 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