<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<div class="moz-cite-prefix">On 2/26/21 12:39 PM, Niveditha U wrote:<br>
</div>
<blockquote type="cite"
cite="mid:QB1PR01MB392275796754D19494665F59A49D9@QB1PR01MB3922.CANPRD01.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline
!important">Hi Team,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin:0px;background-color:rgb(255, 255, 255)"><br>
</div>
<div style="margin:0px;background-color:rgb(255, 255, 255)">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.</div>
</div>
</blockquote>
<p>Reason why processes aren't running could be selinux-config as</p>
<p>anything started from a root-shell (your test-environment
supposedly)</p>
<p>will behave more or less like in permissive mode.</p>
<p>Still your resource agent may have some flaws as status-reporting</p>
<p>should still not report running/stopped if it is missing
privileges</p>
<p>to check properly.</p>
<p><br>
</p>
<p>Klaus<br>
</p>
<blockquote type="cite"
cite="mid:QB1PR01MB392275796754D19494665F59A49D9@QB1PR01MB3922.CANPRD01.PROD.OUTLOOK.COM">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin:0px;background-color:rgb(255, 255, 255)"><br>
</div>
<div style="margin:0px;background-color:rgb(255, 255, 255)">Regards,</div>
<span style="margin:0px;background-color:rgb(255, 255, 255)">Niveditha</span><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Manage your subscription:
<a class="moz-txt-link-freetext" href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a>
ClusterLabs home: <a class="moz-txt-link-freetext" href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a>
</pre>
</blockquote>
<br>
</body>
</html>