Use the addNodeToDeploymentEnvDef command
to add a node to an existing deployment environment definition.
Purpose
This command adds a node to an existing
deployment environment definition.

>>-wsadmin-- --addNodeToDeploymentEnvDef------------------------>
>-- —topologyName-- --topologyName-- --------------------------->
>-- —nodeRuntime-- --nodeRuntime-- ----------------------------->
>-- —topologyRole-- --topologyRole-- --------------------------->
>-- —nodeName-- --nodeName-- —serverCount-- --serverCount------><
Parameters
- -topologyName topologyName
- A required parameter that specifies the name of the deployment
environment from which you are adding the node.
- -nodeRuntime nodeRuntime
- A required parameter that specifies the node runtime capabilities
for the node you are adding. Acceptable values for this parameter
are as follows:
- -topologyRole topologyRole
- A required parameter that specifies the role of the topology to
which you are adding the node.
Valid values for this parameter
are as follows:
- ADT for a deployment target role
- Messaging for host messaging role
- Support for supporting services role
You can indicate one value or more than one value, each
separated by a comma, for example ADT or ADT,Messaging,Support.
Note: If
you are adding the node to a single cluster topology pattern, you
must set the value for -topologyRole to ADT.
Failure to do so will result in an exception error. Deployment environment
topology patterns are specified when you create the deployment environment
using either the createDeploymentEnvDef command or
the Deployment Environment Configuration wizard.
- -nodeName nodeName
- A required parameter that specifies name of the node you are adding.
- -serverCount -serverCount
- A required parameter that specifies number of servers on the node
you are adding for the role specified
Examples
The following example uses
addNodeToDeploymentEnvDef to
add a node (
MyNode) to a deployment environment definition
(
MyDepEnv) of a Messaging role.
wsadmin -connType SOAP -host myDmgr -port 8879 -user dmgrAdmin -password dmgrPass
> $AdminTask addNodeToDeploymentEnvDef { -topologyName MyDepEnv -nodeRuntime WESB -topologyRole Messaging -nodeName MyNode -serverCount 3}