
5.10 Removing a Cluster Resource
To remove a cluster resource you need the relevant identifier. Proceed as follows:
1
Run the
crm
command as system administrator. The prompt changes to
crm(live)
.
2
Run the following command to get a list of your resources:
crm(live)# resource status
For example, the output can look like this (whereas myIP is the relevant identifier
of your resource):
myIP
(ocf::IPaddr:heartbeat) ...
3
Delete the resource with the relevant identifier (which implies a
commit
too):
crm(live)# configure delete
YOUR_ID
4
Commit the changes:
crm(live)# configure commit
5.11 Configuring a Cluster Resource
Group
One of the most common elements of a cluster is a set of resources that needs to be lo-
cated together. Start sequentially and stop in the reverse order. To simplify this confi-
guration we support the concept of groups. The following example creates two primitives
(an IP address and an email resource):
1
Run the
crm
command as system administrator. The prompt changes to
crm(live)
.
2
Configure the primitives:
crm(live)# configure
crm(live)configure# primitive Public-IP ocf:IPaddr:heartbeat \
70
High Availability Guide
Содержание 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: ......