Server administration scripts

The scripting library provides multiple script procedures to automate your application server configurations. Use the application server scripts to delete, start, and stop servers. You can run each script individually or combine procedures to create custom automation scripts for your environment.

All server management script procedures are located in the app_server_root/scriptLibraries/servers/V85 directory.

Use the following script procedures to administer your application server:

startAllServers

This script starts all servers on a node in your configuration.

Table 1. startAllServers argument description. Run the script with the node name.
Argument Description
nodeName Specifies the name of the node of interest.

Syntax

AdminServerManagement.startAllServers(nodeName)

Example usage

AdminServerManagement.startAllServers("myNode")

startSingleServer

This script starts a specific server in your configuration.

Table 2. startSingleServer argument descriptions. Run the script with the node name and server name.
Argument Description
nodeName Specifies the name of the node of interest.
serverName Specifies the name of the server to start.

Syntax

AdminServerManagement.startSingleServer(nodeName, serverName)

Example usage

AdminServerManagement.startSingleServer("myNode", "myServer")

stopAllServers

This script stops all servers on a node in your configuration.

Table 3. stopAllServers argument description. Run the script with the node name.
Argument Description
nodeName Specifies the name of the node of interest.

Syntax

AdminServerManagement.stopAllServers(nodeName)

Example usage

AdminServerManagement.stopAllServers("myNode")

stopSingleServer

This script stops a single server in your configuration.

Table 4. stopSingleServer argument descriptions. Run the script with the node name and server name.
Argument Description
nodeName Specifies the name of the node of interest.
serverName Specifies the name of the server of interest.

Syntax

AdminServerManagement.stopSingleServer(nodeName, serverName, classname, displayname, classpath, otherAttributeList)

Example usage

AdminServerManagement.stopSingleServer("myNode", "myServer")

주제 유형을 표시하는 아이콘 참조 주제



시간소인 아이콘 마지막 업데이트 날짜: July 9, 2016 6:09
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rxml_7libserveradmin
파일 이름:rxml_7libserveradmin.html