(dist)serverQuiesce.py script
We can use the serverQuiesce.py script to decrease workload to a Session Initiation Protocol(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.
Purpose
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.
Location
The serverQuiesce.py script is located in the app_server_root/bin directory.
Usage
Run the following command.
./wsadmin.sh -f serverQuiesce.py <operation> [options]
Replace the <operation> and [options] variables with the appropriate operation and options for the 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 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 concepts
Overview of request flow prioritization
Intelligent Management: administrative roles and privileges
Related information:
Intelligent Management: rules for ODR service policy administrative tasks