Product SiteDocumentation Site

Chapter 5. Cluster Resources

Table of Contents

5.1. What is a Cluster Resource
5.2. Supported Resource Classes
5.2.1. Open Cluster Framework
5.2.2. Linux Standard Base
5.2.3. Legacy Heartbeat
5.3. Properties
5.4. Resource Options
5.5. Setting Global Defaults for Resource Options
5.6. Instance Attributes
5.7. Resource Operations
5.7.1. Monitoring Resources for Failure
5.8. Setting Global Defaults for Operations
5.8.1. When Resources Take a Long Time to Start/Stop
5.8.2. Multiple Monitor Operations
5.8.3. Disabling a Monitor Operation

5.1. What is a Cluster Resource

The role of a resource agent is to abstract the service it provides and present a consistent view to the cluster, which allows the cluster to be agnostic about the resources it manages. The cluster doesn't need to understand how the resource works because it relies on the resource agent to do the right thing when given a start, stop or monitor command.
For this reason it is crucial that resource agents are well tested.
Typically resource agents come in the form of shell scripts, however they can be written using any technology (such as C, Python or Perl) that the author is comfortable with.