Database Mirroring Maximizing Availability Through Automation