IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)

addNodetoDeploymentEnvDef command

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

After using the command, save your changes to the master configuration using one of the following commands:

Required parameters

-topologyName name_of_topology

Specifies the name of the deployment environment that you are adding the node to.

-nodeRuntime name_of_node_runtime_capabilities

Attention: This parameter was deprecated in WebSphere Process Server V7. The wsadmin command gets the correct nodeRuntime value from the nodeName provided Specifies the node runtime capabilities for the node you are adding. Acceptable values for this parameter are as follows:

  • BPMAPC for IBM Business Process Manager Advanced Process Center

  • BPMAPS for IBM Business Process Manager Advanced Process Server

  • BPMPC for IBM Business Process Manager Process Center

  • BPMPS for IBM Business Process Manager Process Server

  • WESB for WebSphere ESB

  • WBM for IBM Business Monitor

-topologyRole role_of _topology

Specifies the role of the topology that you are adding the node to.

Valid values for this parameter are as follows:

  • ADT for a deployment target role

  • Messaging for a host messaging role

  • Support for a supporting services role

  • WebApp for a web application infrastructure

You can indicate one value or more than one value, each separated by a comma, for example ADT or ADT,Messaging,Support.

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 name_of_node

Specifies the name of the node you are adding.

-serverCount number_of_servers_on_node

Attention: This parameter was deprecated in WebSphere Process Server V7. In V7.5.1, this parameter is no longer supported.. Specifies the number of servers on the node you are adding for the role specified.

Optional parameters

None.

Examples

The examples are for illustrative purposes only. They include variable values and are not meant to be reused as snippets of code.

The following example uses addNodetoDeploymentEnvDef to add a node (MyNode) to a deployment environment definition (MyDepEnv) of a Messaging role.

Parent topic: Commands (wsadmin scripting)

Related information:

Obtaining online help using wsadmin scripting
Administrative command invocation syntax using wsadmin scripting
Use the wsadmin scripting tool
Jython script library