Is there any document for setting up Monogdb Cluster. Thannsk in advance!
That is only replSet but i also want sharding + replSet + configsvr and mongo router. thanks!
Setting up MongoDB cluster requires lots of manual work. You would want to have separate volume for MongoDB instead of using the root file system, ensure security, etc.
There is a good project that helps to automate the MongoDB setup and secure MongoDB. While currently it only supports MongoDB ReplicaSet.