Answer the question
In order to leave comments, you need to log in
How to add mongodb to autoload with certain parameters?
Hello. Actually the very essence of the question:
when you restart the server, you need to run several mongo instances with different configs and launch options.
For example:
mongod --port 29000 --dbpath /data/arb --replSet "rs"
mongod --port 28000 --dbpath /data/data1 --replSet "rs"
How to do this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question