Assigning a Host to An Environment

You can assign a host to all environments or to specific environments.

Procedure

  1. Select Infrastructure > Hosts.
  2. Select a Host.
  3. Click the Environments tab.
  4. Choose whether to assign the host to all environments or to specific environments.
    Option Description
    All Environments
    1. Click Host Assigned to All Environments.
    2. Click Save.
    Specific Environments
    1. Click Host Assigned to Specific Environments.
    2. Select an environment from the Available Environment box and use the arrow to move it to Assigned to Environments box.

      Repeat the above step to select more environments.

    3. Click Save.

CLI

Procedure

  1. In the AMXAdminTask element, type the action attribute to add, and the objectSelector attribute to Environment/Host.
    <AMXAdminTask action="add" objectSelector="Environment/Host"/>
  2. Invoke the command-line interface on the build file.