How to find master server in dual master replica setup