Solved

Exchange 2010 and HA/DAG's

Posted on 2011-03-16
10
791 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 33

Expert Comment

by:paulmacd
Comment Utility
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
 

Author Comment

by:nachtmsk
Comment Utility
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 33

Expert Comment

by:paulmacd
Comment Utility
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
 

Author Comment

by:nachtmsk
Comment Utility
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 33

Expert Comment

by:paulmacd
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:nachtmsk
Comment Utility
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
 

Author Comment

by:nachtmsk
Comment Utility
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 33

Accepted Solution

by:
paulmacd earned 500 total points
Comment Utility
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
 

Author Comment

by:nachtmsk
Comment Utility
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 33

Expert Comment

by:paulmacd
Comment Utility
Yes, I've created a DAG cluster on the Exchange servers themselves to host the Hub and CAS roles.
0

Featured Post

How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

Join & Write a Comment

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.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

771 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

11 Experts available now in Live!

Get 1:1 Help Now