Novell SUSE LINUX ENTERPRISE SERVER 10 SP2 HEARTBEAT Manual page 101

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

Advertisement

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
Recheck all nodes for resources started outside the CRM:
crm_resource -P
Recheck one node for resources started outside the CRM:
crm_resource -P -H c001n02
Managing a Cluster
93

Advertisement

Table of Contents
loading

Table of Contents