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

timgreen7077Exchange EngineerCommented:
is this to perform maintenance on the server or to remove completely from DAG?
timgreen7077Exchange EngineerCommented:
also what version of exchange is it?
Edward van BiljonMessaging and Collaboration Technical Lead (Exchange MVP)Commented:

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.

Price Your IT Services for Profit

Managed service contracts are great - when they're making you money. Yes, you’re getting paid monthly, but is it actually profitable? Learn to calculate your hourly overhead burden so you can master your IT services pricing strategy.

Barry FieldsIT managerAuthor 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 managerAuthor 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 FavorLinux/LXD/WordPress/Hosting SavantCommented:
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 managerAuthor 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
Barry FieldsIT managerAuthor Commented:
never mind guys, my protocol analyzer was set wrong. Iam good to go.

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

From novice to tech pro — start learning today.