[Pacemaker] stonith_admin --metadata --agent fence_pcmk " output "Command failed: Invalid argument (Andrew Beekhof)

Andrew Beekhof andrew at beekhof.net
Thu Oct 18 20:57:13 UTC 2012


On Thu, Oct 18, 2012 at 11:03 PM, bin chen <free2coder at gmail.com> wrote:

> I`m sorry ,I just don`t know how to reply~~ : )
>
>> On Thu, Oct 18, 2012 at 6:56 PM, bin chen <free2coder at gmail.com> wrote:
>> > Hi ,all,
>> > I use stonith_admin --list-installed to check how many fence_agents :
>> >  fence_pcmk
>> >  fence_legacy
>>
>> Try installing the fence-agents package.
>
> Well,how to install a fence-agents package.?
>

Same way you installed pacemaker perhaps?


>
>
>
>
>
> Neither  of these should be configured directly in pacemaker.
>>
>> I will go and fix the metadata for them now though.
>>
> I have solve the incorrect output by using pacemaker 1.1.8 instead of
> pacemaker 1.1.7
>
>>
>> >  fence_fronware
>>
>> I don't know this agent. Where did it come from?
>>
> It's a soft fence-agent I wrote. It acts as if it is a real fence device
> fence agent.It can reboot a node when I commond "crm node fence nodeid".But
> it is too hard for me to complish it. Is there something like ocf resource
> agent developer`s guid to stonith type resource???
>


I dont think so.  Just  https://fedorahosted.org/cluster/wiki/FenceAgentAPI


>   Possibly the metadata is incomplete or the metadata action not
>> implemented.
>
>
>> > The I want check the metadata of fence_pcmk to find out the parameters
>> > associated with the fence device:
>> > stonith_admin --metadata --agent fence_pcmk
>> > Command failed: Invalid argument
>> > I run the commond with fence_legacy,fence_fronware ,I get the same
>> output.
>> > why?Any help will be appreciate.
>> > _______________________________________________
>> > 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
>>
>>
>> End of Pacemaker Digest, Vol 59, Issue 49
>> *****************************************
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121019/2eaaf32b/attachment.htm>


More information about the Pacemaker mailing list