Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 40 lines (28 sloc) 1.381 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
====================
Deploy a Replica Set
====================

.. default-domain:: mongodb

.. include:: /includes/introduction-deploy-replica-set.rst

Requirements
------------

For production deployments, you should maintain as much separation between
members as possible by hosting the :program:`mongod`
instances on separate machines. When using virtual machines for
production deployments, you should place each :program:`mongod`
instance on a separate host server serviced by redundant power circuits
and redundant network paths.

Before you can deploy a replica set, you must install MongoDB on
each system that will be part of your :term:`replica set`.
If you have not already installed MongoDB, see the :ref:`installation tutorials <tutorial-installation>`.

Before creating your replica set, you should verify that your network
configuration allows all possible connections between each member. For
a successful replica set deployment, every member must be able to
connect to every other member. For instructions on how to check
your connection, see :ref:`replica-set-troubleshooting-check-connection`.

.. _considerations-when-deploying-rs:

Considerations When Deploying a Replica Set
-------------------------------------------

.. include:: /includes/considerations-deploying-replica-set.rst

Procedure
---------

.. include:: /includes/steps/deploy-replica-set.rst
Something went wrong with that request. Please try again.