It's part of the resource-agents repository. When you build resource-agents from source, it should be created.
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/tools/ocf-tester.in 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. On Fri, Feb 26, 2021 at 4:26 AM Niveditha U <[email protected]> wrote: > Could you please share the ocf-tester script if you, have it? > > Thanks, > Niveditha > ------------------------------ > *From:* Niveditha U <[email protected]> > *Sent:* Friday, February 26, 2021 5:38 PM > *To:* Cluster Labs - All topics related to open-source clustering > welcomed <[email protected]> > *Subject:* Re: [EXTERNAL] - [ClusterLabs] Antw: [EXT] OCF resource agent > is not starting up > > Hi Ulrich, > > I do not have ocf-tester script with me to test the RA script. I couldn't > find the script under /usr/lib/ocf, Also on the internet. > > Regards, > Niveditha > ------------------------------ > *From:* Users <[email protected]> on behalf of Ulrich Windl < > [email protected]> > *Sent:* Friday, February 26, 2021 5:35 PM > *To:* [email protected] <[email protected]> > *Subject:* [EXTERNAL] - [ClusterLabs] Antw: [EXT] OCF resource agent is > not starting up > > >>> Niveditha U <[email protected]> schrieb am 26.02.2021 um 12:39 in > Nachricht > < > qb1pr01mb392275796754d19494665f59a4...@qb1pr01mb3922.canprd01.prod.outlook.com > > > > > Hi Team, > > > > We have xml data base called xdb which we want to use it as pcs > resource. > > Hence, we created a custom resource agent script for the same. We are > able > to > > start/stop the xdb resource using debug‑start and debug‑stop but > pacemaker > is > > unable to start/stop the xdb resource automatically. Though pcs status > > command shows resource is started, but corresponding process is not > running. > > Did you test your RA with ocf-tester? If it did succeed, you'll provide > more > details. > > Regards, > Ulrich > > > > > Regards, > > Niveditha > > > > _______________________________________________ > Manage your subscription: > > https://urldefense.com/v3/__https://lists.clusterlabs.org/mailman/listinfo/users__;!!Obbck6kTJA!JaZ6q_BSYS_yh7CKRIPoYaAhuKqr4r8gMG40sLj55y0yiGyfp3ih5WBzwesR2DiE$ > > ClusterLabs home: > https://urldefense.com/v3/__https://www.clusterlabs.org/__;!!Obbck6kTJA!JaZ6q_BSYS_yh7CKRIPoYaAhuKqr4r8gMG40sLj55y0yiGyfp3ih5WBzwa-aHweW$ > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ > -- Regards, Reid Wahl, RHCA Senior Software Maintenance Engineer, Red Hat CEE - Platform Support Delivery - ClusterHA
_______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
