
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
Migrate a resource away from its current location:
crm_resource -M -r my_first_ip
Migrate a resource to a specific location:
crm_resource -M -r my_first_ip -H c001n02
Allow a resource to return to its normal location:
crm_resource -U -r my_first_ip
NOTE
The values of
resource_stickiness
and
default_resource_stickiness
may mean that it does not move
back. In such cases, you should use
-M
to move it back before running this
command.
Delete a resource from the CRM:
crm_resource -D -r my_first_ip -t primitive
Delete a resource group from the CRM:
crm_resource -D -r my_first_group -t group
Disable resource management for a resource in the CRM:
crm_resource -p is-managed -r my_first_ip -t primitive -v off
Enable resource management for a resource in the CRM:
crm_resource -p is-managed -r my_first_ip -t primitive -v on
Reset a failed resource after having been manually cleaned up:
crm_resource -C -H c001n02 -r my_first_ip
170
High Availability Guide
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......