Linux-HA Logo

Contents

  1. What is a resource?
  2. Enabling the Cluster Resource Manager
  3. Converting your 1.x (haresources) configuration
  4. Grouping resources
  5. Preventing a resource from running on a specific node
  6. Applying a constraint to a group of nodes
  7. Running resources on the master node
  8. Running a master/slave resource's master on a specific node
  9. What's up with +/- INFINITY?
  10. Score Calculation

What is a resource?

See resource[1] page.

Enabling the Cluster Resource Manager

The information you need is in ClusterResourceManager/Setup[2].

Converting your 1.x (haresources) configuration

The information you need is in ClusterInformationBase/Conversion[3]. However please make sure you first read ClusterInformationBase/SimpleExamples[4] and ClusterInformationBase/ResourceGroups[5] otherwise it will make no sense to you at all.

Grouping resources

The information you need is in ClusterInformationBase/ResourceGroups[5]. However please make sure you first read ClusterInformationBase/SimpleExamples[4] otherwise it will make no sense to you at all.

Preventing a resource from running on a specific node

The information you need is in ClusterInformationBase/SimpleExamples[4], Section 2.4.2[6].

Applying a constraint to a group of nodes

The information you need is in ClusterInformationBase/UsingAttributes[7], Section 1[8].

Running resources on the master node

See CIB/Idioms/ColoWithMaster[9]

Running a master/slave resource's master on a specific node

See CIB/Idioms/MasterConstraints[10]

What's up with +/- INFINITY?

See ScoreCalculation[11]

Score Calculation

See ScoreCalculation[11]


References

[1]http://www.linux-ha.org/resource
[2]http://www.linux-ha.org/ClusterResourceManager/Setup
[3]http://www.linux-ha.org/ClusterInformationBase/Conversion
[4]http://www.linux-ha.org/ClusterInformationBase/SimpleExamples
[5]http://www.linux-ha.org/ClusterInformationBase/ResourceGroups
[6]http://www.linux-ha.org/ClusterInformationBase/SimpleExamples#location_prefs
[7]http://www.linux-ha.org/ClusterInformationBase/UsingAttributes
[8]http://www.linux-ha.org/ClusterInformationBase/UsingAttributes#node_attrs
[9]http://www.linux-ha.org/CIB/Idioms/ColoWithMaster
[10]http://www.linux-ha.org/CIB/Idioms/MasterConstraints
[11]http://www.linux-ha.org/ScoreCalculation


This information provided courtesy of the Linux-HA project at http://linux-ha.org/