Adding cluster resources and services
The difference between cluster resources and cluster services is that a cluster service is a service built from one or more cluster resources. A configured cluster resource is prepared to be used within a cluster service. When you are configuring a cluster service, you reference a configured cluster resource by its unique name.
Resources
Cluster resources are defined within the <rm>
RGManager tag of the CMAN configuration file. They begin with the <resources>
tag and end with the </resources>
tag. Within the <resources>
tag, all cluster resources supported by RGManager can be configured.
Cluster resources are configured with resource scripts, and all RGManager-supported resource scripts are located in the /usr/share/cluster
directory along with the cluster resource metadata information required to configure a cluster resource. For some cluster resources, the metadata information is listed within the cluster resource scripts, while...