[ClusterLabs] [EXTERNAL] - Antw: [EXT] OCF resource agent is not starting up

Niveditha U niveditu at opentext.com
Mon Mar 1 00:25:06 EST 2021


Hi Team,

Can ocft be used in place of ocf-tester?

Regards,
Niveditha

________________________________
From: Users <users-bounces at clusterlabs.org> on behalf of Reid Wahl <nwahl at redhat.com>
Sent: Saturday, February 27, 2021 6:10 AM
To: Cluster Labs - All topics related to open-source clustering welcomed <users at 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 <niveditu at opentext.com<mailto:niveditu at opentext.com>> wrote:
Could you please share the ocf-tester script if you, have it?

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

>>> Niveditha U <niveditu at opentext.com<mailto:niveditu at opentext.com>> schrieb am 26.02.2021 um 12:39 in
Nachricht
<QB1PR01MB392275796754D19494665F59A49D9 at QB1PR01MB3922.CANPRD01.PROD.OUTLOOK.COM<mailto:QB1PR01MB392275796754D19494665F59A49D9 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20210301/c90956aa/attachment-0001.htm>


More information about the Users mailing list