Export (0) Print
Expand All

How to Remove the Active Mailbox Role from a CCR Environment

 

Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007

Topic Last Modified: 2007-11-19

This topic explains how to remove an active node from a cluster continuous replication (CCR) environment. There are two uninstall procedures that you can perform to remove an active node:

  • Uninstalling the clustered mailbox server (CMS) only and converting the active node to a passive node
  • Uninstalling the CMS and the Mailbox role and removing Microsoft Exchange Server 2007 from the node

The command-line version of Setup (Setup.com) can be used to perform both procedures. The Exchange Server 2007 Service Pack 1 (SP1) Setup wizard can be used only to perform the second procedure; it cannot be used to convert an active node to a passive node.

noteNote:
The Exchange Server 2007 Setup wizard from the Release to Manufacturing (RTM) version of Exchange 2007 can also be used to perform the last procedure below. The steps are the same for both the RTM and SP1 Setup wizard (except that only the SP1 Setup wizard can be run on Windows Server 2008).

All mailboxes must be removed before performing this operation.

In the command-line procedures, <CMSName> is the name of the CMS to be removed.

The Network Name resource and IP Address resource for the CMS must be online for Setup to remove a CMS.

Determine what node in the cluster is currently hosting the CMS. This can be determined by running the Get-ClusteredMailboxServerStatus command and specifying the name of the CMS.

To perform this procedure, you must be logged on to the computer that is currently hosting the clustered mailbox server that you want to delete and be delegated the Exchange Server Administrator role and local Administrators group for the target server. For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.

  1. Open a Command Prompt window on the active node.

  2. Change to the bin directory under the location of the Exchange Server program files. By default, Exchange Server is installed at %ProgramFiles%\Microsoft\Exchange Server\bin.

  3. Run the following command:

    Setup.com /mode:uninstall /removeCMS /CMSName:<CMSName>
    
    noteNote:
    <CMSName> is the name of the CMS to be removed.
  4. After Setup has completed, restart the node.

  5. After the node is restarted, remove any remaining files and folders from the Exchange Server program files folder and subfolders. You can also remove the %SystemDrive%\ExchangeSetupLogs folder and subfolders.

  1. Open a Command Prompt window on the active node.

  2. Change to the bin directory under the location of the Exchange Server program files. By default, Exchange Server is installed at %ProgramFiles%\Microsoft\Exchange Server\bin.

  3. Run the following command:

    Setup.com /removeCMS /CMSName:<CMSName>
    
    noteNote:
    <CMSName> is the name of the CMS to be removed.
  4. After the CMS has been removed, run the following command to uninstall Exchange Server:

    Setup.com /m:uninstall
    
  5. After Setup has completed, restart the node.

  6. After the node is restarted, remove any remaining files and folders from the Exchange Server program files folder and subfolders. You can also remove the %SystemDrive%\ExchangeSetupLogs folder and subfolders.

  1. Open a Command Prompt window on the active node.

  2. Change to the bin directory under the location of the Exchange Server program files. By default, Exchange Server is installed at %ProgramFiles%\Microsoft\Exchange Server\bin.

  3. Run the following command:

    Setup.com /removeCMS /CMSName:<CMSName>
    
    noteNote:
    <CMSName> is the name of the CMS to be removed.
  4. After Setup has completed, restart the node. After the restart is completed, the node has the passive clustered Mailbox and the Management Tools roles installed.

  1. Open the Windows Control Panel on the active node, and navigate to Programs and Features (Windows Server 2008) or Add or Remove Programs (Windows Server 2003).

  2. Select Microsoft Exchange Server 2007 and click Uninstall (Windows Server 2008) or Remove (Windows Server 2003).

  3. The Exchange Server 2007 SP1 Setup wizard starts in Exchange Maintenance Mode. Click Next.

  4. On the Server Role Selection page, clear the check boxes for Active Clustered Mailbox Role and Management Tools, and then click Next.

  5. On the Readiness Checks page, the status will appear as the checks are performed. When the checks complete successfully, click Uninstall.

  6. The Progress page shows the steps that will be performed. Progress is shown as these steps are processed, and completion status is provided as each step completes. After all of the steps complete successfully and the Completion page appears, click Finish.

  7. Close Programs and Features (Windows Server 2008) or Add or Remove Programs (Windows Server 2003), and then restart the node.

  8. After the node is restarted, remove any remaining files and folders from the Exchange Server program files folder and subfolders. You can also remove the %SystemDrive%\ExchangeSetupLogs folder and subfolders.

For more information about the Get-ClusteredMailboxServerStatus cmdlet, see Get-ClusteredMailboxServerStatus.

To ensure that you are reading the most up-to-date information and to find additional Exchange Server 2007 documentation, visit the Exchange Server TechCenter.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft