<br><br><div class="gmail_quote">2012/10/18  <span dir="ltr">&lt;<a href="mailto:pacemaker-request@oss.clusterlabs.org" target="_blank">pacemaker-request@oss.clusterlabs.org</a>&gt;</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 &#39;help&#39; 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 &quot;Re: Contents of Pacemaker digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: stonith_admin --metadata --agent fence_pcmk &quot; output<br>
      &quot;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 &lt;<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>&gt;<br>
To: The Pacemaker cluster resource manager<br>
        &lt;<a href="mailto:pacemaker@oss.clusterlabs.org">pacemaker@oss.clusterlabs.org</a>&gt;<br>
Subject: Re: [Pacemaker] stonith_admin --metadata --agent fence_pcmk &quot;<br>
        output &quot;Command failed: Invalid argument<br>
Message-ID:<br>
        &lt;CAEDLWG0_8UnC5=<a href="mailto:22L4bZZTRnLy9B4ZRvMqu%2Bi8mbp%2BS9%2BoSi6Q@mail.gmail.com">22L4bZZTRnLy9B4ZRvMqu+i8mbp+S9+oSi6Q@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Thu, Oct 18, 2012 at 6:56 PM, bin chen &lt;<a href="mailto:free2coder@gmail.com">free2coder@gmail.com</a>&gt; wrote:<br>
&gt; Hi ,all,<br>
&gt; I use stonith_admin --list-installed to check how many fence_agents :<br>
&gt;  fence_pcmk<br>
&gt;  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>
&gt;  fence_fronware<br>
<br>
I don&#39;t know this agent. Where did it come from?<br></blockquote><div>It&#39;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 &quot;crm node fence nodeid&quot;.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>
&gt; The I want check the metadata of fence_pcmk to find out the parameters<br>
&gt; associated with the fence device:<br>
&gt; stonith_admin --metadata --agent fence_pcmk<br>
&gt; Command failed: Invalid argument<br>
&gt; I run the commond with fence_legacy,fence_fronware ,I get the same output.<br>
&gt; why?Any help will be appreciate.<br>
&gt; _______________________________________________<br>
&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt;<br>
&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; 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>
&gt; Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
&gt;<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>