Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
Description
I have a three sharded cluster running in a test environment. Problem is when I try to query the dbs am getting an error message that the other two shards does not have a primary.
ar 5 05:34:19.872 listDatabases failed:{
"code" : 10009,
"ok" : 0,
"errmsg" : "exception: ReplicaSetMonitor no master found for set: SHARD2"
} at src/mongo/shell/mongo.js:46
Now when I log into the other two shards I am seeing that they are both logged in as secondary. The first that Shard that i have created is showing up as primary. Any idea why this would happen?
Also, I have given one of my db's dbAdmin and readWriteAdmin on any databases, can you tell me why he would be unable to query the dbs? He ran show dbs from the admin db and got an unauthorized error message.
Please advise. We are beginning to run heavy tests, We are almost ready to start running mongo in our production environment as we have already started converting our application from mysql.
thanks.