Remove Server member from CAS Array in Exchange 2010

We are in the process of replacing our CAS server with a new virtual machine. Everything is working but now we have a CAS Array with two servers and not sure how to get it removed from the Array. We have been searching for hours and can't figure it out. Anyone run into this issue? We don't have any load balancing. The DNS is now pointing to the new CAS server.

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.

Adam FarageEnterprise ArchCommented:
Lesson time!

A CAS Array is a logical active directory object that basically pulls any and all CAS within that active directory site into the object. There is no way to exclude the CAS unless you move it to a separate AD site, or simply remove the CAS Array. As you pointed out, you do not have a load balancer and the CAS Array object does not load balance (but instead is the MAPI endpoint on the database, which is the RPCClientAccessServer attribute).

If you want to completely remove the CAS Array object you can run the Remove-ClientAccessArray command:

I would also check the databases in the environment to make sure they are not pointed at the FQDN of the CAS Array. You can run Get-ClientAccessArray to find out the FQDN of the array, and then run Get-MailboxDatabase | Select RPCClientAccessServer. Make sure this is not the Exchange server going away, nor the CAS Array.

In the event that this attribute is not proper, you can do the following to fix it:

Get-MailboxDatabase | Set-MailboxDatabase -RPCClientAccessServer FQDNOFNEWCAS

Open in new window

And my favorite article ever, demystifying the CAS Array Object:

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
Senior IT System EngineerIT ProfessionalCommented:
Do I have to do this before applying the service pack 3 or any windows update to my CAS array ?
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.