Replication¶

Database replication ensures redundancy, backup, and automatic failover. Replication occurs through groups of servers known as replica sets.

This page lists the documents, tutorials, and reference pages that describe replica sets.

For an overview, see Replication Fundamentals. To work with members, see Replica Set Administration. To configure deployment architecture, see Replication Architectures. To modify read and write operations, see Application Development with Replica Sets. For procedures for performing certain replication tasks, see the list of replication tutorials.

Documentation¶

The following is the outline of the main documentation:

  • Replication Fundamentals
    • Member Configuration Properties
    • Failover
    • Consistency
    • Administration and Operations
  • Replica Set Administration
    • Member Configurations
    • Procedures
    • Security Considerations for Replica Sets
    • Troubleshooting Replica Sets
  • Replication Architectures
    • Three Member Sets
    • Sets with Four or More Members
    • Geographically Distributed Sets
    • Non-Production Members
    • Arbiters
  • Application Development with Replica Sets
    • Write Concern
    • Read Preference
  • Replication Internals
    • Oplog Internals
    • Data Integrity
    • Member Configurations
    • Security Internals
    • Election Internals
    • Syncing
  • Replica Set Commands
    • JavaScript Methods
    • Database Commands

Tutorials¶

The following tutorials describe certain replica set maintenance operations in detail:

  • Deploy a Replica Set
  • Convert a Standalone to a Replica Set
  • Add Members to a Replica Set
  • Deploy a Geographically Distributed Replica Set
  • Change the Size of the Oplog
  • Force a Member to Become Primary
  • Change Hostnames in a Replica Set
  • Convert a Secondary to an Arbiter
  • Reconfigure a Replica Set with Unavailable Members
  • Recover MongoDB Data following Unexpected Shutdown

Reference¶

The following describes the replica set configuration object:

  • Replica Set Configuration

The following describe MongoDB output and status related to replication:

  • Replica Set Status Reference
  • Replication Info Reference

MongoDB Manual

  • About MongoDB Documentation
  • Installing MongoDB
  • Replication
    • Documentation
      • Replication Fundamentals
      • Replica Set Administration
      • Replication Architectures
      • Application Development with Replica Sets
      • Replication Internals
      • Replica Set Commands
    • Tutorials
      • Deploy a Replica Set
      • Convert a Standalone to a Replica Set
      • Add Members to a Replica Set
      • Deploy a Geographically Distributed Replica Set
      • Change the Size of the Oplog
      • Force a Member to Become Primary
      • Change Hostnames in a Replica Set
      • Convert a Secondary to an Arbiter
      • Reconfigure a Replica Set with Unavailable Members
      • Recover MongoDB Data following Unexpected Shutdown
    • Reference
  • Sharding
  • Administration
  • Security
  • Indexes
  • Aggregation
  • Application Development
  • Using the MongoDB Shell
  • Use Cases
  • Frequently Asked Questions
  • Reference

Index

Formats

  • MongoDB Manual, Single HTML Page
  • MongoDB Manual, PDF Format
  • MongoDB Manual, ePub Format

Translations

  • Japanese
  • Chinese

Knowledge Base

  • Tutorials
  • Frequently Asked Questions
  • Use Cases

MongoDB Wiki

  • Getting Started
    • Introduction
    • Downloads
    • SQL to MongoDB Mapping
  • Developer Documentation
    • Connections
    • Databases
    • Collections
    • Documents
    • GridFS
    • Querying
    • Optimization
    • Inserting
    • Updating
    • Removing
    • MapReduce
  • Administrative Documentation
    • Journaling
    • Production Notes
    • Durability and Repair
    • GridFS Tools
    • DB Operations from the Shell
    • Windows
    • Troubleshooting
  • Community and Ecosystem
    • 10gen
    • MongoDB Events
    • MongoDB Masters
    • Slides and Video
    • Hosting Center
    • MongoDB Monitoring Service (docs)
    • Administrative Interfaces
    • MongoDB Books
  • Drivers
    • JavaScript (wiki, docs)
    • Python (wiki, docs)
    • Ruby (wiki, docs)
    • PHP (wiki, docs)
    • Perl (wiki, docs)
    • Java (wiki, docs)
    • Scala (wiki, docs)
    • C# (wiki, docs)
    • C (wiki, docs)
    • C++ (wiki, docs)
    • Haskell (wiki, docs)
    • Erlang (wiki, docs)

This documentation is a product of the MongoDB Documentation Project: fork the repository on GitHub, or open a Jira Case to contribute.

© Copyright 2011-2012, 10gen, Inc. Licensed under Creative Commons. MongoDB®, Mongo®, and the leaf logo are registered trademarks of 10gen, Inc.

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.