Adds a standalone instance to an existing deployment group.


asadmin [asadmin-options] add-instance-to-deployment-group [--help]
[--instance instanceName]
[--deploymentgroup deploymentGroupName]


The add-instance-to-deployment-group subcommand will add the referenced instance to the referenced deployment group.

This command will only work with standalone instances (see here for more information).

This subcommand is supported in remote mode only.



Options for the asadmin utility. For information about these options, see the asadmin help page.


Displays the help text for the subcommand.


The name of the standalone instance that will be added to the deployment group. The command will fail if the name doesn’t match to an existing standalone instance.


The name of the deployment group to which the standalone instance will be added. The command will fail if the name doesn’t match to an existing deployment group.


Example 1 Add an instance to a Deployment Group

This example adds an instance named test-instance-1 to a deployment group named test-dgroup:

asadmin add-instance-to-deployment-group --instance=test-instance-1 --deploymentGroup=test-dgroup

Command add-instance-to-deployment-group executed successfully.

Exit Status


command executed successfully


error in executing the command

See Also