How to Use ClearLocalCMS to Remove a Clustered Mailbox Server from a Failover 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 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
Topic Last Modified: 2008-01-17
This topic explains how to remove a clustered mailbox server (CMS) and its configuration settings from a failover cluster by using Setup /ClearLocalCMS from a command prompt. Setup /ClearLocalCMS clears the CMS configuration information from the nodes in a failover cluster without affecting the CMS object or configuration information stored in Active Directory. Setup /ClearLocalCMS does not remove the Microsoft Exchange program files or Exchange databases, and it does not update any configuration information in Active Directory.
This process is typically performed during site reactivations in which services and data established at a backup datacenter are being transitioned back to the primary datacenter. For an example of this scenario, see Standby Continuous Replication: Site Resilience with Standby Clustering.
The following procedure can only be used locally on a node in the failover cluster containing the CMS; it cannot be used remotely.
This procedure can be performed only when the CMS is offline, and when the local node is not in the RedundantMachines list for the CMS. If a CMS is recovered to another failover cluster using Setup /RecoverCMS, during the Setup /RecoverCMS process, the RedundantMachines list will be updated to contain the nodes in the new failover cluster.
If the cluster nodes are running on Windows Server 2008, after you run Setup /ClearLocalCMS, the virtual computer object (VCO) will be disabled. You must re-enable the VCO.
The account used to perform the following procedure and clear the CMS configuration must be delegated Exchange Server Administrator permissions for the CMS. For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.
Open a Command Prompt window, and then navigate to the Exchange Server 2007 Service Pack 1 installation files.
Run the following command:
Setup /ClearLocalCMS /CMSName:<CMSName>
For example, to remove a local CMS named EXCLUS1 from a failover cluster, you would run the following command:
Setup /ClearLocalCMS /CMSName:EXCLUS1
After the CMS and its resources have been cleared, we recommend using Cluster.exe, or Cluster Administrator (Windows Server 2003) or the Failover Cluster Management snap-in (Windows Server 2008) to verify that all CMS resources have been removed.