?
Solved

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

Posted on 2013-06-04
3
Medium Priority
?
418 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

650 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