//heartbeat-2.99.2-8.1 + pacemaker-1.0.4-23.1 //
Hi,
I'd like to find simple command to stop, start a resource.
The man of crm_resource gives :
Start/stop a resource
crm_resource -r my_first_ip -p target_role -v started
crm_resource -r my_first_ip -p target_role -v stopped
but it is not clear for me what are the "my_first_ip" and "target_role"
parameters and moreover where to retrieve them.
Moreover, for migrate, the man gives :
Migrating a resource to a specific location
crm_resource -M -r my_first_ip -H c001n02
so I tried in fact :
crm_resource -M -r <my-resource-name> -H <my hostname>
and it works !
But when I tried :
crm_resource -r <my-resource-name> -v stopped
it does not work, it does not stop the resource.
Thanks for help
Regards
Alain
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems