Avatar of Barry Fields
Barry Fields
Flag for United States of America asked on

How to take a load balanced exchange server that resides in a DAG down gracefully

Procedure for taking an Exchange server in a DAG thAt sit behind a load balancer outof service fgracefully
Exchange

Avatar of undefined
Last Comment
Barry Fields

8/22/2022 - Mon
timgreen7077

is this to perform maintenance on the server or to remove completely from DAG?
timgreen7077

also what version of exchange is it?
Edward van Biljon

Hi

If it is for maintenance, you would need to failover your stores and once the copies are healthy then put the node into maintenance mode so it doesnt accept new connections.

If it is to remove the server then you would need to first remove the copies on each store and then you can remove the server from the DAG and if you uninstalling then do it from programs and features.

Remember, if it was the first server then you need to move the arbitration mailboxes as well.

Cheers
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Barry Fields

ASKER
This is for maintenance. I have put the node into maintenance mode but when I reboot the server some of my Outlook clients disconnect from Exchange
Barry Fields

ASKER
I have tried to take my Exchange 2016 node out of maintenance but no connections are being forwarded to it the following commands is what I used, did I miss something?

To remove from maintenance mode
===================================================
1.Set-ServerComponentState "mail2k16" -Component ServerWideOffline -State Active -Requester Maintenance

2.Resume-ClusterNode "mail2k16"

3.Set-MailboxServer "mail2k16" -DatabaseCopyAutoActivationPolicy Unrestricted

4.Set-ServerComponentState "mail2k16" -Component HubTransport -State Active -Requester Maintenance
David Favor

To do this, likely best to take down the load balancer first.

When you do maintenance, all clients will disconnect + stay disconnected till your bring your Exchange instance back online.

Hint: Maintenance usually means all Exchange services are completely down. If you mean something else, provide a definition of maintenance, in this case.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Barry Fields

ASKER
By maintenance I mean making the server unavailable in the DAG via the following procedure,


o place in maintenance mode

1.Set-ServerComponentState "ServerName" -Component HubTransport -State Draining -Requester Maintenance
2.Restart-Service MSExchangeTransport
3.Get-Queue -Server "ServerName"
5.Suspend-ClusterNode "ServerName"
6.Set-MailboxServer "ServerName" -DatabaseCopyAutoActivationPolicy Blocked
7.Set-ServerComponentState "ServerName" -Component ServerWideOffline -State Inactive -Requester Maintenance
ASKER CERTIFIED SOLUTION
Barry Fields

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.
Barry Fields

ASKER
never mind guys, my protocol analyzer was set wrong. Iam good to go.