
5.7 Specifying Resource Failback
Nodes (Resource Stickiness)
A rsc may failback after it has been migrated due to the number of failures only when
the administrator resets the failcount or the failures have been expired (see failure-
timeout meta attribute).
crm resource failcount
RSC
delete
NODE
5.8 Configuring Resource Monitoring
To monitor a resource, there are two possibilities: either define monitor operation with
the
op
keyword or use the
monitor
command. The following example configures an
Apache resource and monitors it for every 30 minutes with the
op
keyword:
crm(live)configure# primitive apache apache \
params ... \
op monitor interval=60s timeout=30s
The same can be done with:
crm(live)configure# primitive apache apache \
params ...
crm(live)configure# monitor apache 60s:30s
5.9 Starting a New Cluster Resource
To start a new cluster resource you need the respective identifier. Proceed as follows:
1
Run the
crm
command as system administrator. The prompt changes to
crm(live)
.
2
Search for the respective resource with the command
status
.
3
Start the resource with:
crm(live)# resource start
ID
Configuring Cluster Resources From Command Line
69
Summary of Contents for LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Page 10: ......
Page 11: ...Part I Installation and Setup...
Page 12: ......
Page 28: ......
Page 38: ......
Page 39: ...Part II Configuration and Administration...
Page 40: ......
Page 68: ......
Page 108: ......
Page 114: ......
Page 115: ...Part III Storage and Data Replication...
Page 116: ......
Page 126: ......
Page 140: ......
Page 141: ...Part IV Troubleshooting and Reference...
Page 142: ......
Page 148: ......
Page 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Page 202: ......
Page 210: ......
Page 285: ...Part V Appendix...
Page 286: ......