Configuring a Shared Replica Set¶
Caution - cluster
-
In an editor, open the MongoDB configuration file:
C:\ProgramData\SEAL Systems\config\mongod.conf -
Change the following line:
bindIp: 127.0.0.1to:
bindIp: 0.0.0.0 -
Add the following lines:
replication: oplogSizeMB: 2048 replSetName: <YourReplicaSetName>Hint -
oplogSizeMBWe recommend setting
oplogSizeMBto 5 % of the disk space available for MongoDB. -
Restart MongoDB:
Restart-service seal-mongodb
Proceed with initializing MongoDB on the replica set primary as soon as all members of the replica set are configured.