You can start the deployment environment using the wsadmin command.
Before you begin
Ensure the wsadmin 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 start the deployment environment with the wsadmin command,
perform the following steps.
Procedure
- Open a command window.
- At the command prompt, enter the wsadmin command
to enter the command environment. The wsadmin command is
located in either the <WPS>/profiles/<dmgr profile>/bin directory
or the <WPS>/bin directory.
- Enter the startDeploymentEnv command
to start the deployment environment.
- If administrative security is on, enter your user ID and
password when prompted.
Example
This example starts the deployment environment (
MyDepEnv)
on the host (
myDmgr) with administrative security enabled.
Note: If
you are running the wsadmin client from the deployment
manager bin folder, you do not need to include the -host and -port parameters
in the command.
wsadmin -connType SOAP -host myDmgr -port 8879 -user dmgradmin -password dmgrpass
> $AdminTask startDeploymentEnv {-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.