<div dir="ltr">look in the resource agent, whe it's looking for drbdsetup<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/3 Arvydas <span dir="ltr"><<a href="mailto:arvydas@artogama.lt" target="_blank">arvydas@artogama.lt</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial"># ocf-tester -n monkey-drbd -o drbd_resource="r1"
/usr/lib/ocf/resource.d/linbit/drbd</font></div><font face="Arial">
<div><br>Beginning tests for /usr/lib/ocf/resource.d/linbit/drbd...<br>* rc=6:
Validation failed. Did you supply enough options with -o ?<br>drbd[27309]:
WARNING: You may be disappointed: This RA is intended for pacemaker 1.0 or
better!<br>drbd[27309]: ERROR: meta parameter misconfigured, expected clone-max
-le 2, but found unset.<br>Aborting tests</div>
<div> </div>
<div>version: pacemaker-1.1.6-3.el6.x86_64</div>
<div> </div>
<div>ms ms-monkey-drbd monkey-drbd
\<br> meta master-max="1"
clone-max="2" clone-node-max="1" master-node-max="1" notify="true"
interleave="true" <br></div>
<div>?</div>
<div> </div>
<div>anyway, doesn't seem to address "couldn't find command: drbdsetup"
problem, hmm.</div>
<div> </div>
<div> </div>
<div></div></font>----- Original Message ----- </div>
<blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px"><div class="im">
<div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b>
<a title="emi2fast@gmail.com" href="mailto:emi2fast@gmail.com" target="_blank">emmanuel
segura</a> </div>
<div style="FONT:10pt arial"><b>To:</b> <a title="pacemaker@oss.clusterlabs.org" href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">The Pacemaker cluster resource
manager</a> </div>
</div><div style="FONT:10pt arial"><b>Sent:</b> Friday, May 03, 2013 12:06 PM</div><div><div class="h5">
<div style="FONT:10pt arial"><b>Subject:</b> Re: [Pacemaker]
[Troubleshooting] ERROR: Setup problem: couldn't find command: drbdsetup</div>
<div><br></div>
<div dir="ltr">man
ocf-tester<br><br>SYNOPSIS<br> ocf-tester
[-Lh] -n resource_name [-o name=value]*
/full/path/to/resource/agent<br><br><br></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/5/3 Arvydas <span dir="ltr"><<a href="mailto:arvydas@artogama.lt" target="_blank">arvydas@artogama.lt</a>></span><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial">Hi,</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">no. trying now:</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial"># ocf-tester -n monkey-drbd -o
drbd_resource="r1"<br>Beginning tests for ...<br>bash: meta-data: No such
file or directory<br>* rc=127: Your agent has too restrictive permissions:
should be 755<br>bash: meta-data: No such file or directory<br>-:1: parser
error : Document is empty</font></div>
<div> </div>
<div><font face="Arial">^<br>-:1: parser error : Start tag expected, '<'
not found</font></div>
<div> </div>
<div><font face="Arial">^<br>* rc=1: Your agent produces meta-data which does
not conform to ra-api-1.dtd<br>* rc=127: The meta-data action cannot fail
and must return 0<br>* rc=127: Validation failed. Did you supply
enough options with -o ?<br>bash: validate-all: No such file or
directory<br>Aborting tests<br></font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">it is strange, since permissions are 755 of drbd in
resourced.d/linbit/drbd</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">hmmm</font></div>
<div> </div>
<div>----- Original Message ----- </div>
<blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<div>
<div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b> <a title="emi2fast@gmail.com" href="mailto:emi2fast@gmail.com" target="_blank">emmanuel segura</a> </div>
<div style="FONT:10pt arial"><b>To:</b> <a title="pacemaker@oss.clusterlabs.org" href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">The Pacemaker
cluster resource manager</a> </div></div>
<div style="FONT:10pt arial"><b>Sent:</b> Thursday, May 02, 2013 5:11
PM</div>
<div>
<div>
<div style="FONT:10pt arial"><b>Subject:</b> Re: [Pacemaker]
[Troubleshooting] ERROR: Setup problem: couldn't find command:
drbdsetup</div>
<div><br></div>
<div dir="ltr">
<div>did you try to test resource agent by hand? if not try
ocf-test<br><br></div>Thanks<br></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/5/2 Arvydas <span dir="ltr"><<a href="mailto:arvydas@artogama.lt" target="_blank">arvydas@artogama.lt</a>></span><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial">yes, i am using ocf:</font></div>
<div> </div>
<blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<div>
<div style="FONT:10pt arial">----- Original Message ----- </div>
<div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b> <a title="emi2fast@gmail.com" href="mailto:emi2fast@gmail.com" target="_blank">emmanuel segura</a> </div>
<div style="FONT:10pt arial"><b>To:</b> <a title="pacemaker@oss.clusterlabs.org" href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">The
Pacemaker cluster resource manager</a> </div></div>
<div>
<div>
<div style="FONT:10pt arial"><b>Sent:</b> Thursday, May 02, 2013
11:37 AM</div>
<div style="FONT:10pt arial"><b>Subject:</b> Re: [Pacemaker]
[Troubleshooting] ERROR: Setup problem: couldn't find command:
drbdsetup</div>
<div><br></div>
<div dir="ltr">
<div>
<div>which resource agent are you using?<br><br></div>can you show
your config?<br><br></div>Thanks<br></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/5/2 Arvydas <span dir="ltr"><<a href="mailto:arvydas@artogama.lt" target="_blank">arvydas@artogama.lt</a>></span><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial"># which
drbdsetup<br>/sbin/drbdsetup<br></font></div>
<div><font face="Arial">it works</font></div>
<blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<div style="FONT:10pt arial">----- Original Message ----- </div>
<div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b> <a title="emi2fast@gmail.com" href="mailto:emi2fast@gmail.com" target="_blank">emmanuel segura</a> </div>
<div style="FONT:10pt arial"><b>To:</b> <a title="pacemaker@oss.clusterlabs.org" href="mailto:pacemaker@oss.clusterlabs.org" target="_blank">The
Pacemaker cluster resource manager</a> </div>
<div style="FONT:10pt arial"><b>Sent:</b> Thursday, May 02, 2013
11:12 AM</div>
<div style="FONT:10pt arial"><b>Subject:</b> Re: [Pacemaker]
[Troubleshooting] ERROR: Setup problem: couldn't find command:
drbdsetup</div>
<div><br></div>
<div dir="ltr">
<div>Hello<br><br></div>try the command which
drbdsetup<br><br><br></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/4/30 Arvydas <span dir="ltr"><<a href="mailto:arvydas@artogama.lt" target="_blank">arvydas@artogama.lt</a>></span><br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hello,<br><br>has anyone encountered such
problem:<br><br>lrmd: [2524]: info: RA output:
(monkey-drbd:1:monitor:stderr)<br>2013/04/30_12:42:34 ERROR:
Setup problem: couldn't find command:
drbdsetup<br><br><br>?<br><br># whereis drbdadm<br>drbdadm:
/sbin/drbdadm
/usr/share/man/man8/drbdadm.8.gz<br><br><br>thanks<br><br><br>_______________________________________________<br>Pacemaker
mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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></blockquote></div><br><br clear="all"><span><font color="#888888"><br>-- <br>esta es mi vida e
me la vivo hasta que dios quiera </font></span></div><span><font color="#888888">
<p></p>
<hr>
<p></p>_______________________________________________<br>Pacemaker
mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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>
<p></p></font></span></blockquote></div><br>_______________________________________________<br>Pacemaker
mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios
quiera </div>
<p></p>
<hr>
<p></p>_______________________________________________<br>Pacemaker
mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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>
<p></p></div></div></blockquote></div><br>_______________________________________________<br>Pacemaker
mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>
<p></p>
<hr>
<p></p>_______________________________________________<br>Pacemaker
mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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>
<p></p></div></div></blockquote></div><br>_______________________________________________<br>Pacemaker
mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera </div>
<p>
</p><hr>
<p></p>_______________________________________________<br>Pacemaker mailing
list:
<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">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><p></p></div></div></blockquote>
<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><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>