How to assign agents to environment using command line or API?

Document ID : KB000012620
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How to assign agents to environment using command line or API?

Answer:

There is no command line utility for this matter.
We have 2 ways to assign agents to environment using other utilities.

  1. Using RA Action
    You can use [Application Environment - Assign Servers] action, if you want to assign agents in your deployments.
  2. Using SOAP API
    If you want to assign agents from external, you can use SOAP method [mapInstanceToEnvironment]. It needs some coding, so CA Services can assist you with fee if you need.
Additional Information:

You can find SOAP API Reference:

  1. Access on your NAC.
    http://<NAC>:8080/datamanagement/docs/index.html
  2. Select [Index] on top of menu.
  3. Click [M] in the index and select [mapInstanceToEnvironment].