[Pacemaker] stonith problems RHEL6

Andrew Beekhof andrew at beekhof.net
Tue Jan 18 14:23:14 EST 2011


On Tue, Jan 4, 2011 at 5:03 PM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> Hi,
>
> On Sun, Jan 02, 2011 at 03:05:58PM +0100, Jocke M wrote:
>> Hello,
>>
>> I just tested to setup a cluster (RHEL6) using "Clusters from Scratch" found
>> at
>> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Clusters_from_Scratch/
>>
>> Everything worked great and the cluster and all resources running fine.
>> When I came to the stonith section I found that the command "stonith" didn't
>> exits in the latest pacemaker release, found stonith_admin instead.
>> But what ever command I tested got me this output:
>>
>> [root at neo ~]# stonith_admin -l trinity
>> stonith_admin[18749]: 2011/01/02_15:01:59 info: crm_log_init_worker: Changed
>> active directory to /var/lib/heartbeat/cores/root
>> stonith_admin[18749]: 2011/01/02_15:01:59 notice: log_data_element:
>> st_callback: st_notify_disconnect <notify t="st_notify"
>> subt="st_notify_disconnect" />
>> [root at neo ~]# stonith_admin -L
>> stonith_admin[18750]: 2011/01/02_15:02:07 info: crm_log_init_worker: Changed
>> active directory to /var/lib/heartbeat/cores/root
>> stonith_admin[18750]: 2011/01/02_15:02:07 notice: log_data_element:
>> st_callback: st_notify_disconnect <notify t="st_notify"
>> subt="st_notify_disconnect" />
>>
>> I then tried to list all available stoniths, but the I got this
>> [root at neo ~]# crm ra list stonith
>> lrmadmin[18802]: 2011/01/02_15:03:46 ERROR: lrm_get_rsc_type_supported(412):
>> failed to receive a reply message of rtypes.
>>
>> Anyone have a clue whats can be wrong?

Seems odd, I'm pretty sure this worked.
However, if you want a list of agents, try:

   ls /usr/sbin/fence_*

That one is sure to work :-)

>
> The stonith(8) program is part of the cluster-glue package.

Not on rhel.  Heartbeat fencing agents are not supported.

> Perhaps you're missing that one? Otherwise, I'm not familiar
> with how is pacemaker packaged for RHEL.

I believe I've mentioned this part once or twice.

>
> Thanks,
>
> Dejan
>
>> / Jocke
>
>> _______________________________________________
>> 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