+

Search Tips   |   Advanced Search

Cluster administration scripts

The scripting library provides multiple script procedures to automate the application server configurations. Use the scripts in this topic to start and stop cluster processes with a variety of options. We can run each script individually or combine procedures to create custom automation scripts.

The AdminClusterManagement script procedures are located in the app_server_root/scriptLibraries/server/V70 directory.

Use the following script procedures to start cluster processes in our environment:

Use the following script procedures to stop cluster processes in the environment:


rippleStartAllClusters

This script stops and restarts each cluster within a cell configuration.

Syntax

Example usage


rippleStartSingleCluster

This script stops and restarts the cluster members within a specific cluster configuration.

argument description. To run the script, specify the
Argument Description
clusterName Name of the cluster to stop and restart.

Syntax

Example usage


startAllClusters

This script starts each cluster within a cell configuration.

Syntax

Example usage


startSingleCluster

This script starts a specific cluster in the configuration.

Argument Description
clusterName Name of the cluster of interest.

Syntax

Example usage


immediateStopAllRunningClusters

This script stops the server cluster members for each active cluster within a specific cell. The server ignores any current or pending tasks. When the stop operation begins, the cluster state changes to partially stopped. After all servers stop, the cluster state becomes stopped.

Syntax

Example usage


immediateStopSingleCluster

This script stops the server cluster members for a specific cluster within a cell. The server ignores any current or pending tasks. When the stop operation begins, the cluster state changes to partially stopped. After all servers stop, the cluster state becomes stopped.

Argument Description
clusterName Name of the cluster to stop.

Syntax

Example usage


stopAllClusters

This script stops the server cluster members of each active cluster within a specific cell. Each server stops so that the server can complete existing requests and allow failover to another member of the cluster. When the stop operation begins the cluster state changes to partially stopped. After all servers stop, the cluster state becomes stopped.

Syntax

Example usage


stopSingleCluster

This script stops the server cluster members of a specific active cluster within a cell. Each server stops so that the server can complete existing requests and allow failover to another member of the cluster. When the stop operation begins the cluster state changes to partially stopped. After all servers stop, the cluster state becomes stopped.

Argument Description
clusterName Name of the cluster to stop.

Syntax

Example usage


Related tasks

  • Use the script library to automate the application serving environment
  • Automating server administration
  • Clustering servers with wsadmin scripting
  • Balancing workloads

  • Cluster configuration scripts
  • Cluster query scripts