[AIX Solaris HP-UX Linux Windows]

serverQuiesce.py script

You can use the serverQuiesce.py script to decrease workload to a Session Initiation Protocol (SIP) container over an interval, and optionally stop the server. You can also cancel the quiesce during a set time interval if certain conditions are met.

Purpose

With this script, you can gradually decrease workload to a SIP container over an interval. You can also optionally stop the server.
[z/OS]Restriction: 智慧型管理 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 your task.

Operations

Use the following operations with the serverQuiesce.py script:

quiesceServer
Gradually decreases the workload to a SIP container.
Table 1. quiesceServer options
Option Description
nodeName Specifies the name of the node.
serverName Specifies the name of the server.
phaseOneInterval Specifies the 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 you 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.
Table 2. cancelQuiesce options
Option Description
nodeName Specifies the name of the node.
serverName Specifies the name of the server.

Example

./wsadmin.sh -f serverQuiesce.py quiesceServer node1 server1 300000 false

指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:14
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwve_sipcontscript
檔名:rwve_sipcontscript.html