-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:None
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.