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 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 MongoDB Agent with Backup.

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 Projects to Backup Resources

1

In a web browser, open Ops Manager.

2

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

  1. Click on your user name in the upper-right hand corner and select My Projects.
  2. Click Add Project.
  3. Enter the project name.
  4. Click Create Project.
3

Create a second Ops Manager project 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 Projects page.

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

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

  5. Select the local options for Project 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 Project 2.

7

Install agents.

  1. Install MongoDB Agent to the project assigned to Data Center 1.
  2. As needed for the MongoDB Agent used with the Data Center 1 project, activate:
  3. Install MongoDB Agent to the project assigned to Data Center 2.
  4. As needed for the MongoDB Agent used with the Data Center 2 project, activate: