WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


Creating deployment environment definitions using the command line

You can create deployment environment definitions using the wsadmin command. You can use the wsadmin command to create the same deployment environment as you can create from the administrative console. This capability allows you to run the administrative task to create a new definition with all the default values based on an existing configuration.

Before you begin

You must be at the deployment manager from which you are creating deployment environment definitions.

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

About this task

This task creates a deployment environment definition that is based on a specific pattern and uses the wsadmin command.

Procedure
  1. Open a command window.

    The wsadmin command can be found at either the <ESB>/profiles/<dmgr profile>/bin directory, or the <ESB>/bin directory.

  2. At the command prompt, enter the wsadmin command to enter the wsadmin environment.
  3. Use the createDeploymentEnvDef command to create the deployment environment definition with a specific name for a particular runtime and pattern.
    Note: If administrative security is on, you will be prompted for a user ID and password, if you do not supply it in the command.

Example

This example creates a deployment environment definition for single cluster pattern on a WebSphere® ESB runtime myDepEnv on the host myDmgr with administrative security enabled:

wsadmin -connType SOAP -host myDmgr -port 8879 > $AdminTask -createDeploymentEnvDef { -topologyName topOne -topologyPattern singleCluster -topologyRuntime WESB}

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

task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/tadm_createdepenvcmd.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).