mongodb - Steps to enable user authentication in mongdb sharded deployment
过去多啦不再A梦
过去多啦不再A梦 2017-05-02 09:25:02
0
2
915

Want to achieve the following scenarios:

连接mongos进程的时候,需要提供用户名和密码。
mongos的配置服务器采用副本集。
mongos创建的集合开启分片功能。

Currently, I am stuck on how to configure and enable user authentication. The online tutorials are not very detailed. Ask for help.

过去多啦不再A梦
过去多啦不再A梦

reply all(2)
迷茫

There are many forms of authentication. I think you should want the simplest integrated verification. Please refer to the documentation to see if there is anything you don’t understand
https://docs.mongodb.com/manu...
https://docs.mongodb.com/manu...

为情所困

The answer on the first floor is very complete, here is a supplement:

One of the official documents is a textbook specifically explaining how to configure authentication in the Sharding environment:

https://docs.mongodb.com/manu...

Basically, you need to complete: 1. Configure internal authentication (inside Sharded Cluster); 2. Configure authentication from the client to the Sharded environment.

Configuration requires a lot of manual operations. If you can purchase and use MongoDB Ops Manager, things will become much simpler, and you can concentrate on designing the program.

For reference.

Love MongoDB! Have Fun!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template