Navigation
This version of the documentation is archived and no longer supported. To learn how to upgrade your version of MongoDB Ops Manager, refer to the upgrade documentation.
You were redirected from a different version of the documentation. Click here to go back.

Move or Add a Monitoring or Backup Agent

On this page

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 also can add additional instances of each agent as hot standbys for high availability. If you run multiple agents, only one Monitoring Agent and one Backup Agent per group or environment are primary. Only the primary agent reports cluster status and performs backups. If you run multiple agents, see Confirm Only One Agent is Actively Monitoring.

Procedures

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 the Deployment tab, then click the Deployment page.

2

Select the Servers tile view.

The Servers tile view displays each provisioned server that is currently running one or more agents.

3

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

4

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

5

Click Review & Deploy to review your changes.

6

Review and approve your changes.

Ops Manager displays your proposed changes.

  1. If they are acceptable, click Confirm & Deploy.
  2. If they are unacceptable, click Cancel and you can make additional changes.

Install Additional Agent as Hot Standby for High Availability

If you run multiple agents, see Confirm Only One Agent is Actively Monitoring to ensure no conflicts.

1

Click the Deployment tab, then click the Deployment page.

2

Click the first of the two Servers icons.

3

On the server to which to add an additional agent, click the ellipsis icon and select the agent to add.

4

Click Review & Deploy to review your changes.

5

Review and approve your changes.

Ops Manager displays your proposed changes.

  1. If they are acceptable, click Confirm & Deploy.
  2. If they are unacceptable, click Cancel and you can make additional changes.