Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Following is the mongod.conf that is used:

 

 

Code Block
title/etc/mongod.conf
linenumberstrue
# mongod.conf
# for documentation of all options, see:
#   http://docs.mongodb.org/manual/reference/configuration-options/

# Where and how to store data.
storage:
  dbPath: /var/lib/mongodb
  journal:
    enabled: true
  directoryPerDB: true

# where to write logging data.
systemLog:
  destination: file
  logAppend: true
  path: /var/log/mongodb/mongod.log

# network interfaces
net:
  port: 27017

# replication options
replication:
  replSetName: ISDA

 

...

Following are the commands used to create the cluster.

...