...
Following is the mongod.conf that is used:
Code Block | ||||
---|---|---|---|---|
| ||||
# 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.
...