<br><br><div class="gmail_quote">On Thu, Oct 18, 2012 at 11:03 PM, bin chen <span dir="ltr"><<a href="mailto:free2coder@gmail.com" target="_blank">free2coder@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="color:rgb(34,34,34);font-size:14px;font-family:arial,sans-serif"><div style="color:rgb(80,0,80)"><div>I`m sorry ,I just don`t know how to reply~~ : ) </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On Thu, Oct 18, 2012 at 6:56 PM, bin chen <<a href="mailto:free2coder@gmail.com" style="color:rgb(17,85,204)" target="_blank">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></div><div style="color:rgb(34,34,34);font-size:14px;font-family:arial,sans-serif">
Well,how to install a fence-agents package.? </div></blockquote><div><br></div><div>Same way you installed pacemaker perhaps?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="color:rgb(80,0,80);font-size:14px;font-family:arial,sans-serif"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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><div style="color:rgb(34,34,34);font-size:14px;font-family:arial,sans-serif">
I have solve the incorrect output by using pacemaker 1.1.8 instead of pacemaker 1.1.7</div><div style="color:rgb(80,0,80);font-size:14px;font-family:arial,sans-serif"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>> fence_fronware<br><br>I don't know this agent. Where did it come from?<br></blockquote></div><div style="color:rgb(34,34,34);font-size:14px;font-family:arial,sans-serif">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><div><br></div><div><br></div><div>I dont think so. Just <a href="https://fedorahosted.org/cluster/wiki/FenceAgentAPI">https://fedorahosted.org/cluster/wiki/FenceAgentAPI</a></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="color:rgb(34,34,34);font-size:14px;width:22px;font-family:arial,sans-serif;margin:2px 0px 0px;padding:10px 0px;outline:none"><div style="background-color:rgb(241,241,241);border:1px solid rgb(221,221,221);clear:both;line-height:6px;outline:none;width:20px">
<img style="background-image:url();min-height:8px;width:20px;background-repeat:no-repeat no-repeat"></div>
</div><div style="color:rgb(80,0,80);font-size:14px;font-family:arial,sans-serif"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Possibly the metadata is incomplete or the metadata action not implemented. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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" style="color:rgb(17,85,204)" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" style="color:rgb(17,85,204)" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>><br>> Project Home: <a href="http://www.clusterlabs.org/" style="color:rgb(17,85,204)" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" style="color:rgb(17,85,204)" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>> Bugs: <a href="http://bugs.clusterlabs.org/" style="color:rgb(17,85,204)" 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" style="color:rgb(17,85,204)" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" style="color:rgb(17,85,204)" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br><br><br>End of Pacemaker Digest, Vol 59, Issue 49<br>
*****************************************</blockquote></div>
<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></blockquote></div><br>