Configuring Agents to share one installation and connect to multiple Enterprise Managers.

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

  A customer wants to share one Agent installation for multiple Agents. Also, they want to connect to different Enterprise Managers.  Is there a way to do this?

Environment:
Applies to 10.2 to current latest 10.5.2 versions.
Answer:

 Customer can add '-DagentManager.url.1=<EM HOST>:<PORT>' for the different Enterprise Managers (EM) to the JVM options for the different Agents and comment out 'agentManager.url.1' in the Agent profile.  A restart of the managed application is required.