(Dist) serverQuiesce.py script
Use the serverQuiesce.py script to decrease workload to a SIP container over an interval, and optionally stop the server. We can also cancel the quiesce during a set time interval if certain conditions are met.
With this script, we can gradually decrease workload to a SIP container over an interval. We can also optionally stop the server.
(ZOS) Restriction: Intelligent Management does not support SIP features on the z/OS operating system.
The serverQuiesce.py script is located in the app_server_root/bin directory.
Run the following command.
./wsadmin.sh -f serverQuiesce.py <operation> [options]Replace the <operation> and [options] variables with the appropriate operation and options for our task.
Operations
Use the following operations with the serverQuiesce.py script:
- quiesceServer
- Gradually decreases the workload to a SIP container.
Option Description nodeName Name of the node. serverName Name of the server. phaseOneInterval Time in milliseconds for the interval. performPhaseTwo Specifies a boolean that indicates whether to stop the server.
- cancelQuiesce
- Cancels the quiesce during the time interval that we set. To successfully cancel the quiesce, ensure that the time interval has not expired and the optional server stop occurs at the end of the interval.
Option Description nodeName Name of the node. serverName Name of the server.
Example
./wsadmin.sh -f serverQuiesce.py quiesceServer node1 server1 300000 false
Related:
Overview of request flow prioritization Intelligent Management: administrative roles and privileges Intelligent Management: rules for ODR service policy administrative tasks