[Pacemaker] Fence device 'pcmk' not found and rhel6 arhitecture

Andrew Beekhof andrew at beekhof.net
Thu Jan 17 03:12:49 UTC 2013


On Sat, Jan 12, 2013 at 9:07 AM, Donna Livingstone
<donna.livingstone at shaw.ca> wrote:
>
>  Andrew,
>
>  Thanks for the clarification - that worked !
>
>  So I now have two test setups, one with pacemaker/cman/corosync and
>  one with just pacemaker/corosync as described in the clusters from scratch
>  document.

Is that the one with the plugin?
Because the plugin is deprecated in RHEL and whenever you start it, it
prints a noisy ERROR saying it will be removed "soon".

> Which is the better architecture for a cluster I am installing mid year ?

If you're planning on using RHEL6 or a derivative...
pacemaker/cman/corosync. Without question.

>  From what I can see the cman setup does not allow for redundant corosync rings nor
>  crossover cables(ie https://access.redhat.com/knowledge/articles/40051 )

I suspect that document is out of date.  I believe you can specify
multiple interfaces in cluster.conf (somehow) and that turns on
redundant ring.

> while
>  pacemaker/corosync does not have this restriction. For a simple two-node drbd cluster
>  cman pacemaker/corosync(or heartbeat) looks like a better choice. Am I reading this
>  correctly ? Also from what I've read it looks like the official redhat clustering is
>  moving to pacemaker/corosync   ... when ?

Whenever they release RHEL7.

>
> Thanks
>
> David
>
>
>
>
> Message: 3
> Date: Wed, 9 Jan 2013 13:33:52 +1100
> From: Andrew Beekhof <andrew at beekhof.net>
> To: The Pacemaker cluster resource manager
>         <pacemaker at oss.clusterlabs.org>
> Subject: Re: [Pacemaker] Fence device 'pcmk' not found.
> Message-ID:
>         <CAEDLWG2BXDSeKKMmYDhBKzYY2V-8-MQWEEyygZTegHjv7Crv8Q at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, Jan 9, 2013 at 9:15 AM, Donna Livingstone
> <donna.livingstone at shaw.ca> wrote:
>>
>>   I am attempting to follow the quickstart-redhat.html guide from clusterlabs.org and have the following
>>   error returned when I execute the --addfenceinst command.
>>
>>   Specifically :
>>
>> [hatest1]# ccs -f /etc/cluster/cluster.conf --addfencedev pcmk-redirect agent=fence_pcmk
>> [hatest1]# ccs -f /etc/cluster/cluster.conf --addmethod pcmk-redirect hatest1
>> Method pcmk-redirect added to hatest1.
>> [hatest1]# ccs -f /etc/cluster/cluster.conf --addmethod pcmk-redirect hatest2
>> Method pcmk-redirect added to hatest2.
>> [hatest1]# ccs -f /etc/cluster/cluster.conf --addmethod pcmk-redirect nasedm1
>> Method pcmk-redirect added to nasedm1.
>> [hatest1]# ccs -f /etc/cluster/cluster.conf --addfenceinst pcmk hatest1 pcmk-redirect port=hatest1
>> Fence device 'pcmk' not found.
>> [hatest1]#
>>
>>  Is this syntax or am I missing a pkg ?
>
> I made a mistake. The line:
>
> [ONE] # ccs -f /etc/cluster/cluster.conf --addfencedev pcmk-redirect
> agent=fence_pcmk
>
> should have been
>
> [ONE] # ccs -f /etc/cluster/cluster.conf --addfencedev pcmk agent=fence_pcmk
>
> Sorry.
>
>>
>>  Running rhel 6.3 :
>>
>> [root at hatest1 /]# rpm -q pacemaker cman ccs resource-agents
>> pacemaker-1.1.7-6.el6.i686
>> cman-3.0.12.1-32.el6_3.2.i686
>> ccs-0.16.2-55.el6.i686
>> resource-agents-3.9.2-12.el6_3.1.i686
>> [root at hatest1 /]#
>>
>> Thanks
>>
>>
>> David Livingstone
>>
>> _______________________________________________
>> 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://bugs.clusterlabs.org
>
>
> _______________________________________________
> 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://bugs.clusterlabs.org




More information about the Pacemaker mailing list