adding automated failover for disaster recovery