<br><br><div class="gmail_quote">2012/10/18  <span dir="ltr"><<a href="mailto:pacemaker-request@oss.clusterlabs.org" target="_blank">pacemaker-request@oss.clusterlabs.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send Pacemaker mailing list submissions to<br>
        <a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:pacemaker-request@oss.clusterlabs.org">pacemaker-request@oss.clusterlabs.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:pacemaker-owner@oss.clusterlabs.org">pacemaker-owner@oss.clusterlabs.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Pacemaker digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: stonith_admin --metadata --agent fence_pcmk " output<br>
      "Command failed: Invalid argument (Andrew Beekhof)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 18 Oct 2012 20:16:42 +1100<br>
From: Andrew Beekhof <<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>><br>
To: The Pacemaker cluster resource manager<br>
        <<a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a>><br>
Subject: Re: [Pacemaker] stonith_admin --metadata --agent fence_pcmk "<br>
        output "Command failed: Invalid argument<br>
Message-ID:<br>
        <CAEDLWG0_8UnC5=<a href="mailto:22L4bZZTRnLy9B4ZRvMqu%2Bi8mbp%2BS9%2BoSi6Q@mail.gmail.com">22L4bZZTRnLy9B4ZRvMqu+i8mbp+S9+oSi6Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Thu, Oct 18, 2012 at 6:56 PM, bin chen <<a href="mailto:free2coder@gmail.com">free2coder@gmail.com</a>> wrote:<br>
> Hi ,all,<br>
> I use stonith_admin --list-installed to check how many fence_agents :<br>
>  fence_pcmk<br>
>  fence_legacy<br>
<br>
Try installing the fence-agents package.</blockquote><div>Well,how to install a fence-agents package.? </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Neither  of these should be configured directly in pacemaker.<br>
<br>
I will go and fix the metadata for them now though.<br></blockquote><div>I have solve the incorrect output by using pacemaker 1.1.8 instead of pacemaker 1.1.7</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
>  fence_fronware<br>
<br>
I don't know this agent. Where did it come from?<br></blockquote><div>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???</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Possibly the metadata is incomplete or the metadata action not implemented. </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> The I want check the metadata of fence_pcmk to find out the parameters<br>
> associated with the fence device:<br>
> stonith_admin --metadata --agent fence_pcmk<br>
> Command failed: Invalid argument<br>
> I run the commond with fence_legacy,fence_fronware ,I get the same output.<br>
> why?Any help will be appreciate.<br>
> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
><br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
<br>
End of Pacemaker Digest, Vol 59, Issue 49<br>
*****************************************<br>
</blockquote></div><br>