+

Search Tips   |   Advanced Search

Monitor and tune the application placement controller

The application placement controller is designed to work with the default settings. However, there can be times when fine tuning the application placement controller becomes necessary to ensure the best results.

Before we can tune application placement, we need to have dynamic application placement running. For more information about enabling application placement, read about configuring dynamic application placement

Depending on the administrative role, you are allowed the following specific privileges when we are configuring the application placement controller:

We might tune the application placement controller for the following reasons:

  1. In the administrative console, click Operational policies > Autonomic managers > Application placement controller.

  2. Determine whether to modify the persistent settings in the configuration tab, which are permanent between stops and starts of the application placement controller, or test runtime settings in the runtime tab, which last for the life of the application placement controller. We can choose to modify the runtime settings and then find those settings are actually what to use as permanent settings. We can make runtime settings persistent settings by clicking Save to repository.

  3. Modify the application placement controller settings, as needed.

    The table following these steps contains the general configuration settings.

  4. Define custom properties to change placement behavior.

    We can specify the reservedMemoryFixed and reservedMemoryPercent custom properties to define how much node memory to reserve for processes that are not related to WebSphere Application Server or Intelligent Management. For information about custom properties that we can set on the application placement controller, read about application placement custom properties.

  5. Click Apply or OK. Save the changes.

  6. Iterate and modify the settings as needed. Make changes until you discover the best possible configuration for your environment.


Results

Setting Description
Enable Enables or disables the application placement controller. If we disable the application placement controller, you are disabling all autonomic operations for the dynamic clusters. After the placement controller is disabled, no dynamic changes occur with regard to the size and placement of applications on the dynamic cluster. This action is equivalent to turning all dynamic clusters to static clusters.
Approval timeout Controls how long the runtime task sits in the queue awaiting action before it expires automatically. Acceptable time values are 1 to 60 minutes. This setting is particular to the supervised operating mode. When the operating environment is set to run in supervised mode, the application placement controller creates tasks, but must wait for approval from the system administrator before making changes.

The application placement controller treats runtime tasks that are timed out as user-rejected tasks.

Server operation timeout Represents the amount of time, in minutes, that the application placement controller waits for a start or stop operation to complete before the operation is considered a failure.

Set this value to the predicted worst case time to start or stop a server. Acceptable values are between 1 to 60 minutes. If a server fails to start before the timeout, the server is put into maintenance mode. The application placement controller avoids trying to start that server again until you manually fix the start issue and manually start the server. When the server starts, the application placement controller detects that the server has started.

Servers are not automatically placed in maintenance mode when the servers fail to start before the server operation timeout. Instead, a runtime task is generated a when the server fails to start. The application placement controller does not attempt to start this server again until the server is successfully started manually. When you successfully start the server manually, the application placement controller receives a notification that the server has started.

The servers to be put into maintenance mode, we can set the maintenanceModeOnOperationFail custom property on the application placement controller.

To take servers out of maintenance mode after starting successfully, we can specify the unsetMaintenanceModeAfterStart custom property on the application placement controller. For information about custom properties that we can set on the application placement controller, read about application placement custom properties.

Minimum time between placement change Amount of time that the application placement controller waits before initiating a new batch of changes. The application placement controller might wait for a batch of changes after completing previous changes, or encountering a timeout. Acceptable values can range from 1 minute to 24 hours.

When setting this value, consider the overhead that is associated with starting and stopping servers. Start and stop servers can take several minutes and might introduce an additional load to the nodes.

If we allow the placement controllers to readjust application placement too often, the added overhead negates the increased performance gains that can be earned by readjusting the size of dynamic clusters. For example, if a server takes one minute to start, and the setting for the minimum time between placement changes is 20 minutes, then placement changes have a performance impact of approximately 5%.

Set this value at least 20 to 30 times larger than the time necessary to start a server. A value greater than several hours prevents application placement changes from happening more than once a day. If we believe that traffic load and application demands adjust several times during a day, you might want to allow placement changes to occur more frequently.

The application placement controller is tuned for its best performance.


Related concepts

  • Overview of application placement


    Related tasks

  • Configure dynamic application placement

  • Intelligent Management: administrative roles and privileges
  • PlacementControllerProcs.jacl script
  • Intelligent Management: application placement custom properties