How to Dismount a Database in a CCR Environment
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 dismount a database in a cluster continuous replication (CCR) environment by using either the Exchange Management Console or the Exchange Management Shell.
Dismounting a database stops the data from being available to clients. The procedure for dismounting a mailbox or public folder database is the same on a clustered mailbox server as it is on a stand-alone mailbox server. Dismounting a mailbox database prevents the mailbox server from further access of the database files. A database must be dismounted before its supporting volume or physical disk can be manipulated. Replication can still access the logs of a dismounted database. If the administrator needs to stop access to the database logs, the administrator must suspend the storage group copy associated with the database.
Unlike a stand-alone mailbox server, a dismounted database retains memory of its offline state. A server failure, or restart of the mailbox server, does not cause the database to be mounted again. The administrator must explicitly mount the database.
Dismounting a database is performed by using the Dismount-Database cmdlet. For more information about the Dismount-Database cmdlet, see Dismount-Database.
Before You Begin
To perform the following procedure, the account you use must be delegated the following:
- 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 Microsoft Exchange Server 2007, see Permission Considerations.
To use the Exchange Management Console to dismount a database
Open the Exchange Management Console.
In the console tree, expand Server Configuration, and then click Mailbox.
In the result pane, select the server on which you want to dismount the database.
In the work pane, select the database to dismount.
In the action pane, click Dismount Database.
Click OK to confirm the dismount of the database.
To use the Exchange Management Shell to dismount a database
Run the following command:
Dismount-database -Identity:<Server\StorageGroup\Database>
For More Information
For detailed syntax and parameter information, see Dismount-Database.