<div dir="ltr"><div>It's part of the resource-agents repository. When you build resource-agents from source, it should be created.</div><div><br></div><div><a href="https://github.com/ClusterLabs/resource-agents/blob/master/doc/dev-guides/ra-dev-guide.asc#testing-with-ocf-tester">https://github.com/ClusterLabs/resource-agents/blob/master/doc/dev-guides/ra-dev-guide.asc#testing-with-ocf-tester</a></div><div><a href="https://github.com/ClusterLabs/resource-agents/blob/master/tools/ocf-tester.in">https://github.com/ClusterLabs/resource-agents/blob/master/tools/ocf-tester.in</a></div><div><br></div><div>With that being said, the Dev Guide says "The resource agents repository (and hence, any installed resource
agents package) contains a utility named ocf-tester." That doesn't appear to be true. The Red Hat resource-agents package provides ocft but not ocf-tester. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 26, 2021 at 4:26 AM Niveditha U <<a href="mailto:niveditu@opentext.com">niveditu@opentext.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Could you please share the ocf-tester script if you, have it?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Niveditha</div>
<div id="gmail-m_-1604944418952320951appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-1604944418952320951divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Niveditha U <<a href="mailto:niveditu@opentext.com" target="_blank">niveditu@opentext.com</a>><br>
<b>Sent:</b> Friday, February 26, 2021 5:38 PM<br>
<b>To:</b> Cluster Labs - All topics related to open-source clustering welcomed <<a href="mailto:users@clusterlabs.org" target="_blank">users@clusterlabs.org</a>><br>
<b>Subject:</b> Re: [EXTERNAL] - [ClusterLabs] Antw: [EXT] OCF resource agent is not starting up</font>
<div> </div>
</div>

<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi Ulrich,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I do not have <span style="color:rgb(32,31,30);font-size:14.6667px;background-color:rgb(255,255,255);display:inline">ocf-tester script with me to test the RA script. I couldn't find the script under /usr/lib/ocf, Also on the internet.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(32,31,30);font-size:14.6667px;background-color:rgb(255,255,255);display:inline"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(32,31,30);font-size:14.6667px;background-color:rgb(255,255,255);display:inline">Regards,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(32,31,30);font-size:14.6667px;background-color:rgb(255,255,255);display:inline">Niveditha</span></div>
<div id="gmail-m_-1604944418952320951x_appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-1604944418952320951x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Users <<a href="mailto:users-bounces@clusterlabs.org" target="_blank">users-bounces@clusterlabs.org</a>> on behalf of Ulrich Windl <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de" target="_blank">Ulrich.Windl@rz.uni-regensburg.de</a>><br>
<b>Sent:</b> Friday, February 26, 2021 5:35 PM<br>
<b>To:</b> <a href="mailto:users@clusterlabs.org" target="_blank">users@clusterlabs.org</a> <<a href="mailto:users@clusterlabs.org" target="_blank">users@clusterlabs.org</a>><br>
<b>Subject:</b> [EXTERNAL] - [ClusterLabs] Antw: [EXT] OCF resource agent is not starting up</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>>>> Niveditha U <<a href="mailto:niveditu@opentext.com" target="_blank">niveditu@opentext.com</a>> schrieb am 26.02.2021 um 12:39 in<br>
Nachricht<br>
<<a href="mailto:QB1PR01MB392275796754D19494665F59A49D9@QB1PR01MB3922.CANPRD01.PROD.OUTLOOK.COM" target="_blank">QB1PR01MB392275796754D19494665F59A49D9@QB1PR01MB3922.CANPRD01.PROD.OUTLOOK.COM</a>><br>
<br>
> Hi Team,<br>
> <br>
> We have xml data base called xdb which we want to use it as pcs resource. <br>
> Hence, we created a custom resource agent script for the same. We are able<br>
to <br>
> start/stop the xdb resource using debug‑start and debug‑stop but pacemaker<br>
is <br>
> unable to start/stop the xdb resource automatically. Though pcs status <br>
> command shows resource is started, but corresponding process is not<br>
running.<br>
<br>
Did you test your RA with ocf-tester? If it did succeed, you'll provide more<br>
details.<br>
<br>
Regards,<br>
Ulrich<br>
<br>
> <br>
> Regards,<br>
> Niveditha<br>
<br>
<br>
<br>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://urldefense.com/v3/__https://lists.clusterlabs.org/mailman/listinfo/users__;!!Obbck6kTJA!JaZ6q_BSYS_yh7CKRIPoYaAhuKqr4r8gMG40sLj55y0yiGyfp3ih5WBzwesR2DiE$" target="_blank">https://urldefense.com/v3/__https://lists.clusterlabs.org/mailman/listinfo/users__;!!Obbck6kTJA!JaZ6q_BSYS_yh7CKRIPoYaAhuKqr4r8gMG40sLj55y0yiGyfp3ih5WBzwesR2DiE$</a>
<br>
<br>
ClusterLabs home: <a href="https://urldefense.com/v3/__https://www.clusterlabs.org/__;!!Obbck6kTJA!JaZ6q_BSYS_yh7CKRIPoYaAhuKqr4r8gMG40sLj55y0yiGyfp3ih5WBzwa-aHweW$" target="_blank">
https://urldefense.com/v3/__https://www.clusterlabs.org/__;!!Obbck6kTJA!JaZ6q_BSYS_yh7CKRIPoYaAhuKqr4r8gMG40sLj55y0yiGyfp3ih5WBzwa-aHweW$</a>
<br>
</div>
</span></font></div>
</div>
</div>

_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Regards,<br><br></div>Reid Wahl, RHCA<br></div><div>Senior Software Maintenance Engineer, Red Hat<br></div>CEE - Platform Support Delivery - ClusterHA</div></div></div></div></div></div></div></div></div></div></div></div></div></div>