Solved

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

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

707 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