CAS Array Fail over Powershell Script for switching when DAG moves to new Server
Posted on 2013-06-04
What i am trying to accomplish:
I have 3 exchange 2010 servers setup in a DAG with Hub, Transport, and CAS installed
Each one is in their own site.
I created a CAS array group in each site casarray1.domain.local, casarray2.domain.local, casarray3.domain.local
Each one is set up in DNS with their respective IP.
When a server goes offline the DAG switches to the next server in line, but the casarray needs to be manually switched in order for mail to route outbound correctly. Is there a script or way to automate so when a server fails everything gets switched for the CAS array and cluster group? I dont mind a manual fail back just need an automatic fail over. Any other ideas or options would be great.