Skip to content

Configure a Shared Replica Set


In MongoDB, a shared replica set has to be configured as of PLOSSYS 5.2.1:

  1. Open the MongoDB configuration file:

    C:\ProgramData\SEAL Systems\config\mongod.conf
    
  2. Change the following line:

    bindIp: 127.0.0.1
    

    to

    bindIp: 0.0.0.0
    
  3. Add the following lines:

    replication:
      oplogSizeMB: 2048
      replSetName: p5
    

    Hint - oplogSizeMB

    We recommend setting oplogSizeMB to 5 % of the disk space available for MongoDB.

  4. Restart the following service:

    • seal-mongodb

Back to top