Configure a dynamic cluster with heterogeneous nodes to support vertical stacking

We can configure vertical stacking for a dynamic cluster with nodes that each have different computing power by configuring custom properties for each node.

If the dynamic cluster is deployed to a group of nodes that are heterogeneous, configure the stacking number for each individual node. We can configure the stacking number for each node by creating custom properties on the dynamic cluster.

  1. Enable vertical stacking on the dynamic cluster.

    1. In the console, click Servers > Clusters > Dynamic clusters > cluster_name.

    2. To enable vertical stacking, click Allow more than one instance to start on the same node.

    3. Enter the number of instances to start on the same node. Set to the largest stacking number that you have determined for the nodes. When you define the individual stacking numbers as custom properties for each node, this value is overridden. However, if no custom property value is specified, the node uses the number of instances value defined on the console page.

  2. Create a custom property for the stacking number on one of the nodes. In the console, click Servers > Clusters > Dynamic clusters > cluster_name > Custom properties > New.

  3. Enter the name of the custom property. The name is numVerticalInstances.node, where node is the name of the node.


    For example: If wer node is named node1, the name of the custom property is numVerticalInstances.node1.

  4. Enter the value of the custom property. The value of this custom property is the stacking number that you calculated for the specified node.

  5. Add a custom property that defines the stacking number for each one of the nodes in the dynamic cluster.


Example

You have determined that among the three nodes on which your dynamic cluster runs, that each node has a different stacking number.

Node name Stacking number
node_1 3
node_2 5
node_3 8
To configure these stacking numbers in the console, use the following configuration:

  1. Set the number of instances value for the dynamic cluster to 8. The number of instances value must be greater than or equal to the largest stacking number.

  2. Specify the following custom properties:

    • numVerticalInstances.node_1 = 3

    • numVerticalInstances.node_2 = 5

    • numVerticalInstances.node_3 = 8


What to do next

Tune and monitor the application placement configuration.


Related concepts

  • Dynamic clusters


    Related tasks

  • Monitor and tune the application placement controller
  • Determine the stacking number for a dynamic cluster
  • Configure vertical stacking


    Related information:

  • Intelligent Management: dynamic cluster custom properties