<div dir="ltr">Frank,<div> Creation/Disabling/Deletion of non multi state resource worked fine.<br><div> When I try to delete a multi state resource, the resource goes into stopped state and the following error is thrown</div>
<div><br></div><div> Error: unable to stop: .....</div><div><br></div><div>Regards,</div><div> kiran</div><div>On Mon, Feb 24, 2014 at 6:03 PM, Frank Brendel <span dir="ltr"><<a href="mailto:frank.brendel@eurolog.com" target="_blank">frank.brendel@eurolog.com</a>></span> wrote:<br>
</div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Kiran,<br>
<br>
the man page says (or use 'pcs resource help')<br>
<br>
disable <resource id> [--wait[=n]]<br>
Attempt to stop the resource if it is running and forbid the cluster<br>
from starting it again. Depending on the rest of the configuration<br>
(constraints, options, failures, etc), the resource may remain<br>
started. If --wait is specified, pcs will wait up to 30 seconds (or<br>
'n' seconds) for the resource to stop and then return 0 if the<br>
resource is stopped or 1 if the resource has not stopped.<br>
<br>
<br>
A simple 'pcs resource disable MyResource' should work.<br>
<br>
<br>
Frank<br>
<br>
Am <a href="tel:24.02.2014%2012" value="+12402201412" target="_blank">24.02.2014 12</a>:39, schrieb K Mehta:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
I am trying to use pcs commands instead of crmsh commands to manage resources. How do I stop a resource using pcs ? I didnt find any pcs resource stop command.<br>
<br>
Regards,<br>
kiran<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br></div></div></div></div>