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/
_______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
