Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Command Reference

## STOPCLUSTER

Forces all servers in a cluster to shut down without waiting for active sessions to complete.

To verify that the command succeeds for a given server instance, refer to the server's local message log and look for the following message:
`<BEA-000238> <Shutdown has completed.>`

Review the message time stamp to verify that it was generated by the server session for which you issued the stop command.

For more information about forced shutdowns, refer to "Forced Shutdown" in the Configuring and Managing WebLogic Server guide.

### Syntax

>     java [ SSL Arguments ] weblogic.Admin
>          [-url URL]
>          [ User Credentials Arguments ]
>        STOPCLUSTER -clusterName clusterName

Argument | Definition
--- | ---
{-url [`protocol``://`]`listen-address:listen-port``}` | Specify the listen address and listen port of the Administration Server. If you specify a secure listen port, you must also specify a secure protocol. If you do not specify a value, the command assumes `t3://localhost:7001`. For more information, refer to the -url entry in Table 1-3 on page 11 and Protocol Support.
`-clusterName` `clusterName` | The name of the cluster as specified in the domain's configuration file (`config.xml`).

### Example

The following example stops a cluster:

>     java weblogic.Admin -url AdminHost:7001
>       -username weblogic -password weblogic
>       STOPCLUSTER -clustername MedRecCluster

For more information about the environment in which this example runs, refer to Example Environment.

If the command succeeds, it returns output similar to the following:

>     Shutting down servers in cluster MedRecCluster: MedRecMS2,MedRecMS1
>     All servers in the cluster "MedRecCluster" were issued the shutdown request.
>     Look in the server logs to verify the success or failure of the shutdown
>     request.