+

Search Tips   |   Advanced Search

Elasticity mode

Use elasticity mode to add logic that causes the application placement controller to minimize the number of nodes used, as well as remove nodes that are not needed, while still meeting service policy goals. Additionally, we can use elasticity mode to add logic so that, when the controller recognizes that a particular dynamic cluster is not meeting service policies and has started all possible servers, the controller adds a node.

Elasticity mode enables a WebSphere cell to grow or shrink dynamically by adding or removing nodes. An elasticity operation defines the runtime behaviors to monitor, and the corrective actions to take when the behaviors are present. As part of the steps for configuring elasticity mode, we create custom actions to define the actions associated with the elasticity operations: the add operation and the remove operation. The add operation is issued when all of the resources of the application placement controller are being used, but more resources are still needed to meet the current demand. The remove operation is issued when the application placement controller has an excessive amount of resources.

If the elasticity mode is disabled, dynamic clusters start and stop cluster members in the following situations:

With elasticity enabled, additional options are:


Add operation

When elasticity mode is enabled, the application placement controller issues an add operation when all of the members of a dynamic cluster cannot meet the current demand. The controller attempts to consolidate and start all of the servers on the minimum number of nodes as possible.

When the action associated with the add operation is complete, the controller starts a server on the new node. The new node must be added as a member of the dynamic cluster that requested the addition. If a new node is not added, the controller continues to issue the add operation until all required resources are received or the demand decreases.


Remove operation

The remove operation first stops any started dynamic cluster instances before starting the associated actions. It is important to know that if the dynamic cluster is set to manual mode, the remove operation is issued on any nodes that do not have any started application servers. When elasticity mode is enabled and a node is no longer required to meet the current demand, the application placement controller issues a remove operation. Any nodes that are not part of any dynamic clusters with no running application servers are first removed. Next, an attempt is made to remove a node that does contain a dynamic cluster instance as long as the instance is not running and no other application servers are running. Finally, an attempt is made to remove nodes that only have one or more started dynamic clusters. The remove operation occurs only if that node is not required to meet the minimum number of instances for a dynamic cluster, or is not required to meet the current demand.

When the application placement controller is running without elasticity mode enabled, the controller issues start and stop operations for application servers. Servers are started due to an increased demand for CPU or memory, but the servers are not stopped after they are started. When elasticity mode is enabled and the servers are not needed, however, the stop operation is issued and the servers are stopped even after they are started. After all of the servers on the physical machine or virtual machine are stopped, the application placement controller issues the remove operation.


Considerations when using elasticity mode

Consider the following information when using elasticity mode.


Considerations when using elasticity to manage JMS traffic that originates from WebSphere MQ


Related tasks

  • Configure multi-cell performance management: Star Topology
  • Configure elasticity mode

  • Intelligent Management: scripts
  • Intelligent Management: custom properties