Commit 62cbf59e authored by Ali Saeed's avatar Ali Saeed

database partitioning

parents
sharding:
clusterRole: configsvr
replication:
replSetName: crs
net:
bindIp: 0.0.0.0
port: 27040
storage:
dbPath: /usr/local/mongodb/config/rs0-1
sharding:
clusterRole: configsvr
replication:
replSetName: crs
net:
bindIp: 0.0.0.0
port: 27041
storage:
dbPath: /usr/local/mongodb/config/rs0-2
sharding:
clusterRole: configsvr
replication:
replSetName: crs
net:
bindIp: 0.0.0.0
port: 27042
storage:
dbPath: /usr/local/mongodb/config/rs0-3
sharding:
configDB: crs/192.168.181.136:27040,192.168.181.136:27041,192.168.181.136:27042
net:
bindIp: 0.0.0.0
port: 27046
sharding:
clusterRole: shardsvr
replication:
replSetName: srs
net:
bindIp: 0.0.0.0
port: 27043
storage:
dbPath: /usr/local/mongodb/shards/rs0-1
\ No newline at end of file
sharding:
clusterRole: shardsvr
replication:
replSetName: srs
net:
bindIp: 0.0.0.0
port: 27044
storage:
dbPath: /usr/local/mongodb/shards/rs0-2
\ No newline at end of file
sharding:
clusterRole: shardsvr
replication:
replSetName: srs
net:
bindIp: 0.0.0.0
port: 27045
storage:
dbPath: /usr/local/mongodb/shards/rs0-3
\ No newline at end of file
sharding:
clusterRole: shardsvr
replication:
replSetName: srs_2
net:
bindIp: 0.0.0.0
port: 27047
storage:
dbPath: /usr/local/mongodb/shards/rs0-4
\ No newline at end of file
sharding:
clusterRole: shardsvr
replication:
replSetName: srs_2
net:
bindIp: 0.0.0.0
port: 27048
storage:
dbPath: /usr/local/mongodb/shards/rs0-5
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment