Administration scripts (wsadmin)

A number of wsadmin scripts are provided for common administration functions. These can be used as is, or modified to suit specific environments.

The wsadmin scripts are written in Jacl. They are located in the WSRR installation path, at:

<WAS_INSTALL_ROOT>\WSRR\admin\scripts_cell

All WSRR wsadmin scripts are invoked from the wsadmin environment (both command line or batch file) and must include the ServiceRegistryClient.jar on the wsadmin classpath, and any parameters required by the script:

wsadmin -f <script filename> <script parameters>

The command is entered as one line. The script filename parameter is the path to the Jacl script file. The script parameters are specific to each script, as described in following sections.

If your WSRR system does not use the standard SOAP port 8880, you must specify your SOAP port number as follows:
wsadmin -port <SOAP_port> -f <script filename> <script parameters>

Additional parameters are required if you are managing WSRR in a WebSphere® Application Server that has global security enabled, or you want to use RMI instead of SOAP. These parameters are described by the wsadmin usage message; see wsadmin tool in the WebSphere Application Server Information Center for further details.

The WebSphere Application Server must be in started state, as must the Service Registry application.

The administration scripts are described in detail in the following sections: