One: Concept
The popular copy set is to use multiple machines for the same data asynchronous synchronization, so that multiple machines have multiple copies of the same data, and when the main library when it is off without user intervention,
A replica set (Replica set) is a cluster of MongoDB instances consisting of a primary (Primary) server and multiple backup (secondary) servers. With replication, updates to the data are pushed from primary to other instances, and after a certain
MongoDB is the most commonly used NODQL database and has risen to the top six in the database rankings. This article describes how to build a highly available MongoDB (shard + replica) cluster.Before you build a cluster, you need to understand
MongoDB cluster technology: replica set & sharding, mongodb ClusterA MongoDB replica set is a process of synchronizing data to multiple servers. The replica set provides redundant backup of data and stores data copies on multiple servers, this
What is a MongoDB replica set:A MongoDB replica set is a cluster of replicas consisting of a set of MongoDB servers. The cluster contains a primary master server and several secondary backup servers or Artiber election servers. Secondary
Description
There are three servers, the MONGODB database has been installed, the specific information as follows:
MongoDB version: mongodb-linux-x86_64-2.6.11
MongoDB installation directory:/usr/local/mongodb
MongoDB replica set converts an existing single-node server to a replica set
Server Status:
Existing single-node Primary 192.168.126.9: 27017
New node Secondry 192.168.126.8: 27017
Arbitration node ARBITER 192.168.126.8: 27018
Mongo version 3.2.4
1.
A replica set (Replica set) is a cluster of MongoDB instances consisting of a primary (Primary) server and multiple backup (secondary) servers. With replication, updates to the data are pushed from primary to other instances, and after a certain
If you don't understand the theory of replica set, poke the portal to read the author's last blog post.Since replica set is already part of MongoDB's advanced application, the basic knowledge of MongoDB below is not covered by the author, please
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.