CopyMongoDB replication is important, especially now that the storage engine does not support click Persistence. Not only can replication be used to deal with failover, data integration, but also read extensions, hot backups, or data sources as
1, monitoring plug-in downloadMongodb plug-ins are: git://github.com/mzupan/nagios-plugin-mongodb.git, just started I did not install the gitpub Environment here, Find the user grassroots help download. Then uploaded to the csdn Resources page, the
I. Basic concepts of replica setsReplica set (replica set)MongoDB's replica set is a Mongod process instance cluster where data is replicated to each other in the cluster and is automatically failover.MongoDB's database replication adds redundancy,
I. MongoDB replica set introduction MongoDB's replication mechanism is mainly divided into two types: Master-Slave (Master-Slave replication), which is no longer recommended to use the new features developed by ReplicaSet (replica set) MongoDB in
In each MongoDB (version 3.2.9) instance, there is a local database that stores information and local data for Replication processes. The local database is characterized by the fact that data and collections located in the local database are not
MongoDB Replica Set Overviewtake a piece from the official MongoDB document: http://docs.mongodb.org/manual/core/replication-introduction/650) this.width=650; "Src=" http://images.cnitblog.com/blog/288950/201308/11144626- E95b0689174d4727974d39c02fd5
In each MongoDB instance, there is a local database that stores information about the Replication process and local data. The local database is characterized by the fact that data and collections located in the local database are not copied to other
Android
Ios
Javascript
HTML5
Css
Jquery
Python
Php
NodeJS
Java
Spring
Mysql
Mongodb
Redis
Nosql
Vim
C++
C#
Json
Ruby
Linux
Nginx
Docker
All categories > Database related > NoSQL database nosql redis
1. Structure and principle of replica set
The replica set consists of three nodes: the master node, the slave node, and the quorum node.The master node is responsible for processing client requests, reading and writing data, and recording the
MongoDB's replication set has the function of automatically tolerating partial node downtime, which triggers an election-related process when the replication set is in trouble, and automatically switches the master-slave node.Each replica set member
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.