[ClusterLabs] OCF resource agent is not starting up

Klaus Wenninger kwenning at redhat.com
Mon Mar 1 09:50:10 EST 2021


On 2/26/21 12:39 PM, Niveditha U wrote:
> 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.

Reason why processes aren't running could be selinux-config as

anything started from a root-shell (your test-environment supposedly)

will behave more or less like in permissive mode.

Still your resource agent may have some flaws as status-reporting

should still not report running/stopped if it is missing privileges

to check properly.


Klaus

>
> Regards,
> Niveditha
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20210301/ed26ae48/attachment.htm>


More information about the Users mailing list