Files
mongo-php-driver/scripts/presets/replicaset.json
T
Jeremy Mikola d504bfea37 nohttpinterface is not supported by mongod 3.6
3.6 is the first and default release version in the MO config and specifying an unsupported command line options prevents the replicaset configuration from starting (in turn, start-servers.php fails).
2017-12-05 08:35:57 -05:00

71 lines
1.3 KiB
JSON

{
"id": "REPLICASET",
"name": "mongod",
"members": [
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3000/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3000/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 3000,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 99,
"tags": {
"ordinal": "one",
"dc": "pa"
}
},
"server_id": "RS-one"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3001/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3001/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 3001,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1.1,
"tags": {
"ordinal": "two",
"dc": "nyc"
}
},
"server_id": "RS-two"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3002/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3002/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 3002,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"arbiterOnly": true
},
"server_id": "RS-arbiter"
}
]
}