Avatar of ei00004
ei00004
Flag for United States of America asked on

Outlook 2010 and DAG Fail-back

I have two Exchange 2010 servers A and B usng a DAG. I can disconnect the NIC cable on Exchange serverA and after waiting a few minutes it will automatically mount the DB on Exchange serverB. Then after waiting a few more minutes more my Outlook client reconnected to the failover Exchange serverB. This is perfect!

Now to fail-back to server A, I right clicked on the mailbox server database and mounted it back on primary ServerA. I then stopped all the Exchange services running on serverB, even thought the Outlook clients can open the database on ServerA, they are accessing the database on ServerA while still connected to ServerB.

How do I get my Outlook cleints to change their DNS connection to ServerB?  Rebooting ServerB does not make the clients connect back to ServerA.
ExchangeOutlookWindows Server 2008

Avatar of undefined
Last Comment
ei00004

8/22/2022 - Mon
SOLUTION
Akhater

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ei00004

ASKER
The RpcClientAccessServer does show the Outlook clients are connected to ServerB. Why is it when I fail-over from ServerA to ServerB the Outlook clients are also changed to point to ServerB?  Whatever is changing the Outlook clients to point to ServerB is not changing it to point back to ServerA.

How can I manually point my Outlook 2010 clients that are connected to ServerB back to ServerA where the database is now located?
SOLUTION
Manpreet SIngh Khatra

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Akhater

changing the rpclcientaccessserver when you have a crash won't help i detailed the steps you should follow to solve your problem
ei00004

ASKER
Is there a cmdlet that will show me if I have a CAS array configured or if just one of the servers is acting as a CAS server?  I don't think we have a script that controls which CAS Server is set as "RpcClientAccessServer" but I will find out.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Manpreet SIngh Khatra

I am not sure of that but as you say if its on ServerA and a failover to ServerB does that happen automatically ?

- Rancy
SOLUTION
Akhater

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ei00004

ASKER
Yes, ServerA does failover to ServerB automatically.

Get-ClientAccessArray does not show ServerA or ServerB as being in an array, so we will assume a CAS array is not configured.

ServerB is set as my CAS.

I'm out of the office today, but Monday I will try:
Set-MailboxDatabase dbname  -RpcClientAccessServer ServerA
to see if this points my Outlook clients back to ServerA.
Manpreet SIngh Khatra

If ServerA isnt CAS it cant ever be in that field ... this field is only for CAS installed servers

- Rancy
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ei00004

ASKER
Ok, how do I make my Outlook clients access ServerA like they did before I failed over to ServerB ?
Manpreet SIngh Khatra

Is CAS role installed on ServerA ? If so the command i gave and you said you were going to check

- Rancy
ei00004

ASKER
The servers are not configured in a CAS array.
RpcClientAccessServer is set to ServerB
What cmdlet will tell me which server has the CAS role installed?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Akhater

get-clientaccessserver
Manpreet SIngh Khatra

If this command by Akhater only shows ServerB its cause only ServerB has CAS role installed

- Rancy
ei00004

ASKER
get-clientaccessserver shows ServerA and ServerB both in the list.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Akhater

No offense but I already answered your question like 3 times already,

from the first post in this thread

you need to load-balance your cas server (you will need an external loadbalancer for this since your cas is installed on your mailbox servers)

then create a cas array with these 2 server

finally change the RpcClientAccessServer on your databases to point to your cas array

Since outlook is already created you will need to manually change it on all clients to use the cas array name instead of serverB
ei00004

ASKER
I appreciate your post, and I get it that I need an external loadbalancer to make the clients automatically connect to the other server when one fails. But that still does not answer why it worked the first time.

At this point all I want to do is manually point my Outlook clients back to ServerA, and you said in your post that
set-mailboxdatabase dbname -RpcClientAccessServer  balbal will change it

So I'm assuming in my case it should be
Set-MailboxDatabase dbname  -RpcClientAccessServer ServerA, but Rancy said that would not work unless ServerA is has CAS install on it.  
get-clientaccessserver shows ServerA and ServerB both in the list,  so excuse me for getting mixed signals here.
Manpreet SIngh Khatra

Ideally it shouldnt work at all yes Failover can only happen if its a CASArray not otherwise so not sure if it was already set to ServerB if you didnt check earlier

- Rancy
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Akhater

Set-MailboxDatabase dbname  -RpcClientAccessServer ServerA

will change the RpcClientAccess to serverA that's perfectly correct.

What do you mean by "it worked the first time"? what first time ?

just note that although Set-MailboxDatabase dbname  -RpcClientAccessServer ServerA
 will change the database RpcClientAccessServer  to serverA outlook clients will still be pointing to serverB
ei00004

ASKER
Very first paragraph:
I have two Exchange 2010 servers A and B usng a DAG. I can disconnect the NIC cable on Exchange serverA and after waiting a few minutes it will automatically mount the DB on Exchange serverB. Then after waiting a few more minutes more
my Outlook client reconnected to the failover Exchange serverB. This is perfect!
Akhater

of course it explains it,

Your clients are connected to server B at all times (as a CAS server) however your mailboxes are up on server A (as a mailbox server)

when you shutdown serverA databases are moved from server A to server B (as mailbox servers) but clients are still connected to serverB (as CAS server) so, once the DB are online on ServerB (as mailbox server), connection is re-established
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
ei00004

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Akhater

Honestly this link is exactly what i have been telling you.
ei00004

ASKER
The link I found explained exactly what I was trying to do.