mongo
sh.
getBalancerHost
Deprecated since version 3.4: Starting in 3.4, the balancer runs on primary of CSRS. The primary of CSRS holds the “balancer” lock, using a process id named “ConfigServer”. This lock is never released.
See also
sh.enableBalancing()
sh.disableBalancing()
sh.getBalancerState()
sh.isBalancerRunning()
sh.setBalancerState()
sh.startBalancer()
sh.stopBalancer()
sh.waitForBalancer()
sh.waitForBalancerOff()