Simulate a Failover in Exchange 2010

How do I test my Failover Cluster in Exchange 2010.   I have 2 servers with the following roles on both servers.  CAS/HUB/MB.   I have a CAS Array set up as well as a DAG.   I have successfully made copies of the DB.  Today I turned off SVR 1 in the hopes that failover would work.  It did not.  The Database copy took a bit, but it finally mounted on SVR 2.   I can open up Outlook 2007 for my test user account, it is kind of slow, but it opens and that is all I can do.  I cannot send or receive email to that test account.    My Exchange is still in its testing stage and I have successfully created a couple of test accounts and mail flow does work for inbound and outbound traffic, but did not work during my hard failure test.  What am I missing?    I have been unable to find steps to simulate a hard (not planned) failure and a soft (planned) failure.
COXMARAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel Angel Perez MuñozCommented:
You have only 2 servers with all roles inside both. How are you balancing CAS conections? Did you configure correctly CAS server on DAG databases?
0
AmitIT ArchitectCommented:
It is working as per design. As you mentioned, db failed over to server 2 and you were able to connect mailbox. So DAG is working.

What error are you getting, when you are trying to send an email. Remember, DAG is only for MBX. For CAS you need HLB, for HUB you need multiple hub servers.

I assume your FSW is on separate box.
1
Hendrik WieseInformation Security ManagerCommented:
The problem here is the fact that you have all roles on each server.

Your CAS Array and DAG cannot run on the same server.

So the best option here would be to either move your mailbox role to a different server and have the others reside on the current ones or vise versa
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

AmitIT ArchitectCommented:
1
Hendrik WieseInformation Security ManagerCommented:
Ok let me rephrase. You would normally use Windows NLB to load balance the 2 and you cannot use Windows NLB and DAG on the same server.

When I said CAS Array I was referring to the NLB sertup. :)
0
COXMARAuthor Commented:
Thanks for all the Comments,  we are not using a NLB you cannot use that in my configuration it will not work with a DAG. The FSW is on another Member Server as it has to be in my configuration, yes proper permission (ETS) was added to the local Admin account.  For AMIT -  No error, email just stays in the outbox and any email that is sent to that test account does not get delivered.   I turned on SVR 1 before leaving work and this morning all messages Sent and Received were delivered within 15 minutes after turning SVR 1 back on.  There has to be a way to successfully test a hard and soft failure, I rather know that works now while still in the testing phase before it becomes a live Server.
0
AmitIT ArchitectCommented:
Both server are in same site?
0
COXMARAuthor Commented:
AMIT - Yes, both servers are in the Same Site.  I am using DNS as my sort of Load Balancer.  I have my A record for the CAS Array pointing to both servers.  I do not have DNS round robin enable for the two servers, I am thinking that I need to do that, but I am not sure. I will be reading up on that today.  The Servers are Windows 2008 R2 Virtual.  Small User base - which is why I opted for 2 multi-role Servers and the only reason I have 2 servers is more for redundancy in case I experience issues with one of the servers.
0
AmitIT ArchitectCommented:
For CAS you need a load balancer. Then only you can achieve High Availability. As far as, your issue, it is not related to CAS it is related to HUB role. Can you send an email to test account itself and tell me the result.
0
kevinhsiehCommented:
We have had two servers for Exchange 2010 for years in two different sites. All roles on h82bu other servers. We would manually modify DNS for the CAS array to point to the right server, but that was the only manual step required for failover.

The best thing to do it try it, and troubleshoot all the issues you find. Make sure both servers have a send connector.
1
COXMARAuthor Commented:
Good News and another question.  So the failover actually worked because the DB from SVR1 that I shutdown is still on SVR 2 and mail is flowing.  The mailbox that was original on SVR1 and that moved to SRV 2 as it should after I shutdown SVR 1, but could not receive or send emails was because when I first set up the Test MBX'S I had not created the CAS Array as of yet. According to documentation it is best to create your CAS Array before you create or move any mailboxes, I knew this after the fact.  Anyway I needed and just did a repair on that mailbox in outlook and mail flows incoming and outgoing with no problem on the SVR 2.  My question is how to I get the MB back on it's original SVR 1?  It should not be a move command, is there an activate command or something that I need to run on the EMS?  I plan on testing all again, but after I figure out how to get the DB back to it's original Server.
0
AmitIT ArchitectCommented:
You need to perform failback. Two ways, either you power one Sever 1 and then power off Sever 2. That way it will failback everything to Server 1. Or you power on Server one and activate DB back to Sever 1. Normally, for maintenance there is a script, start/stop dag in maintenance mode.

Review my article how to move server into maintenance mode in 2010.

http://www.experts-exchange.com/articles/10389/Steps-for-Upgrading-Exchange-2010-SP1-or-SP2-to-SP3-with-Latest-Rollup.html
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
COXMARAuthor Commented:
Thanks - Activated the original and it is back where it needs to be.  Thanks for the article.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

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.