Replication¶

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

For an overview, see Replica Set Fundamental Concepts. To work with members, see Replica Set Operation and Management. To configure deployment architecture, see Replica Set Architectures and Deployment Patterns. To modify read and write operations, see Replica Set Considerations and Behaviors for Applications and Development. For procedures for performing certain replication tasks, see the list of replication tutorials. For documentation of MongoDB’s operational segregation capabilities for replica set deployments see the Data Center Awareness

This section contains full documentation, tutorials, and pragmatic guides, as well as links to the reference material that describes all aspects of replica sets.

Replica Set Use and Operation¶

Consider these higher level introductions to replica sets:

  • Replica Set Fundamental Concepts
  • Replica Set Operation and Management
  • Replica Set Architectures and Deployment Patterns
  • Replica Set Considerations and Behaviors for Applications and Development
  • Replica Set Internals and Behaviors

The following document describes master-slave replication, which is deprecated. Use replica sets instead of master-slave in all new deployments.

  • Master Slave Replication

Replica Set Tutorials and Procedures¶

The following tutorials describe a number of common replica set maintenance and operational practices in greater detail.

Getting Started with Replica Sets¶

  • Deploy a Replica Set
  • Convert a Standalone to a Replica Set
  • Add Members to a Replica Set
  • Deploy a Geographically Distributed Replica Set

Replica Set Maintenance and Administration¶

  • 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

Replica Set Reference Material¶

Additionally, consider the following reference listed in this section. 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

Finally, consider the following quick references of the commands and operations available for replica set administration and use:

  • Replica Set Commands
  • Replica Set Features and Version Compatibility
  • <   2d Geospatial Indexes
  • Replica Set Fundamental Concepts  >

MongoDB Manual (Index)

  • Installing MongoDB
  • Administration
  • Security
  • Core MongoDB Operations (CRUD)
  • Aggregation
  • Indexes
  • Replication
    • Replica Set Use and Operation
      • Replica Set Fundamental Concepts
      • Replica Set Operation and Management
      • Replica Set Architectures and Deployment Patterns
      • Replica Set Considerations and Behaviors for Applications and Development
      • Replica Set Internals and Behaviors
      • Master Slave Replication
    • Replica Set Tutorials and Procedures
      • Getting Started with Replica Sets
        • Deploy a Replica Set
        • Convert a Standalone to a Replica Set
        • Add Members to a Replica Set
        • Deploy a Geographically Distributed Replica Set
      • Replica Set Maintenance and Administration
        • 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
    • Replica Set Reference Material
      • Replica Set Commands
      • Replica Set Features and Version Compatibility
  • Sharding
  • Application Development
  • Using the mongo シェル
  • ユースケース
  • MongoDB Tutorials
  • Frequently Asked Questions
  • Reference
  • About MongoDB Documentation

MongoDB.org

MongoDB Ecosystem

Formats

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

MongoDB Resources

  • はじめに
    • はじめに
    • ダウンロード
  • Community and Ecosystem
    • 10gen
    • MongoDB Events
    • Planet MongoDB
    • MongoDB Masters
    • スライドとビデオ
    • Hosting Center
    • Windows
    • MongoDB Monitoring Service (docs)
    • Administrative Interfaces
    • MongoDB Books
  • ドライバ
    • JavaScript (docs)
    • Python (docs)
    • Ruby (docs)
    • PHP (docs)
    • Perl (docs)
    • Java (docs)
    • Scala (docs)
    • C# (docs)
    • C (docs)
    • C++ (docs)
    • Haskell (docs)
    • Erlang (docs)

© Copyright 2011-2013, 10gen, Inc. 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.