How to demote a Exchange 2007 CCR Cluster with Load balanced CAS/HUB Servers

I used the following steps to do this.

1. All public folders and system folders that are housed on the Exchange 2007 CCR Cluster computer must be replicated to another Exchange 2007/2010 computer that is in the site.

2. Verify the contents of the public folder store with the following Powershell commands
Get-PublicFolderStatistics -server <Exchange 2007_Server_Name> | fl | out-file d:\PFstat.txt

Get-PublicFolder -server < Exchange 2007_Server_Name > \ -recurse | fl | out-file d:\PFIPMSub.txt

Get-PublicFolder -server < Exchange 2007_Server_Name > \non_ipm_subtree -recurse | fl | out-file d:\PFNonIPMSub.txt.

3. Remove the replicas from the public folder store

MoveAllReplicas.ps1 -Server ccrclustername –NewServer newservername

4. Remove the public folder store

Remove–PublicFolderDatabase –Identity "Public_Folder_Store_Name"

5. Change the server that is responsible for generating the Offline Address Lists

Move-OfflineAddressBook –Identity OfflineAddressBookIdParameter -Server ServerIdParameter

6. Move the Routing Group Connectors by using the following command:

Get-RoutingGroupConnector | where {$_.SourceTransportServers -like "<First Exchange 2007 server>"} | Set-RoutingGroupConnector -SourceTransportServers "<Second Exchange 2007 server>"
Get-RoutingGroupConnector | where {$_.TargetTransportServers -like "<First Exchange 2007 server>"} | Set-RoutingGroupConnector -TargetTransportServers <Second Exchange 2007 server>

7. To modify any Send connectors that have the first Exchange 2007 server as the source transport server, run the following commands:

Get-SendConnector | where {$_.SourceTransportServers -like "<First Exchange 2007 server>"} | Set-SendConnector -SourceTransportServers "<Second Exchange 2007 server>"

8.Important:
How to use the Exchange Server SP1 2007 Setup wizard to remove Exchange 2007

  1. Log on to the server from which you want to remove Exchange 2007.

  2. Open Control Panel, and then double-click Programs and Features.

  3. In Programs and Features, select Microsoft Exchange Server 2007, and then click Uninstall.

    If you click Change instead of Uninstall, you can add server roles, but you cannot remove server roles.

  4. In the Exchange Server 2007 SP1 Setup wizard, on the Exchange Maintenance Mode page, click Next.

  5. On the Server Role Selection page, clear all the server role check boxes, clear the Management Tools check box, and then click Next.

    By default, all server roles are selected. This indicates that no server roles will be removed. To remove a server role, you must clear the appropriate check box.

  6. On the Readiness Checks page, after the check completes, click Uninstall.

  7. On the Completion page, click Finish.

  8. (Optional) If you are removing Exchange from a Mailbox server, remove the Exchange database files (*.edb) and storage group log files (*.log).

    If you reinstall the Mailbox server role on this server, you must first remove the database and log files from the server.

  9. (Optional) Remove the setup log files that are located at %systemdrive%\ExchangeSetupLogs.

  10. (Optional) Remove the following virtual servers that are created for Exchange 2007 under the Default Web Site in IIS:

    • Microsoft-Server-ActiveSync
    • OAB
    • Owa

    When you remove Exchange 2007, neither IIS nor these virtual servers are removed

9.  First Remove the Passive Mailbox Node

10. Second the Primary Mailbox Role

11. Remove the CAS/HUB’s Role on the nodes
Important: NOT AT THE SAME TIME

12. Demote the Cluster

13. Demote the NLB Cluster

14. Remove the Servers from the domain

15. Shutdown the Servers

16. Take a cold bier when you are don with testing and everything works Winking smile

Translate »