WAS v8.5 > Reference > Jython script library

Server administration scripts

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

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

Use the following script procedures to administer the application server:


startAllServers

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

startAllServers argument description. Run the script with the node name.

Argument Description
nodeName Name of the node of interest.

Syntax

Example usage


startSingleServer

This script starts a specific server in your configuration.

startSingleServer argument descriptions. Run the script with the node name and server name.

Argument Description
nodeName Name of the node of interest.
serverName Name of the server to start.

Syntax

Example usage


stopAllServers

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

stopAllServers argument description. Run the script with the node name.

Argument Description
nodeName Name of the node of interest.

Syntax

Example usage


stopSingleServer

This script stops a single server in your configuration.

stopSingleServer argument descriptions. Run the script with the node name and server name.

Argument Description
nodeName Name of the node of interest.
serverName Name of the server of interest.

Syntax

Example usage


Related


Use the script library to automate the application serving environment using wsadmin.sh
Automating server administration using wsadmin.sh


Reference:

Server query scripts
Server settings configuration scripts


+

Search Tips   |   Advanced Search