Automated master slave setup

@gchan Yep, the Bahmni core team previously recommended Active/Passive HA rather than Active/Active. [1] Our deployment unfortunately uses manual fail-over.

[1] Why is Active/Passive used in Bahmni, vs Load Balancer based redundancy?