Showing results for 
Show  only  | Search instead for 
Did you mean: 
AppDynamics Team

What do I need to know to set up a Database Agent with High Availability?

In this article 


Starting principles

The purpose of running agents in High Availability (HA) is to minimize disruption. When one agent fails or is experiencing downtime, then the other agent can continue to monitor and report.


At any given time, one Agent will be active while the others are in passive states. If one Agent goes down, the other Agents will, in turn, pick up the Database Collectors and begin reporting.


Agent location and naming for HA

To set up a Database Agent with High Availability (HA), we recommend installing each Agent on a different host. If the Agents must be on the same host, then they need to be installed into different folders. 


The primary and secondary Database Agent should both have exactly the same name. For example,<same-name>.






(host 1)

$ java -jar db-agent.jar


(host 2)

$ java -jar db-agent.jar


Start the agents using the steps in Start and Stop the Documentation.



Crucial considerations for configuration 

Keep in mind that all Database Agents in the HA configuration should:

  • Be running at all times —
    If the Agents are not running, then the Agents will not be visible on the Controller
  • Have access to the monitoring databases which are defined in the Collector configuration

In addition, be sure that Collectors are configured to use the active Agent.



Additional Resources

Version history
Last update:
‎03-14-2022 09:38 AM
Updated by: