Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4117

Please help advise where can I find a sample of mongodb.conf for a replicaSet.

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • Affects Version/s: mongodb-2.6
    • Component/s: manual
    • Labels:
      None
    • Environment:
      osx

      I have setup a 3 member replica set using the mongoDB manual. My compliments on great documentation.

      I set up a 3 member replicaSet. I found an example of mongodb.conf for a standalone instance, but could not find a mondodb.conf sample for a replica set. Please advise where I may find it. Also is there a method to create the file dynamically using rs.conf() and hydrating it to an o/s file on disk?
      Thank you!
      Deepak

            Assignee:
            Unassigned Unassigned
            Reporter:
            deepaksharmaocp Deepak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 32 weeks, 3 days ago