Navigation

Move or Add a Monitoring or Backup Agent

Overview

When you deploy MongoDB as a replica set or sharded cluster on a group of servers, Ops Manager selects a server to run the Monitoring Agent. If you enable Ops Manager Backup, Ops Manager also selects a server to run the Backup Agent.

You can move the Monitoring and Backup Agents to different servers in the deployment. You might choose to do this, for example, if you are terminating a server.

You can add additional Monitoring Agents to provide failover and to distribute monitoring assignments. To distribute monitoring assignments, you must run Monitoring Agent version 5.0.0 or higher. For more information, see Multiple Monitoring Agents.

You can add additional Backup Agents as hot standbys for high availability. If you run multiple Backup Agents, only one Backup Agent in your group’s deployment is the primary agent and performs backups. Any other agents are standbys.

Move a Monitoring or Backup Agent to a Different Server

To move an agent to a new server, you install a new instance of the agent on the target server, and then remove the agent from its original server.

1

Click Deployment, then Servers.

Ops Manager displays each provisioned server that is currently running one or more agents.

2

On the server to which to move the agent, click the ellipsis icon and select to install that type of agent.

3

On the server from which to remove the agent, click the ellipsis icon and remove the agent.

4

Click Review & Deploy to review your changes.

5

Review and approve your changes.

Ops Manager displays your proposed changes.

  1. If you are satisfied, click Confirm & Deploy.
  2. Otherwise, click Cancel and you can make additional changes.

Install an Additional Monitoring Agent

1

Click Deployment, then Servers.

2

On the server to which to add the agent, click the ellipsis icon and select Install Monitoring Agent.

3

Click Review & Deploy to review your changes.

4

Review and approve your changes.

Ops Manager displays your proposed changes.

  1. If you are satisfied, click Confirm & Deploy.
  2. Otherwise, click Cancel and you can make additional changes.

Install an Additional Backup Agent

1

Click Deployment, then Servers.

2

On the server to which to add the agent, click the ellipsis icon and select Install Backup Agent.

3

Click Review & Deploy to review your changes.

4

Review and approve your changes.

Ops Manager displays your proposed changes.

  1. If you are satisfied, click Confirm & Deploy.
  2. Otherwise, click Cancel and you can make additional changes.