mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-01 22:02:23 +02:00
74 lines
1.4 KiB
JSON
74 lines
1.4 KiB
JSON
{
|
|
"id": "REPLICASET",
|
|
"name": "mongod",
|
|
"members": [
|
|
{
|
|
"procParams": {
|
|
"dbpath": "/tmp/REPLICASET/3000/",
|
|
"ipv6": true,
|
|
"logappend": true,
|
|
"logpath": "/tmp/REPLICASET/3000/mongod.log",
|
|
"nohttpinterface": true,
|
|
"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",
|
|
"nohttpinterface": true,
|
|
"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",
|
|
"nohttpinterface": true,
|
|
"journal": true,
|
|
"noprealloc": true,
|
|
"nssize": 1,
|
|
"port": 3002,
|
|
"smallfiles": true,
|
|
"setParameter": {"enableTestCommands": 1}
|
|
},
|
|
"rsParams": {
|
|
"arbiterOnly": true
|
|
|
|
},
|
|
"server_id": "RS-arbiter"
|
|
}
|
|
]
|
|
}
|
|
|