Stopping the deployment environment using the command line

You can stop the deployment environment using the This topic applies only to the z/OS platformwsadmin.shThis topic applies only to the Distributed platformswsadmin command.

Before you begin

Ensure the This topic applies only to the z/OS platformwsadmin.shThis topic applies only to the Distributed platformswsadmin client can connect to the deployment manager for the deployment environment.

Required security role for this task: When security and role-based authorization are enabled, you must use a user ID and password with administrator or operator authority to perform this task.

About this task

To stop the deployment environment with the This topic applies only to the z/OS platformwsadmin.shThis topic applies only to the Distributed platformswsadmin command, perform the following steps.

Procedure

  1. Open a command window.
  2. At the command prompt, enter the This topic applies only to the z/OS platformwsadmin.shThis topic applies only to the Distributed platformswsadmin command to enter the command environment. The This topic applies only to the z/OS platformwsadmin.shThis topic applies only to the Distributed platformswsadmin command is located in either the <WPS>/profiles/<dmgr profile>/bin directory or the <WPS>/bin directory.
  3. Enter the stopDeploymentEnv command to stop the deployment environment.
  4. If administrative security is on, enter your user ID and password when prompted.

Example

This example stops the deployment environment (MyDepEnv) on the host (myDmgr) with administrative security enabled.
Note: If you are running the admin client from the deployment manager bin folder, you do not need to include the -host and -port parameters in the command.
This topic applies only to the z/OS platform
wsadmin.sh -connType SOAP -host myDmgr -port 8879 -user dmgradmin -password dmgrpass
> $AdminTask stopDeploymentEnv {-topologyName myDepEnv}
This topic applies only to the Distributed platforms
wsadmin -connType SOAP -host myDmgr -port 8879 -user dmgradmin -password dmgrpass
> $AdminTask stopDeploymentEnv {-topologyName myDepEnv}

The -connType parameter specifies the type of connection to be used; the default argument is SOAP. If you are using a SOAP connection, including this parameter is optional.

The -host parameter specifies the host used for the SOAP or RMI connection. The default value for -host is the local host. If the node is running on the local host, you don not need to include this parameter.

If you disable administrative security, you do not need to provide a user ID and password.