File tree Expand file tree Collapse file tree 8 files changed +238
-0
lines changed Expand file tree Collapse file tree 8 files changed +238
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "auth_key" : " secret" ,
3
+ "id" : " repl0" ,
4
+ "login" : " bob" ,
5
+ "members" : [
6
+ {
7
+ "procParams" : {
8
+ "ipv6" : true ,
9
+ "nohttpinterface" : true ,
10
+ "journal" : true ,
11
+ "noprealloc" : true ,
12
+ "nssize" : 1 ,
13
+ "port" : 27017 ,
14
+ "smallfiles" : true
15
+ },
16
+ "rsParams" : {
17
+ "priority" : 99 ,
18
+ "tags" : {
19
+ "ordinal" : " one" ,
20
+ "dc" : " ny"
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "procParams" : {
26
+ "ipv6" : true ,
27
+ "nohttpinterface" : true ,
28
+ "journal" : true ,
29
+ "noprealloc" : true ,
30
+ "nssize" : 1 ,
31
+ "port" : 27018 ,
32
+ "smallfiles" : true
33
+ },
34
+ "rsParams" : {
35
+ "priority" : 1.1 ,
36
+ "tags" : {
37
+ "ordinal" : " two" ,
38
+ "dc" : " pa"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "procParams" : {
44
+ "ipv6" : true ,
45
+ "nohttpinterface" : true ,
46
+ "journal" : true ,
47
+ "noprealloc" : true ,
48
+ "nssize" : 1 ,
49
+ "port" : 27019 ,
50
+ "smallfiles" : true
51
+ },
52
+ "rsParams" : {
53
+ "arbiterOnly" : true
54
+ }
55
+ }
56
+ ],
57
+ "password" : " pwd123"
58
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "id" : " repl0" ,
3
+ "members" : [
4
+ {
5
+ "procParams" : {
6
+ "ipv6" : true ,
7
+ "nohttpinterface" : true ,
8
+ "journal" : true ,
9
+ "noprealloc" : true ,
10
+ "nssize" : 1 ,
11
+ "port" : 27017 ,
12
+ "smallfiles" : true
13
+ },
14
+ "rsParams" : {
15
+ "priority" : 99 ,
16
+ "tags" : {
17
+ "ordinal" : " one" ,
18
+ "dc" : " ny"
19
+ }
20
+ }
21
+ },
22
+ {
23
+ "procParams" : {
24
+ "ipv6" : true ,
25
+ "nohttpinterface" : true ,
26
+ "journal" : true ,
27
+ "noprealloc" : true ,
28
+ "nssize" : 1 ,
29
+ "port" : 27018 ,
30
+ "smallfiles" : true
31
+ },
32
+ "rsParams" : {
33
+ "priority" : 1.1 ,
34
+ "tags" : {
35
+ "ordinal" : " two" ,
36
+ "dc" : " pa"
37
+ }
38
+ }
39
+ },
40
+ {
41
+ "procParams" : {
42
+ "ipv6" : true ,
43
+ "nohttpinterface" : true ,
44
+ "journal" : true ,
45
+ "noprealloc" : true ,
46
+ "nssize" : 1 ,
47
+ "port" : 27019 ,
48
+ "smallfiles" : true
49
+ },
50
+ "rsParams" : {
51
+ "arbiterOnly" : true
52
+ }
53
+ }
54
+ ]
55
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "id" : " standalone" ,
3
+ "auth_key" : " secret" ,
4
+ "login" : " bob" ,
5
+ "name" : " mongod" ,
6
+ "password" : " pwd123" ,
7
+ "procParams" : {
8
+ "ipv6" : true ,
9
+ "logappend" : true ,
10
+ "journal" : true ,
11
+ "port" : 27017
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " mongod" ,
3
+ "procParams" : {
4
+ "ipv6" : true ,
5
+ "logappend" : true ,
6
+ "journal" : true ,
7
+ "port" : 27017
8
+ }
9
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " mongod" ,
3
+ "procParams" : {
4
+ "ipv6" : true ,
5
+ "logappend" : true ,
6
+ "journal" : true ,
7
+ "storageEngine" : " mmapv1" ,
8
+ "port" : 27017
9
+ }
10
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " mongod" ,
3
+ "procParams" : {
4
+ "ipv6" : true ,
5
+ "logappend" : true ,
6
+ "journal" : true ,
7
+ "storageEngine" : " wiredTiger" ,
8
+ "port" : 27017
9
+ }
10
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "id" : " shard_cluster_1" ,
3
+ "login" : " bob" ,
4
+ "password" : " pwd123" ,
5
+ "auth_key" : " secret" ,
6
+ "configsvrs" : [
7
+ {
8
+ "port" : 27117
9
+ },
10
+ {
11
+ "port" : 27118
12
+ },
13
+ {
14
+ "port" : 27119
15
+ }
16
+ ],
17
+ "shards" : [
18
+ {
19
+ "id" : " sh01" ,
20
+ "shardParams" : {
21
+ "procParams" : {
22
+ "port" : 27217
23
+ }
24
+ }
25
+ },
26
+ {
27
+ "id" : " sh02" ,
28
+ "shardParams" : {
29
+ "procParams" : {
30
+ "port" : 27218
31
+ }
32
+ }
33
+ }
34
+ ],
35
+ "routers" : [
36
+ {
37
+ "port" : 27017
38
+ },
39
+ {
40
+ "port" : 27018
41
+ }
42
+ ]
43
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "id" : " shard_cluster_1" ,
3
+ "configsvrs" : [
4
+ {
5
+ "port" : 27117
6
+ },
7
+ {
8
+ "port" : 27118
9
+ },
10
+ {
11
+ "port" : 27119
12
+ }
13
+ ],
14
+ "shards" : [
15
+ {
16
+ "id" : " sh01" ,
17
+ "shardParams" : {
18
+ "procParams" : {
19
+ "port" : 27217
20
+ }
21
+ }
22
+ },
23
+ {
24
+ "id" : " sh02" ,
25
+ "shardParams" : {
26
+ "procParams" : {
27
+ "port" : 27218
28
+ }
29
+ }
30
+ }
31
+ ],
32
+ "routers" : [
33
+ {
34
+ "port" : 27017
35
+ },
36
+ {
37
+ "port" : 27018
38
+ }
39
+ ]
40
+ }
You can’t perform that action at this time.
0 commit comments