Hi Team,

Can ocft be used in place of ocf-tester?

Regards,
Niveditha

________________________________
From: Users <users-boun...@clusterlabs.org> on behalf of Reid Wahl 
<nw...@redhat.com>
Sent: Saturday, February 27, 2021 6:10 AM
To: Cluster Labs - All topics related to open-source clustering welcomed 
<users@clusterlabs.org>
Subject: Re: [ClusterLabs] [EXTERNAL] - Antw: [EXT] OCF resource agent is not 
starting up

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://urldefense.com/v3/__https://github.com/ClusterLabs/resource-agents/blob/master/doc/dev-guides/ra-dev-guide.asc*testing-with-ocf-tester__;Iw!!Obbck6kTJA!IjdI8xfb8Wtfo3o-E8BAyGCMwcnthqw4PmEZADgoWsM4nrQJ8FfgiYt7cyFyBzWs$>
https://github.com/ClusterLabs/resource-agents/blob/master/tools/ocf-tester.in<https://urldefense.com/v3/__https://github.com/ClusterLabs/resource-agents/blob/master/tools/ocf-tester.in__;!!Obbck6kTJA!IjdI8xfb8Wtfo3o-E8BAyGCMwcnthqw4PmEZADgoWsM4nrQJ8FfgiYt7c9_dUfhR$>

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 
<nived...@opentext.com<mailto:nived...@opentext.com>> wrote:
Could you please share the ocf-tester script if you, have it?

Thanks,
Niveditha
________________________________
From: Niveditha U <nived...@opentext.com<mailto:nived...@opentext.com>>
Sent: Friday, February 26, 2021 5:38 PM
To: Cluster Labs - All topics related to open-source clustering welcomed 
<users@clusterlabs.org<mailto:users@clusterlabs.org>>
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 
<users-boun...@clusterlabs.org<mailto:users-boun...@clusterlabs.org>> on behalf 
of Ulrich Windl 
<ulrich.wi...@rz.uni-regensburg.de<mailto:ulrich.wi...@rz.uni-regensburg.de>>
Sent: Friday, February 26, 2021 5:35 PM
To: users@clusterlabs.org<mailto:users@clusterlabs.org> 
<users@clusterlabs.org<mailto:users@clusterlabs.org>>
Subject: [EXTERNAL] - [ClusterLabs] Antw: [EXT] OCF resource agent is not 
starting up

>>> Niveditha U <nived...@opentext.com<mailto:nived...@opentext.com>> schrieb 
>>> am 26.02.2021 um 12:39 in
Nachricht
<qb1pr01mb392275796754d19494665f59a4...@qb1pr01mb3922.canprd01.prod.outlook.com<mailto: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<https://urldefense.com/v3/__https://lists.clusterlabs.org/mailman/listinfo/users__;!!Obbck6kTJA!IjdI8xfb8Wtfo3o-E8BAyGCMwcnthqw4PmEZADgoWsM4nrQJ8FfgiYt7c92_pH1S$>

ClusterLabs home: 
https://www.clusterlabs.org/<https://urldefense.com/v3/__https://www.clusterlabs.org/__;!!Obbck6kTJA!IjdI8xfb8Wtfo3o-E8BAyGCMwcnthqw4PmEZADgoWsM4nrQJ8FfgiYt7c5W_MnwV$>


--
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/

Reply via email to