How to Remove the Active Mailbox Role from a Single Copy Cluster

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

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

This topic explains how to remove an active node from a single copy cluster (SCC). 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.

Note

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).

Before You Begin

Before performing any of the procedures, be aware that there are special considerations for SCCs that contain more than one CMS. If you are removing a CMS from an SCC that contains more than one CMS, we recommend that you review the topic Uninstalling Clustered Mailbox Servers.

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.

You must 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 CMS that you want to delete and be delegated the Exchange Server Administrator role. For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.

Procedure

To use Setup.com to remove a CMS and the Mailbox role from the active node in an SCC running Exchange 2007 SP1

  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>
    
  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.

To use Setup.com to remove a CMS and the Mailbox role from the active node in an SCC running Exchange 2007 RTM

  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>
    
  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.

To use Setup.com to remove a CMS and convert the active node to a passive node in an SCC running Exchange 2007 RTM or running Exchange 2007 SP1

  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>
    
  4. After Setup has completed, restart the node. After the restart is completed, the node has the passive clustered Mailbox role and the Management Tools role installed.

To use the Exchange Server 2007 SP1 Setup wizard to remove a CMS and the Mailbox role from the active node in an SCC

  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. After 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.