Home > Storage > PowerStore > Databases and Data Analytics > Dell PowerStore: MongoDB Solution Guide > MongoDB Replica Set configuration
A MongoDB configuration file based on the following template is installed on each MongoDB replica set member node. It represents a basic replica set configuration. To see all available configuration options, see the MongoDB documentation on configuration options.
The storage.dbPath option specifies the file system path for the datafile.
The systemLog.path option specifies the location of the MongoDB log.
The net option specifies the node DNS hostname and port on which the mongod process listens for client connections.
The replication.replSetName option specifies the replica set that the node belongs to.
The replication.oplogSizeMB option specifies the maximum size for the replication operation log. The default is 5% of available space when this option is not specified.
storage:
dbPath: <string>
journal:
enabled: true
directoryPerDB: true
wiredTiger:
engineConfig:
journalCompressor: <string>
directoryForIndexes: true
collectionConfig:
blockCompressor: <string>
indexConfig:
prefixCompression: true
systemLog:
destination: file
logAppend: true
path: <string>
net:
port: 27017
bindIp: <string>,127.0.0.1"
processManagement:
timeZoneInfo: /usr/share/zoneinfo
fork: true
replication:
replSetName: <string>
oplogSizeMB: <int>