
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
Содержание 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: ......