Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange 2010 and HA/DAG's

Posted on 2011-03-16
10
Medium Priority
?
804 Views
Last Modified: 2012-06-27
Hi,

I've put questions here before about this but I'm still not quite getting it.

I have a single server now running Ex2010 in a lab. It's functioning as a real valid mail server, using a real test domain that I created.

I want to implement DAG's because, as I understand it, it will give me real-time database copies of my mailbox database.

So, that means I need to install a second server, join it to the domain and install Exchange 2010 on it.
The first question is: do I only need to install the Mailbox role on the second server in order to implement DAG's? I think this is true from what I've seen.

The second question is: Can I install also the HUB Transport and CA roles on this second physical box? The reason I'd want to do that would be to have a High Availability solution in place in the event my first Exchange box failed for some reason.
So this leads me to question 3 -- can I have a HA solution for Ex2010 with just two servers? I remember reading someplace that Microsoft recommends 3 servers at a minimum.

If I can't have HA with just two servers, but I can set up DAG's with just two servers, what would I have to do in the event Exchange server 1 went down? Would the DAG's automagically redirect to Exchange server 2 or would I need to intervene to make this happen?



Thanks!
Mike


0
Comment
Question by:nachtmsk
  • 5
  • 5
10 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35150575
Yes, the second server must have the mailbox role.

Yes, you can install the Hub and CA roles on the second server.

Yes, two servers is essentially an HA solution...to the extent the facility they are in isn't destroyed or access to the servers isn't cut off.  Two servers is better than one.  Two (or more) servers spread out geographically is even better.
0
 
LVL 1

Author Comment

by:nachtmsk
ID: 35150652
Thanks for the quick reply Paul.

Excuse the simplistic question here -- so, if I have all of the roles installed on Both servers, which server is actually functioning as my "Exchange" server -- are they both? Is there some setting I have to choose when installing to designate one server as the primary.

Are you saying I don't need a third server to have HA? I thought I remember reading something about windows clustering and the CA role regarding a third server??  That might also have been talking about Load Balancing. I honestly don't remember and can't find it again.

Thanks!
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35150717
IIRC, Microsoft wants you to offload the CA role to an external server (or cluster of servers) for HA.  We simply clustered the role on our extant Exchange servers.

The gist is that mail coming in to the network gets queued by the Hub, pending the mail going into the mail database.  Once the mail is in the database and replicated, it's de-queued.  That way, if Exchange crashes before the message is stored/replicated, there's still a copy of it in the Hub, which can then pass the message on to any Exchange servers still running.

Check these items for more information:
http://technet.microsoft.com/en-us/library/aa998619.aspx

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5f9dbd88-dadf-4ad9-9f28-ad35a1ab1da2
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 1

Author Comment

by:nachtmsk
ID: 35157412
Paul,
Thanks again.
So, will two physical servers give me redundancy? I'm reading other stuff online. Please look at this quote and tell me what you think:
I got it from: http://mcpmag.com/articles/2010/07/19/exchange-high-availability-server-minimums.aspx

----
"You see, since DAGs make use of the Windows Failover Clustering (WFC) component to an extent (primarily heartbeat and the cluster database), you can’t configure the two servers as nodes in a Windows NLB since it’s unsupported to use both WFC and WNLB on the same server. This has been unsupported since Windows NT 4.0 and is due to potential hardware sharing conflicts between the Cluster service and WNLB. Read more in KB article: http://support.microsoft.com/default.aspx?kbid=235305.

This means that you must use an external load balancing/fail-over device such as a hardware-based load balancer. Also note this balancer should be redundant, so you need a minimum of two devices."
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35157484
In that article, they're using NLB to allow them to run two Hub/CAS servers simultaneously because they (evidently) have so much mail/client traffic that they need two servers to handle it all.  There's nothing wrong with that design and it may be typical for larger networks.

I don't know what a reasonable cut-off is for making that decision, but on our network, we have the Hub/CAS servers clustered so only one is running at a time.  We get HA/fault tolerance but we must not have as much traffic as they do.  For the record, we're supporting less than 100 mailboxes.
0
 
LVL 1

Author Comment

by:nachtmsk
ID: 35157566
I don't need to use NLB for performance. I have about 200 users but most don't check their mail often.  I'm more concerned about HA.

My plan is this:
Run two physical servers
Run all Ex2010 roles on each server
Create DAGs across servers.

In the event of a server melt down or DB corruption I would be able to use the other server or one of my database copies.
it seems like this is all possible using just two physical servers to me, yes??
But -- if a DB gets corrupt or if a physical server dies, what will I have to do in order to get the other server to take over? A few mins or even an hour downtime is acceptable in my situation.
Thanks!
0
 
LVL 1

Author Comment

by:nachtmsk
ID: 35157597
You said:
"we have the Hub/CAS servers clustered so only one is running at a time."
It's possible to cluster CAS/HUB on only two servers while using DAG's? From what I'm reading (and quite possibly not understanding correctly), it says that clustering (NLB) can't happen if it's running on the same server as the CAS.
I'm still confused...
0
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 2000 total points
ID: 35157858
NLB is not clustering.  NLB is load balancing and implies traffic is divided among several hosts, all running concurrently.  Clustering implies traffic sent to one node (the active node) among several hosts.

I don't know how else to assuage your fears other than to say we run two 2010 servers here.  Each server hosts Hub, CAS and Exchange services.  Both nodes hold copies of all mail databases and the Hub and CAS roles are clustered so if I lose either server, the other one can take over completely.  For additional disaster recovery/HA, we contracted for a remote node about 100 miles away with which we replicate our mail databases via CCR.  Unless something takes out Virginia from Norfolk to Richmond, I expect I'll have mail.

In your case, the loss of a single server should go unnoticed.  Mail is sent to the DAG.  Clients are sent to the DAG.  Loss of a node within the DAG just means another node takes over.  Both Exchange servers have copies of the mail databases.  Corruption on one server shouldn't imply corruption on all servers so you can just roll over, kill the bad copy and force a new one.  If all copies are bad, restore from backup.  
0
 
LVL 1

Author Comment

by:nachtmsk
ID: 35157991
I see now! I thought NLB was clustering. That's why I kept thinking I needed 3 servers, because everything I read said three servers were needed for NLB.

One last question.
You said both your HUB and CAS roles were clustered. How do you cluster these roles? Simply by having them on two servers that are domain members?

Thanks. You have been very helpful.
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35158009
Yes, I've created a DAG cluster on the Exchange servers themselves to host the Hub and CAS roles.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
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!
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…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

963 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