Manual Configuration Of A Resource - Novell LINUX ENTERPRISE 11 - HIGH AVAILABILITY Manual

Table of Contents

Advertisement

Procedure 6.2 Migrating Resources to Another Node
1 Switch to the Management view in the left pane, then right-click the IP address
resource in the right pane and select Migrate Resource.
2 In the new window, select saturn from the To Node drop-down list to move
the selected resource to the node saturn.
3 If you want to migrate the resource only temporarily, activate Duration and enter
the time frame for which the resource should migrate to the new node.
4 Click OK to confirm the migration.
6.2 Manual Configuration of a
Resource
Resources are any type of service that a computer provides. Resources are known to
High Availability when they may be controlled by RAs (Resource Agents), which are
LSB scripts, OCF scripts, or legacy Heartbeat 1 resources. All resources can be config-
ured with the crm command or as XML in the CIB (Cluster Information Base) in the
resources section. For an overview of available resources, look at Chapter 18, HA
OCF Agents (page 201).
To add an IP address 10.10.0.1 as a resource to the current configuration, use the
crm command:
Procedure 6.3 Creating an IP Address Cluster Resource
1 Run the crm command as system administrator. The prompt changes to
crm(live).
2 Switch to the configure subcommand:
crm(live)# configure
3 Create an IP address resource:
crm(live)configure# resource
primitive myIP ocf:heartbeat:IPaddr params ip=10.10.0.1
Setting Up a Simple Testing Resource
77

Advertisement

Table of Contents
loading

Table of Contents