Details
-
Question
-
Resolution: Done
-
Critical - P2
-
None
-
None
-
None
-
None
Description
Hi, I have deployed one mongodb sharded cluster environment in which we have listed below mongo instances: 1. mongos route 3 config servers 2 shards with 3 mongod instances 1 is primary 1 secondary 1 arbiter Now what we need is to create authentication via key and auth directive. Can some please help us in same, what i have done is listed below: 1. created one keyfile and directive is defined in each mongo instance. 2. but after that i am not able to login in to mongo instance, do i need to create user also and start the each mongo instance with --auth directive, if so help us that where i have to create user like from mongos instance for mongos and shards or separate users for mongos and shard.?? Thanks in advance.