You can configure vertical stacking for a dynamic cluster
with nodes that each have different computing power by configuring
custom properties for each node.
Before you begin
- Determine the stacking number for each of your dynamic cluster
nodes. For more information, read about this task. If you determine
that your application does not have an internal bottleneck when you
perform application profiling, do not enable vertical stacking.
About this task
If your dynamic cluster is deployed to a group of nodes that
are heterogeneous, you must configure the stacking number for each
individual node. You can configure the stacking number for each node
by creating custom properties on the dynamic cluster.
Procedure
- Enable vertical stacking on the dynamic cluster.
- In the administrative console, click .
- To enable vertical stacking, click Allow
more than one instance to start on the same node.
- Enter the number of instances to start on the same node.
Set this value to the largest stacking number that you have
determined for your 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 that is defined on the administrative console
page.
- Create a custom property for the stacking number on one
of your nodes.
In the administrative console, click .
- Enter the name of the custom property.
The name
is numVerticalInstances
.node_name, where node_name is
the name of your node.
For example: If your
node is named node1
, the name of your custom property
is numVerticalInstances.node1
.
- Enter the value of the custom property.
The
value of this custom property is the stacking number that you calculated
for the specified node.
- Add a custom property that defines the stacking number
for each one of your 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.
Table 1. Heterogeneous node stacking number scenario
Node name |
Stacking number |
node_1 |
3 |
node_2 |
5 |
node_3 |
8 |
To configure these stacking numbers in the administrative
console, use the following configuration:
- Set the number of instances value for the
dynamic cluster to 8. The number of instances value must
be greater than or equal to your largest stacking number.
- Specify the following custom properties:
- numVerticalInstances.node_1 = 3
- numVerticalInstances.node_2 = 5
- numVerticalInstances.node_3 = 8
What to do next
Tune and monitor your application placement configuration.