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

Barry Fields
Barry Fields used Ask the Experts™
on
Procedure for taking an Exchange server in a DAG thAt sit behind a load balancer outof service fgracefully
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
is this to perform maintenance on the server or to remove completely from DAG?
timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
also what version of exchange is it?
Edward van BiljonMessaging and Collaboration Technical Lead (Exchange MVP & MCT)

Commented:
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
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Barry FieldsIT manager

Author

Commented:
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 FieldsIT manager

Author

Commented:
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 FavorFractional CTO
Distinguished Expert 2018

Commented:
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.
Barry FieldsIT manager

Author

Commented:
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
IT manager
Commented:
never mind guys, my protocol analyzer was set wrong. Iam good to go.
Barry FieldsIT manager

Author

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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial