Solved

CAS Array Fail over Powershell Script for switching when DAG moves to new Server

Posted on 2013-06-04
3
408 Views
Last Modified: 2014-03-10
All,

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.
0
Comment
Question by:AFRITSupport
  • 2
3 Comments
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 39220604
That is what a load balancer does.
You can use an open source one if you wish - such as Zen.

Another option would be to write a script that does a ping test of the CAS role holder, if that fails then use the command line to change the DNS record.

The CAS Array address should be used for MAPI traffic only. Mail flow in general shouldn't be using the CAS Array address.

Simon.
0
 

Author Comment

by:AFRITSupport
ID: 39227134
i like your script idea, do you have any guidance for that?
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39228460
The only script sample I have I cannot share as it belongs to a client. Sorry.

Simon.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now