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

bin chen free2coder at gmail.com
Thu Oct 18 08:03:14 EDT 2012


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.?





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???

> 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
> *****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121018/126892a4/attachment-0002.html>


More information about the Pacemaker mailing list