Adding auto-discover master to instance and sentinel