[Pacemaker] is_managed meta attribute on suse 10 with heartbeat + pacemaker
emmanuel segura
emi2fast at gmail.com
Tue Jul 15 14:03:00 CEST 2014
Thanks Lars for you answer,
I was using crm_resource, because using crmsh i can't start a resource
on a specific node.
example:
crm(live)resource# start Dummy2 node02
usage: start <rsc>
2014-07-15 12:59 GMT+02:00 Lars Marowsky-Bree <lmb at suse.com>:
> On 2014-07-15T12:44:49, emmanuel segura <emi2fast at gmail.com> wrote:
>
>> Hello Lars,
>>
>> I saw the same problem on suse 11, this is the example command i found
>> in the man page for stop a resource
>>
>> man crm_resource
>> Start or stop a resource:
>
> Please use the crm shell to start/stop resources.
>
> crm resource stop rsc1
>
>> So, from my point of view, the man page is wrong for two reasons, the
>> meta attributes target_role it should be target-role and the --meta
>> options is missing
>
> Agreed. We don't usually crm_resource to manage resources, but the SLE
> HA documentation explicitly documents using crmsh.
>
> FWIW, the currently queued maintenance update has the following in the
> crm_resource manpage:
>
> # crm_resource --resource myResource --set-parameter target-role --meta --parameter-value Stopped
> and
> # crm_resource --resource myResource --set-parameter is-managed --meta --parameter-value false
>
> So looks like this already will be fixed soon.
>
>
> Regards,
> Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> _______________________________________________
> 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
--
esta es mi vida e me la vivo hasta que dios quiera
More information about the Pacemaker
mailing list