Novell SUSE LINUX ENTERPRISE SERVER 10 SP2 HEARTBEAT Manual page 100

Hide thumbs Also See for SUSE LINUX ENTERPRISE SERVER 10 SP2 HEARTBEAT:
Table of Contents

Advertisement

--force, -f
Force the resource to move by creating a rule for the current location and a score
of -INFINITY
This should be used if the resource's stickiness and constraint scores total more
than INFINITY (currently 100,000).
NOTE
This prevents the resource from running on this node until the constraint
is removed with -U.
-s string
(Advanced Use Only) Specify the ID of the instance_attributes object to
change.
-i string
(Advanced Use Only) Specify the ID of the nvpair object to change or delete.
Examples
Listing all resources:
crm_resource -L
Checking where a resource is running (and if it is):
crm_resource -W -r my_first_ip
If the my_first_ip resource is running, the output of this command reveals the
node on which it is running. If it is not running, the output shows this.
Start or 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
Query the definition of a resource:
crm_resource -Q -r my_first_ip
92
Heartbeat

Advertisement

Table of Contents
loading

Table of Contents