Migrating A Cluster Resource - Novell SUSE LINUX ENTERPRISE SERVER 10 SP2 HEARTBEAT Manual

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

Advertisement

6 Select the resource in the left pane and click Resource > Start to start the resource.
Starting the clone resource will cause it to start on the nodes that have been
specified with its resource location constraints.
After creating the resource, you must create location constraints for the resource.
The location constraints determine which nodes the resource can run on. See
Constraints
[http://www.linux-ha.org/
ClusterInformationBase/SimpleExamples] on the High Availability
Linux Web site.

4.11 Migrating a Cluster Resource

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.
1 At the command line, use the following command:
crm_resource -M -r resource_name -H hostname -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.
2 To use the HA Management Client for migration, start the HA Management
Client and log in to the cluster as described in
agement Client"
3 Select the resource you want to migrate in the left pane of the main window and
select Resources > Migrate Resource.
4 In the new window, select ipaddress1 as Resource to migrate and select
node1 from the To Node drop-down list.
(page 29).
Section 4.1, "Graphical HA Man-
Configuring and Managing Cluster Resources
41

Advertisement

Table of Contents
loading

Table of Contents