On Dec 30, 2007, at 3:13 PM, Thomas Glanzmann wrote:

Hello,
When I call

crm_resource -r ms-drbd0 -v '#default' --meta -p target_role

what is the difference between "#default" and "on"?

"on" isn't a valid value.

from the dtd:

* target_role: (Started|Stopped|Master|Slave|default, default=#default)
   * #default : Let the cluster decide what to do with the resource
* Started : Ignore any specified value of is_managed or is_managed_default and attempt to start the resource * Stopped : Ignore any specified value of is_managed or is_managed_default and attempt to stop the resource * Master : Ignore any specified value of is_managed, is_managed_default or promotion preferences and attempt to put all instances of a cloned resource into Master mode. * Slave : Ignore any specified value of is_managed, is_managed_default or promotion preferences and attempt to put all instances of a cloned resource into Slave mode.

And what does the
"--meta" flag do? Could we please document both in the manpage?

crm_resource --help



       Thomas
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to