702 WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile
When using the MODIFY command, if the minimum value is greater than the configured value,
the excess servants are started. If the minimum value is less than the configured value, the
excess servants are stopped.
Similarly, if the current number of servants running is four, and there are requirements for
more servants, WLM starts the additional servants until the maximum configured value is
reached.
For more information about configuring the servant region, refer to the following website:
http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.webspher
e.zseries.doc%2Fae%2Ftrun_control_servants.html
18.4.1 Balancing workload with WLM
When using multiple servants, there can be situations where one servant is utilized more than
the other servants because WLM will not bring another servant region in use until the first one
is fully used or a problem is encountered with the servant region.
To help evenly distribute the workload between servant regions, you can use the environment
variable for enabling WLM stateful session placement.
To set the variable on: wlm_stateful_session_placement_on.
This tells WLM to balance session affinities across different servant regions. Session affinity
is when a session is established in a particular JVM, subsequent requests that belong to the
same session are assigned to the JVM that has the established session affinity.
By using the wlm_stateful_session_placement_on variable, WLM balances the load between
servant regions. So if a new user request comes in, WLM directs the request to another
servant region.
This setting is mainly used for applications having requirements for session affinity.
18.4.2 Balancing workload without WLM
There can be situations where you do not want to use WLM for load balancing but rather
based load balancing on application requirements. In this case, work distribution can be
controlled using WebSphere queuing, following an algorithm based on application
requirements, such as round robin or session affinity. The application server custom property
server_work_distribution_algorithm can be used.