[Pacemaker] Stopping resource using pcs
K Mehta
kiranmehta1981 at gmail.com
Tue Feb 25 14:45:19 UTC 2014
Frank,
Creation/Disabling/Deletion of non multi state resource worked fine.
When I try to delete a multi state resource, the resource goes into
stopped state and the following error is thrown
Error: unable to stop: .....
Regards,
kiran
On Mon, Feb 24, 2014 at 6:03 PM, Frank Brendel <frank.brendel at eurolog.com>wrote:
> Hi Kiran,
>
> the man page says (or use 'pcs resource help')
>
> disable <resource id> [--wait[=n]]
> Attempt to stop the resource if it is running and forbid the
> cluster
> from starting it again. Depending on the rest of the configuration
> (constraints, options, failures, etc), the resource may remain
> started. If --wait is specified, pcs will wait up to 30 seconds
> (or
> 'n' seconds) for the resource to stop and then return 0 if the
> resource is stopped or 1 if the resource has not stopped.
>
>
> A simple 'pcs resource disable MyResource' should work.
>
>
> Frank
>
> Am 24.02.2014 12:39, schrieb K Mehta:
>
>> Hi,
>>
>> 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.
>>
>> Regards,
>> kiran
>>
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://bugs.clusterlabs.org
>>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140225/f95c7e56/attachment.htm>
More information about the Pacemaker
mailing list