#more/opt/mongodb3.0/mongodb_im_conf_47020/mongodb3.0_im_47020.cnf
DBPath =/opt/mongodb3.0/mongodb_im_data_47020/# Specify the database path
LogPath =/opt/mongodb3.0/mongodb_im_log_47020/mongodb.log # log path
Logappend = true # writes the log in an appended way
Port = 47020 # Specify port number, default 47020
Fork = true # runs in child process mode
Quiet = true # disables all, and the most critical entries in Output/log file.
Auth = true # increase validation options
#bind_ip = 127.0.0.1,172.18.12.2,172.18.12.3
Keyfile=/opt/mongodb3.0/keyfile
Directoryperdb = true # Each db is stored in a separate directory
Wiredtigerdirectoryforindexes = True
Maxconns = 1000000
Nohttpinterface = True
Rest = False
Profile=1
slowms=1000
Storageengine=wiredtiger
# # #Replication Options
Replset = IM
Oplogsize = 4096
#more/opt/mongodb3.0/mongodb_im_conf_47018/mongodb3.0_im_47018.cnf
DBPath =/opt/mongodb3.0/mongodb_im_data_47018/# Specify the database path
LogPath =/opt/mongodb3.0/mongodb_im_log_47018/mongodb.log # log path
Logappend = true # writes the log in an appended way
Port = 47018 # Specify port number, default 47018
Fork = true # runs in child process mode
Quiet = true # disables all, and the most critical entries in Output/log file.
Auth = true # increase validation options
#bind_ip = 127.0.0.1,172.18.12.2,172.18.12.3
Keyfile=/opt/mongodb3.0/keyfile
Directoryperdb = true # Each db is stored in a separate directory
Wiredtigerdirectoryforindexes = True
Maxconns = 1000000
Nohttpinterface = True
Rest = False
Profile=1
slowms=1000
Storageengine=wiredtiger
# # #Replication Options
Replset = IM
Oplogsize = 4096
#more/opt/mongodb3.0/mongodb_im_conf_47019/mongodb3.0_im_arbiter_47019.cnf
DBPath =/opt/mongodb3.0/mongodb_im_data_arbiter_47019/# Specify the database path
LogPath =/opt/mongodb3.0/mongodb_im_log_arbiter_47019/mongodb.log # log path
Logappend = true # writes the log in an appended way
Port = 47019 # Specify port number, default 47019
Fork = true # runs in child process mode
Quiet = true # disables all, and the most critical entries in Output/log file.
Auth = true # increase validation options
#bind_ip = 127.0.0.1,172.18.12.2,172.18.12.3
Keyfile=/opt/mongodb3.0/keyfile
Directoryperdb = true # Each db is stored in a separate directory
Wiredtigerdirectoryforindexes = True
Maxconns = 1000000
Nohttpinterface = True
Rest = False
Profile=1
slowms=1000
Storageengine=wiredtiger
# # #Replication Options
Replset = IM
Oplogsize = 4096
#more keyfile
This is a key, file created by Zhangyb used to auth by replica set members, each of the other
#ps-ef | grep MongoDB
Root 1601 1 0 2015? 1-15:45:22/var/mongodb3.0/bin/mongod--config/opt/mongodb3.0/mongodb_im_conf_47018/mongodb3.0_im_47018.cnf
Root 1622 1 0 2015? 21:02:42/var/mongodb3.0/bin/mongod--config/opt/mongodb3.0/mongodb_im_conf_47019/mongodb3.0_im_arbiter_47019. Cnf
Root 1709 1 0 2015? 1-13:18:03/var/mongodb3.0/bin/mongod--config/opt/mongodb3.0/mongodb_im_conf_47020/mongodb3.0_im_47020.cnf
Ohu 4309 1 0 2015? 20:58:04/opt/mongodb_one/mongodb/bin/mongod--port 27027--dbpath/opt/mongodb_one/data/27027--logpath/opt/mongodb _one/data/logs/27027.log--logappend--fork--nojournal--maxconns 20000
MongoDB Replica Set Configuration