Link to home
Start Free TrialLog in
Avatar of Barry Fields
Barry FieldsFlag 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
Avatar of timgreen7077

is this to perform maintenance on the server or to remove completely from DAG?
also what version of exchange is it?

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.

Avatar of Barry Fields


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
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
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.
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
Avatar of Barry Fields
Barry Fields
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
never mind guys, my protocol analyzer was set wrong. Iam good to go.