Although resources are configured to automatically fail over (or migrate) to other nodes in the cluster in the even of a hardware or software failure, you can also manually migrate a resource to another node in the cluster using either the HA Management Client or the command line.
At the command line, use the following command:
crm_resource -M -rresource_name-Hhostname-f
For example, to migrate a resource named ipaddress1 to a
cluster node named node2, you would need to
enter:
crm_resource -M -r ipaddress1 -H node2 -f
To get a list of parameters and switches that can be used with the crm_resource command, enter crm_resource without any options.
To use the HA Management Client for migration, start the HA Management Client and log in to the cluster as described in Section 4.1, “Graphical HA Management Client”.
Select the resource you want to migrate in the left pane of the main window and select +.
In the new window, select ipaddress1 as
to migrate and select
node1 from the
drop-down list.