IBM BPM, V8.0.1, All platforms > Administer the IT infrastructure > Start and stop individual resources > Start and stop deployment environments

Stopping the deployment environment using the command line

You can stop the deployment environment using wsadmin.sh.

Ensure the wsadmin.sh client can connect to the dmgr for the deployment environment.

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

To stop the deployment environment with wsadmin.sh...


Procedure

  1. Open a command window.

  2. At the command prompt, enter wsadmin.sh to enter the command environment. The wsadmin.sh command is located in directories...

      WPS/profiles/dmgr_profile/bin
      WPS/bin

  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.

If you are running the admin client from the dmgr bin folder, you do not need to include the -host and -port parameters in the command.

$ ./wsadmin.sh -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.

Start and stop deployment environments


Related information:
Commands and scripts
stopDeploymentEnv command