
--meta
Modify a resource's configuration option rather than one which is passed to the
resouce agent script. For use with
-p
,
-g
and
-d
.
--lifetime
string
,
-u
string
Lifespan of migration constraints.
--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.
Cluster Management Tools
169
Summary of Contents for LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Page 10: ......
Page 11: ...Part I Installation and Setup...
Page 12: ......
Page 28: ......
Page 38: ......
Page 39: ...Part II Configuration and Administration...
Page 40: ......
Page 68: ......
Page 108: ......
Page 114: ......
Page 115: ...Part III Storage and Data Replication...
Page 116: ......
Page 126: ......
Page 140: ......
Page 141: ...Part IV Troubleshooting and Reference...
Page 142: ......
Page 148: ......
Page 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Page 202: ......
Page 210: ......
Page 285: ...Part V Appendix...
Page 286: ......