Top "Replicaset" questions

This tag is used mostly for a MongoDB replica set (a group of "mongod" processes that maintain the same data set) and rarely for a Kubernetes ReplicaSet (the next-generation Replication Controller with set-based selector support).

How to convert a MongoDB replica set to a stand alone server

Consider, I have 4 replicate sets and the config is as follows: { "_id": "rs_0", "version": 5, "members" : [ {"_id": 1, "host": "127.0.0.1:27001"}, {"_id": 2, "host": "127.0.0.1:27002"}, {"_id": 3, "…

mongodb replicaset
How to check secondary is synced now or not

there is the replica with three member (primary,secondary,secondary). Suppose one of secondaries down for a day, after return …

mongodb replicaset
MongoDB Connection String to Replica Set

I am looking at http://mongodb.github.io/node-mongodb-native/driver-articles/mongoclient.html and when you scroll to the section "A …

mongodb connection-string replicaset
Mongoose connection to replica set

I tried to connect to MongoDB replicaSet via mongoose. I used this link. Configuration json: "mongoose": { "uri": "mongodb://localhost:27022/chat,…

node.js mongodb mongoose replicaset
How to set rs.slaveOk() in secondary mongodb servers in replicaset via commandline?

How to set rs.slaveOk() in secondary mongodb servers in replicaset via commandline? I tried following methods : ${MONGO_HOME}/bin/…

mongodb replicaset
"This node was not started with the replSet option"

I am studying the MongoDBUniversity's M101P: MongoDB for Developers course. I am using WiredTiger on MongoDB 3.2. I am currently …

mongodb replicaset
What is the difference between ReplicaSet and ReplicationController?

From what I can tell in the documentation, a ReplicaSet is created when running a Deployment. It seems to support …

deployment kubernetes replicaset
MongoDB replica set with simple password authentication

I have a MongoDB replica set of 3 servers (1 primary, 1 secondary, 1 arbiter; this is the default replica set created by Google …

mongodb authentication replicaset database nosql
Mongoose with ReplicaSet on Atlas

I have a replica set on MongoDB Atlas and this is my mongo shell connection string which connects perfectly: $ mongo "…

node.js mongodb mongoose replicaset
errmsg" : "No host described in new configuration 1 for replica set rs0 maps to this node", Why I am getting this message?

I am getting this message every time I do rs.initiate() : No host described in new configuration 1 for replica set …

mongodb ubuntu-14.04 replicaset mongodb-replica-set