Skip to content

Commit d08b54e

Browse files
committed
Merge pull request #852
2 parents 6fd00ef + e7586dc commit d08b54e

File tree

9 files changed

+203
-209
lines changed

9 files changed

+203
-209
lines changed

scripts/presets/replicaset-30.json

Lines changed: 67 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,70 @@
11
{
2-
"id": "REPLICASET_30",
3-
"name": "mongod",
4-
"members": [
5-
{
6-
"procParams": {
7-
"dbpath": "/tmp/REPLICASET/3100/",
8-
"ipv6": true,
9-
"logappend": true,
10-
"logpath": "/tmp/REPLICASET/3100/mongod.log",
11-
"journal": true,
12-
"noprealloc": true,
13-
"nssize": 1,
14-
"port": 3100,
15-
"bind_ip": "0.0.0.0,::",
16-
"smallfiles": true,
17-
"setParameter": {"enableTestCommands": 1}
18-
},
19-
"rsParams": {
20-
"priority": 99,
21-
"tags": {
22-
"ordinal": "one",
23-
"dc": "pa"
24-
}
25-
},
26-
"server_id": "RS-30-one"
27-
},
28-
{
29-
"procParams": {
30-
"dbpath": "/tmp/REPLICASET/3101/",
31-
"ipv6": true,
32-
"logappend": true,
33-
"logpath": "/tmp/REPLICASET/3101/mongod.log",
34-
"journal": true,
35-
"noprealloc": true,
36-
"nssize": 1,
37-
"port": 3101,
38-
"bind_ip": "0.0.0.0,::",
39-
"smallfiles": true,
40-
"setParameter": {"enableTestCommands": 1}
41-
},
42-
"rsParams": {
43-
"priority": 1.1,
44-
"tags": {
45-
"ordinal": "two",
46-
"dc": "nyc"
47-
}
48-
},
49-
"server_id": "RS-30-two"
50-
},
51-
{
52-
"procParams": {
53-
"dbpath": "/tmp/REPLICASET/3102/",
54-
"ipv6": true,
55-
"logappend": true,
56-
"logpath": "/tmp/REPLICASET/3002/mongod.log",
57-
"journal": true,
58-
"noprealloc": true,
59-
"nssize": 1,
60-
"port": 3102,
61-
"bind_ip": "0.0.0.0,::",
62-
"smallfiles": true,
63-
"setParameter": {"enableTestCommands": 1}
64-
},
65-
"rsParams": {
66-
"arbiterOnly": true
2+
"id": "REPLICASET_30",
3+
"name": "mongod",
4+
"members": [
5+
{
6+
"procParams": {
7+
"dbpath": "/tmp/REPLICASET/3100/",
8+
"ipv6": true,
9+
"logappend": true,
10+
"logpath": "/tmp/REPLICASET/3100/mongod.log",
11+
"journal": true,
12+
"nssize": 1,
13+
"port": 3100,
14+
"bind_ip": "0.0.0.0,::",
15+
"smallfiles": true,
16+
"setParameter": {"enableTestCommands": 1}
17+
},
18+
"rsParams": {
19+
"priority": 99,
20+
"tags": {
21+
"ordinal": "one",
22+
"dc": "pa"
23+
}
24+
},
25+
"server_id": "RS-30-one"
26+
},
27+
{
28+
"procParams": {
29+
"dbpath": "/tmp/REPLICASET/3101/",
30+
"ipv6": true,
31+
"logappend": true,
32+
"logpath": "/tmp/REPLICASET/3101/mongod.log",
33+
"journal": true,
34+
"nssize": 1,
35+
"port": 3101,
36+
"bind_ip": "0.0.0.0,::",
37+
"smallfiles": true,
38+
"setParameter": {"enableTestCommands": 1}
39+
},
40+
"rsParams": {
41+
"priority": 1.1,
42+
"tags": {
43+
"ordinal": "two",
44+
"dc": "nyc"
45+
}
46+
},
47+
"server_id": "RS-30-two"
48+
},
49+
{
50+
"procParams": {
51+
"dbpath": "/tmp/REPLICASET/3102/",
52+
"ipv6": true,
53+
"logappend": true,
54+
"logpath": "/tmp/REPLICASET/3002/mongod.log",
55+
"journal": true,
56+
"nssize": 1,
57+
"port": 3102,
58+
"bind_ip": "0.0.0.0,::",
59+
"smallfiles": true,
60+
"setParameter": {"enableTestCommands": 1}
61+
},
62+
"rsParams": {
63+
"arbiterOnly": true
6764

68-
},
69-
"server_id": "RS-30-arbiter"
70-
}
71-
],
72-
"version": "30-release"
65+
},
66+
"server_id": "RS-30-arbiter"
67+
}
68+
],
69+
"version": "30-release"
7370
}
74-
Lines changed: 58 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,61 @@
11
{
2-
"id": "REPLICASET_DNS",
3-
"name": "mongod",
4-
"members": [
5-
{
6-
"procParams": {
7-
"dbpath": "/tmp/REPLICASET/27017/",
8-
"ipv6": true,
9-
"logappend": true,
10-
"logpath": "/tmp/REPLICASET/27017/mongod.log",
11-
"journal": true,
12-
"noprealloc": true,
13-
"nssize": 1,
14-
"port": 27017,
15-
"bind_ip_all": true,
16-
"smallfiles": true,
17-
"setParameter": {"enableTestCommands": 1}
18-
},
19-
"rsParams": {
20-
"priority": 1
21-
},
22-
"server_id": "DNS-one"
23-
},
24-
{
25-
"procParams": {
26-
"dbpath": "/tmp/REPLICASET/27018/",
27-
"ipv6": true,
28-
"logappend": true,
29-
"logpath": "/tmp/REPLICASET/27018/mongod.log",
30-
"journal": true,
31-
"noprealloc": true,
32-
"nssize": 1,
33-
"port": 27018,
34-
"bind_ip_all": true,
35-
"smallfiles": true,
36-
"setParameter": {"enableTestCommands": 1}
37-
},
38-
"rsParams": {
39-
"priority": 1
40-
},
41-
"server_id": "DNS-two"
42-
},
43-
{
44-
"procParams": {
45-
"dbpath": "/tmp/REPLICASET/27019/",
46-
"ipv6": true,
47-
"logappend": true,
48-
"logpath": "/tmp/REPLICASET/27019/mongod.log",
49-
"journal": true,
50-
"noprealloc": true,
51-
"nssize": 1,
52-
"port": 27019,
53-
"bind_ip_all": true,
54-
"smallfiles": true,
55-
"setParameter": {"enableTestCommands": 1}
56-
},
57-
"rsParams": {
58-
"priority": 1
2+
"id": "REPLICASET_DNS",
3+
"name": "mongod",
4+
"members": [
5+
{
6+
"procParams": {
7+
"dbpath": "/tmp/REPLICASET/27017/",
8+
"ipv6": true,
9+
"logappend": true,
10+
"logpath": "/tmp/REPLICASET/27017/mongod.log",
11+
"journal": true,
12+
"nssize": 1,
13+
"port": 27017,
14+
"bind_ip_all": true,
15+
"smallfiles": true,
16+
"setParameter": {"enableTestCommands": 1}
17+
},
18+
"rsParams": {
19+
"priority": 1
20+
},
21+
"server_id": "DNS-one"
22+
},
23+
{
24+
"procParams": {
25+
"dbpath": "/tmp/REPLICASET/27018/",
26+
"ipv6": true,
27+
"logappend": true,
28+
"logpath": "/tmp/REPLICASET/27018/mongod.log",
29+
"journal": true,
30+
"nssize": 1,
31+
"port": 27018,
32+
"bind_ip_all": true,
33+
"smallfiles": true,
34+
"setParameter": {"enableTestCommands": 1}
35+
},
36+
"rsParams": {
37+
"priority": 1
38+
},
39+
"server_id": "DNS-two"
40+
},
41+
{
42+
"procParams": {
43+
"dbpath": "/tmp/REPLICASET/27019/",
44+
"ipv6": true,
45+
"logappend": true,
46+
"logpath": "/tmp/REPLICASET/27019/mongod.log",
47+
"journal": true,
48+
"nssize": 1,
49+
"port": 27019,
50+
"bind_ip_all": true,
51+
"smallfiles": true,
52+
"setParameter": {"enableTestCommands": 1}
53+
},
54+
"rsParams": {
55+
"priority": 1
5956

60-
},
61-
"server_id": "DNS-three"
62-
}
63-
]
57+
},
58+
"server_id": "DNS-three"
59+
}
60+
]
6461
}
65-

0 commit comments

Comments
 (0)