Hello,
I deployed a replica set (later a sharding set) due to the shell commands like it is descriped in:
http://docs.mongodb.org/manual/tutorial/deploy-replica-set/I would like to store all that information I inserted manually in the mongodb.conf -
I have 5 Server. Lets say: s2,s3,s4,s5 and s6
with:
s2: mongos - / config server where "sharding is running"
s3: 1 master process replicaset1 ; 1 arbiter for replicaset 2
s4: 1 slave process replicaset1
s5: 1 master process replicaset2 ; 1 arbiter for replicaset 1
s6: 1 slave process replicaset2
Later, there shall be a sharding set that consist of replicaset1 and replicaset2.
Question: How to modify the mongodb.conf (or multiple mongodb.conf???) in order to get such a use case?
(I think I have to define multiple processes, different ports, different folders to store information,.... - like the manually way...)
best regards,
tim