Solved

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

Posted on 2013-06-04
3
409 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

920 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