Hello,
There should be very careful consideration of Config Servers deployment to ensure smooth operation of your sharded cluster. It is highly recommended to deploy each Config Server is on its own separate machine.
Config Servers are vital to the operation of your sharded cluster and in the event that they become corrupt or inconsistent, it can be very difficult to resolve successfully. Without clean, working Config Servers, the cluster may not be able to determine where data in a sharded collection is stored, severely disrupting the operation of the cluster. So ensuring they are running without any problems is essential to your operations.
Currently, there are two possible ConfigServer deployment in MongoDB:
There are many advantages to running the Config Servers as a replica set (and thus on separate machines), namely: better fault tolerance and improved consistency.
Please see Replica Set Config Servers for more information regarding this subject.
In a pre-CSRS implementation, if any config server goes down, no cluster operation that modifies the metadata can take place (e.g. balancing, chunk splitting). This is detailed in the documentation for Sharded Cluster, HA.
Regards,
Chris