[DOCS-4831] Procedure to create replset with auth in MongoDB 2.4 Created: 17/Feb/15  Updated: 16/Mar/15  Resolved: 06/Mar/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: mongodb-2.4

Type: Improvement Priority: Major - P3
Reporter: Kevin Pulo Assignee: Michael Paik
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 8 years, 49 weeks, 5 days ago

 Description   

The procedure at http://docs.mongodb.org/manual/tutorial/deploy-replica-set-with-auth/#procedure is for MongoDB 2.6. It would be useful to have a similar procedure for MongoDB 2.4.

Alternatively, the procedure could be adapted to be compatible with MongoDB 2.4 and 2.6. I believe that the only change required would be to adjust step 2 to be:

use admin
db.addUser( { user: "siteUserAdmin",
              pwd: "<password>",
              roles: [ "userAdminAnyDatabase" ] } )
db.addUser( { user: "siteRootAdmin",
              pwd: "<password>",
              roles: [ "userAdminAnyDatabase",
                       "readWriteAnyDatabase",
                       "dbAdminAnyDatabase",
                       "clusterAdmin" ] } )

when MongoDB 2.4 is used.



 Comments   
Comment by Githook User [ 06/Mar/15 ]

Author:

{u'username': u'mpaik', u'name': u'Michael Paik', u'email': u'michael.paik@10gen.com'}

Message: DOCS-4831 - 2.4 replset with auth

Signed-off-by: Michael Paik <michael.paik@10gen.com>
Branch: v2.4
https://github.com/mongodb/docs/commit/7a91c32942020f0571f912c7717dbee68b770613

Comment by Githook User [ 06/Mar/15 ]

Author:

{u'username': u'mpaik', u'name': u'Michael Paik', u'email': u'michael.paik@10gen.com'}

Message: DOCS-4831 redirect fix

Signed-off-by: Michael Paik <michael.paik@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/a39c87929a6862a4ba2c2bafd123d6f727d4ea80

Generated at Thu Feb 08 07:48:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.