cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How do I set up a Database agent with High Availability?

To set up a Database Agent with High Availability (HA), start multiple Database Agents using the same name.

 

Example: -Ddbagent.name=<same-name>


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 pick up the Database Collectors and begin reporting

 

Example:

  • First Database Agent has the name “abc.”
    • $ java -Ddbagent.name=abc -jar db-agent.jar
  • Second Database Agent has the same name, “abc.”
    • $ java -Ddbagent.name=abc -jar db-agent.jar

 

Points to note:

  • Both Agents should be running at all times.
  • Both Database Agents should have access to the monitoring databases which are defined in the Collector configuration.
  • If the Agents are not running, then the Agents will not be visible on the Controller.
  • Collectors should be configured to use the active Agent.

 

Related Links:

Version history
Last update:
‎10-04-2018 03:48 PM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos