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

sharding configdb

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.3
    • Sharding
    • None

    Description

      hi:
      I recently came across a question. I want to add another configdb to the sharding cluster, but when I start mongos with the new configuration. AN error occers:

      start process:
      /usr/local/mongodb/bin/mongos --configdb=10.14.40.82:10015,10.14.40.151:10015,10.14.40.152:10015 --logpath=/data/mongo/log/mongos/mongos.log --fork --logappend --port=10013

      error message:
      Wed Dec 31 09:58:17 uncaught exception: error: {
      "$err" : "could not initialize sharding on connection 10.14.40.77:10016 :: caused by :: mongos specified a different config database string : stored : 10.14.40.82:10015 vs given : 10.14.40.82:10015,10.14.40.151:10015,10.14.40.152:10015",
      "code" : 15907
      }

      I want to know how can i add a new configdb?

      Attachments

        Activity

          People

            Unassigned Unassigned
            caoqing qing cao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: