Configuring a Heartbeat Clone Resource

You may want certain resources to run simultaneously on multiple nodes in your cluster. To do this you must configure a resource as a clone. Examples of resources that might be configured as clones include STONITH and cluster file systems like OCFS2. You can clone any resource provided it is supported by the resource’s ResourceAgent. Clone resources may even be configured differently depending on which nodes they are hosted.

There are three types of resource clones:

  1. To configure a resource as a clone, follow Step 1 through Step 6 in Section 4.2, “Creating Cluster Resources”.

  2. Select the Clone check box. This will allow the resource to simultaneously run on multiple cluster nodes.

  3. In the clone_node_max field, enter the number of instances of the resource that will run on a given node.

  4. In the clone_max field, enter the number of nodes in the cluster that will run the resource.

  5. Click Add to add the clone resource to the cluster.

  6. Select the resource in the left pane and click Resource+Start to start the resource. Starting the clone resource will cause it to start on the nodes that have been specified with its resource location constraints.

    After creating the resource, you must create location constraints for the resource. The location constraints determine which nodes the resource can run on. See Constraints on the High Availability Linux Web site.


SUSE Linux Enterprise Server Heartbeat Guide 10 SP2