Skip to content

Commit

Permalink
Merge pull request #852
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Jun 20, 2018
2 parents 6fd00ef + e7586dc commit d08b54e
Show file tree
Hide file tree
Showing 9 changed files with 203 additions and 209 deletions.
138 changes: 67 additions & 71 deletions scripts/presets/replicaset-30.json
@@ -1,74 +1,70 @@
{
"id": "REPLICASET_30",
"name": "mongod",
"members": [
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3100/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3100/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 3100,
"bind_ip": "0.0.0.0,::",
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 99,
"tags": {
"ordinal": "one",
"dc": "pa"
}
},
"server_id": "RS-30-one"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3101/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3101/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 3101,
"bind_ip": "0.0.0.0,::",
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1.1,
"tags": {
"ordinal": "two",
"dc": "nyc"
}
},
"server_id": "RS-30-two"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3102/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3002/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 3102,
"bind_ip": "0.0.0.0,::",
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"arbiterOnly": true
"id": "REPLICASET_30",
"name": "mongod",
"members": [
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3100/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3100/mongod.log",
"journal": true,
"nssize": 1,
"port": 3100,
"bind_ip": "0.0.0.0,::",
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 99,
"tags": {
"ordinal": "one",
"dc": "pa"
}
},
"server_id": "RS-30-one"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3101/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3101/mongod.log",
"journal": true,
"nssize": 1,
"port": 3101,
"bind_ip": "0.0.0.0,::",
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1.1,
"tags": {
"ordinal": "two",
"dc": "nyc"
}
},
"server_id": "RS-30-two"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/3102/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/3002/mongod.log",
"journal": true,
"nssize": 1,
"port": 3102,
"bind_ip": "0.0.0.0,::",
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"arbiterOnly": true

},
"server_id": "RS-30-arbiter"
}
],
"version": "30-release"
},
"server_id": "RS-30-arbiter"
}
],
"version": "30-release"
}

120 changes: 58 additions & 62 deletions scripts/presets/replicaset-dns.json
@@ -1,65 +1,61 @@
{
"id": "REPLICASET_DNS",
"name": "mongod",
"members": [
{
"procParams": {
"dbpath": "/tmp/REPLICASET/27017/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/27017/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 27017,
"bind_ip_all": true,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1
},
"server_id": "DNS-one"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/27018/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/27018/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 27018,
"bind_ip_all": true,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1
},
"server_id": "DNS-two"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/27019/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/27019/mongod.log",
"journal": true,
"noprealloc": true,
"nssize": 1,
"port": 27019,
"bind_ip_all": true,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1
"id": "REPLICASET_DNS",
"name": "mongod",
"members": [
{
"procParams": {
"dbpath": "/tmp/REPLICASET/27017/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/27017/mongod.log",
"journal": true,
"nssize": 1,
"port": 27017,
"bind_ip_all": true,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1
},
"server_id": "DNS-one"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/27018/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/27018/mongod.log",
"journal": true,
"nssize": 1,
"port": 27018,
"bind_ip_all": true,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1
},
"server_id": "DNS-two"
},
{
"procParams": {
"dbpath": "/tmp/REPLICASET/27019/",
"ipv6": true,
"logappend": true,
"logpath": "/tmp/REPLICASET/27019/mongod.log",
"journal": true,
"nssize": 1,
"port": 27019,
"bind_ip_all": true,
"smallfiles": true,
"setParameter": {"enableTestCommands": 1}
},
"rsParams": {
"priority": 1

},
"server_id": "DNS-three"
}
]
},
"server_id": "DNS-three"
}
]
}

0 comments on commit d08b54e

Please sign in to comment.