Improve company productivity with a Business Account.Sign Up


Exchange 2010 DAG x2 only with DNS

Posted on 2013-07-01
Medium Priority
Last Modified: 2013-07-07
Just want to know if this will work. going to set up a DAG on 2nd exchange server so databases are available but did a full install on 2nd exchange with client access roles.

So i grasp the fact that i have backup of the database and thats good but if 1st exchange server goes down would clients be able to access exchange2 ? with a reboot or something ?

anyone explain the client access on exchange 2010

Question by:elite74
LVL 12

Expert Comment

ID: 39292300

For the 2nd Exchange server to be part of DAG, you should install Mailbox Server role. DAG is used for Database Availability where you will be creating multiple copies of a Database in different Exchange 2010 Mailbox Servers. One of the copies will be active at any instant of time and other copies will be passive. If there is any error on the server where active copy is there and database is inaccessible, then passive copy will be active automatically. DAG uses Fail Over Clustering in the background. After the DB Failover, client machines will get the updated location of mailbox thru AutoDiscover service.

Following is a good statup document for DAG.

Expert Comment

ID: 39292373

All client accesses (Outlook, OWA, mobile/Activesync, Pop, Imap) require a Client Access Server (CAS) Role. If on your 2 exchange servers, you only have one CAS role (and 2 mbx in a DAG) then if the machine with the CAS role crashes then nobody could access to the data in their mailbox in the DAG.
DAG is a clustering technology only for the data storage in Exchange, and not a fault tolerant technology to clients access.
You have to make a "cluster" of CAS role in your Exchange infra to achieve global high avalaibility. Clustering for CAS role relies on another technology than Mailbox/DAG, you need "Load balancing" techno on the network to do  this.
LVL 16

Expert Comment

by:Bruno PACI
ID: 39292776

I just wanted to give a precision about what have been said here: the Autodiscover process is not involved in the high availability of the CAS role.
Autodiscover process won't help clients to failover on another CAS server in case of failure of the first one !

Clients only use Autodiscover to locate a CAS server at startup, and this is just to interrogate the CAS about which database contains their mailbox.
After that, the database contains an attribute (RpcClientAccessServer) that contains the name of the CAS server or CAS array that must be reached to conenct to the mailbox. The client read this attribute and tries to reach this CAS server name or CAS Array name.
If the server under the RpcClientAccessServer is not alive the client will fail to reach the mailbox. Autodiscover won't help about that.

As said before, the CAS role should be High Available, and that can be done by the way of Hardware Load Balancer, or by using Windows NLB but is this last case the CAS role must be installed on dedicated servers (not on the mailbox servers).
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.


Author Comment

ID: 39295245
Thanks  PaciB

I Found this link im going to try walk through. CentOS NLB with Exchange 2010

Im hopeing its going to work. anyone had much experience using Linux for Network load balancing ?

you definetly need to have 2 exchange servers to form a CAS array and + 2 for DAG, you cant do 2 2008 R2 WNLB and 2 exchange CAS + DAG Member servers ?
LVL 12

Expert Comment

ID: 39295607
DAG and WNLB will not co-exist in the same server. DAG uses Windows Failover clustering and WNLB is also a form of clustering, so both cannot co-exist on the same server.

You can create a CAS Array with two servers running Client Access Server Role in Exchange 2010. Same servers you can configure WNLB for CAS Load Balancing.

For DAG you will require two servers running Mailbox Server Role in Exchange 2010.

So in your case, if you are running mailbox role and cas role on the both the servers, it will not be possible to use WNLB. You may try to use another load balanacing solution and configure its IP Address as CAS Array IP Address.
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 800 total points
ID: 39296452
If you want to do this with just two servers, you can do it with DNS only. You will just need to update the CAS Array DNS entry manually. That may well be enough for you.
The key thing is having the CAS Array in place before you start and that all clients are using it.
There is no need for a load balancer unless you want automatic failover of the clients.

If you want a load balancing solution you could also look at Zen, which is open source and available as an appliance.

LVL 16

Accepted Solution

Bruno PACI earned 1200 total points
ID: 39297003

WNLB can only load balance local IP services. It can not be used to load balance services on remote servers.
That's why WNLB and CAS role must be installed on the same serve, and that's why CAS and MBX roles need to be separated if you wnat to make a full Microsoft HA solution.

If you use external load balancing solution, like hardware appliances or any load balancing software that is able to load balance remote services you can use only 2 Exchange servers that host all roles and are member of a DAG. The external load balancer will load balance the CAS role.

As Sembee2 said, if you don't need immediate and full automatic failover, if you accept to have an administrative action to do in case of failure before the clients can reach their mailbox, you can avoid to install Load Balancing.
You can create a CAS Array object in your Exchange organization and create a DNS alias for the CAS Array FQDN that points to the IP of one CAS. All clients will use this CAS to reach their mailbox. In case of CAS failure you'll have to modify the DNS alias so it points to the surviving CAS.

Have a good day

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.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Are you working to mount the dismounted Exchange 2013 database? Then the best course of action is to analyze the causes of Database issue, their probable solutions and decide for the appropriate course of action.
You can use the network upload option and the Office 365 Import service to bulk-import PST files to user mailboxes. Network upload means that you upload the PST files a temporary storage area in the Microsoft cloud.
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 video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

579 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