Configure a Shared Replica Set¶
In MongoDB, a shared replica set has to be configured as of PLOSSYS 5.2.1:
-
Open the MongoDB configuration file:
C:\ProgramData\SEAL Systems\config\mongod.conf
-
Change the following line:
bindIp: 127.0.0.1
to
bindIp: 0.0.0.0
-
Add the following lines:
replication: oplogSizeMB: 2048 replSetName: p5
Hint -
oplogSizeMB
We recommend setting
oplogSizeMB
to 5 % of the disk space available for MongoDB. -
Restart the following service:
seal-mongodb