I want to check my replicasets are working properly or not while oplog size is over(minimum 990 mb).
- How can I convert a standalone remote server to replica set.
- How can I fixed the oplogsize of replica set.
- How can I check my replicasets are working while oplog size is over.
Need a large collection of mongodb which is larger than 1GB.
I am facing problem to convert remotely hosted mongo standalone server to replica set. Can’t set the size of oplog.
2
Answers
How can I convert a standalone remote server to replica set.
See Convert a Standalone to a Replica Set
How can I fixed the oplogsize of replica set.
What do you mean by "fixed the oplogsize"?
From Replica Set Oplog:
The oplog maxsize is used to trigger truncate of oplog rather than a hard limitation of disk size.
How can I check my replicasets are working while oplog size is over.
Not relevant due to answer (2.)
Prior to initializing replication, set replication.oplogSizeMB in the configuration file, and restart mongod.