Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13045

issue with cluster

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dwayneexec@gmail.com Dwayne Mcnab
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: