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.

Assign Snapshot Stores to Specific Data Centers

Overview

Additional Snapshot Stores can be added to meet storage requirements. These additional stores can be deployed in the same data center as the first store. There are times where these stores need to be deployed to other data centers due to either network performance issues or regulatory requirements.

You can bind specific Ops Manager groups to specific snapshot stores and particular data centers. This assigns the backups of particular MongoDB deployments to specific data centers.

Diagram showing the flow of data for Ops Manager's backup components when using two Data Centers.

This tutorial sets up two snapshot stores, one in each of two separate data centers, and attaches a separate group to each.

Prerequisites

  • Configure the two Ops Manager Application instances to share a single dedicated Ops Manager Application Database.
    • The members of the Ops Manager Application Database replica set can be put in each data center.
  • Configure each Backup Agent to use the URL for its local Ops Manager Application.
    • Each Ops Manager Application can use a different hostname or a split-horizon DNS to point each agent to its local Ops Manager Application.

Note

The Ops Manager Application Database and the Backup Blockstore Databases are MongoDB databases and can run as standalones or replica sets.

For production deployments, use replica sets to provide database high availability.

Procedures

Provision Servers in Each Data Center

Each data center must host its own Backup Blockstore Database or File System Store, Ops Manager Application and Backup Agent.

Each server must meet the cumulative hardware and software requirements for the components it runs. See Ops Manager System Requirements.

All servers running Backup and Ops Manager Application Databases use MongoDB. They must meet the configuration requirements in the MongoDB Production Notes.

Install MongoDB

Install MongoDB on the servers that host the:

  • Ops Manager Application Database
  • Blockstore Databases

See Install MongoDB in the MongoDB manual to find the correct install procedure for your operating system.

To run replica sets for the Ops Manager Application Database and Blockstore Databases, see Deploy a Replica Set in the MongoDB manual.

Install and Start the Ops Manager Application

Install the Ops Manager Application in each data center.

Note

See Install Ops Manager for instructions for your operating system.

Important

Each set of installation instructions for each operating system covers how to create a multiple instances of an Ops Manager Application. These activities need to be completed before binding groups to the backup resources.

Bind Groups to Backup Resources

1

In a web browser, open Ops Manager.

2

Create a new Ops Manager group for Data Center #1.

  1. Click Settings.
  2. Click the My Groups page.
  3. Click Add Group.
  4. Enter the group name.
  5. Click Create Group.
3

Create a second Ops Manager group for the Data Center #2.

4
5

Configure backup resources.

  1. Click the Backup tab.
  2. Click the Daemons page and check that there are two daemons listed.
  3. Click the Snapshot Storage page.
  4. Create a file system store or a blockstore using network storage or a MongoDB database in Data Center #2.
  5. Click Save.
  6. Click the Oplog Storage page.
  7. Add an oplog store using a MongoDB database in Data Center #2.
  8. Click Save.
6

Assign resources to the data centers.

  1. Click the General tab.

  2. Click the Groups page.

  3. Select the name of the group assigned to Data Center 1.

  4. Click the View link to the right of Backup Configuration.

  5. Select the local options for Group 1 / Data Center 1.

    Menu Option
    Backup Daemons Choose Select Backup Daemons then check the daemon that is in Data Center 1.
    Oplog Stores Choose Select Oplog Stores then check the oplog store that is in Data Center 1.
    Snapshot Stores Choose Select Snapshot Stores then check the snapshot store that is in Data Center 1.
  6. Repeat steps a to e for Group 2.

7

Install agents.

If you are using Automation:

  1. Install the Automation Agent for the group in Data Center 1 on each server in Data Center 1.
  2. Install the Automation Agent for Data Center 2 on each server in Data Center 2.
  3. The Automation Agent installs the Monitoring and Backup agents as needed.

If you are not using Automation:

  1. Select the group assigned to Data Center 1 from the drop-down menu in the top navigation bar.
  2. Click Deployment, then the Agents tab.
  3. Click Downloads & Settings.
  4. Download and install the Monitoring and Backup agents for the group assigned to Data Center 1.
  5. Select the group in Data Center 2 from the drop-down menu in the top navigation bar.
  6. Download and install its Monitoring and Backup agents.