Adding Shard for auth Mode

Home Forums MongoDB Forum Adding Shard for auth Mode

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #690
    saurabhvns
    Participant

    Hi Srinivas,

    I hope you remember me, I have a concern, that how can we add shard in mongoDb when it is running on Auth Mode, is it any possibility to add. I have written a script to add extra shard. It is working fine in no auth mode but in case of auth, its is showing error: { “$err” : “not authorized for query on config.version”, “code” : 13 } at src/mongo/shell/query.js:131.

    Regards,
    Saurabh Singh

    #1017
    dbversity
    Keymaster

    Hi Saurabh,

    Yes, if you want to enable auththentication at shard level you’ll need to enable it in all the nodes level i.e., config, shards and mongos..

    I’ll share a post regarding the same shortly.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
  • Ask Question
  • Comments are closed, but trackbacks and pingbacks are open.