I have followed the tuturial Deploy a Sharded Cluster
I have setup
config server replica set with 3 members (cfg1, cfg2, cfg3) [replica set name = configserverreplica]
mongodb server replica set with 3 members (mongoserver01, mongoserver02, mongoserver03) [replica set name = mongodbreplicaset]
on another node named foreign-connector on which I am running
mongos --configdb "configserverreplica/cfg1:27019, cfg2:27019, cfg3:27019" --bind_ip_all —port 27020.
from client machine I connect to foreign-connector with
mongo --host foreign-connector --port 27020
Above is my set up. And it works perfectly fine for failover test (I can take down any node at a given time... Everything works)
My question is what happens when mongos server (foreign-connector) goes down.
Is there any other way to be failover proof.
Thanks for your help is advance.