Hi,
I have three config-server and one mongos instance.
What's the best way to do a clean shutdown (in order to restart them or restart a other configuration).
I tried
"mongo host:port/admin" to call the mongos-shell
and used the commands
> use admin
> db.shutdownServer()
but it did not work:
uncaught exception: assert failed : unexpected error: "shutdownServer failed: unauthorized: this command must run from localhost when running db without auth"
Is there an order (1st: config server, 2nd: mongos)... do I have to delete the mongo.lock file and so on in order to clean
all the configs that are stored?
best regards