Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-08-20

This topic describes how to use the Exchange Management Console or the Exchange Management Shell to create a new database that is enabled for local continuous replication (LCR). The process used to create an LCR-enabled database is identical to the process used to create a database that is not enabled for LCR, except that additional information is provided and the database copy may need to be manually seeded.

After LCR has been enabled for a storage group, it will initially report a status of Initializing. The storage group will change from a status of Initializing to a status of Healthy after one transaction log file has been generated.

Note:
LCR cannot be enabled on a Mailbox server that contains one or more standby continuous replication (SCR) targets. Although LCR can be enabled on a Mailbox server that is configured as an SCR source, LCR and SCR targets cannot be combined on the same Mailbox server.

Before You Begin

To perform the following procedures, the account you use must be membership in the local Administrators group on the Mailbox server that is being modified. For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

If the storage group is already enabled for LCR, the database will be automatically enabled for LCR when database creation successfully completes. If the storage group is not enabled for LCR, replication and replay will not be fully enabled until the storage group is enabled for LCR.

At the end of the procedures, the passive copy should be automatically seeded. If, for some reason, automatic seeding does not take place, you must manually seed the passive copy. For detailed steps about how to seed the passive copy, see How to Seed a Local Continuous Replication Copy.

Note:
Storage groups enabled for LCR must contain only one database.

Procedure

To use the Exchange Management Console to create a new LCR-enabled mailbox database

  1. Open the Exchange Management Console.

  2. In the console tree, expand Server Configuration, and then click Mailbox.

  3. In the result pane, select the server on which you want to create the new mailbox database.

  4. In the work pane, select the storage group to host the new database. The storage group must not contain any databases.

  5. In the action pane, click New Mailbox Database. The New Mailbox Database Wizard appears.

  6. In the Mailbox database name box, type the name for the new database.

  7. Select the database file location by clicking Browse and navigating to the desired location. Databases cannot be placed at the root of a volume.

  8. Leave the Mount this database box selected, and click New to create the database.

  9. Click Finish to complete the wizard.

To use the Exchange Management Console to create a new LCR-enabled public folder database

  1. Open the Exchange Management Console.

  2. In the console tree, expand Server Configuration, and then click Mailbox.

  3. In the result pane, select the server on which you want to create the new public folder database.

  4. In the work pane, select the storage group to host the new database. The storage group must not contain any databases.

  5. In the action pane, click New Public Folder Database. The New Public Folder Database Wizard appears.

  6. In the Public folder database name box, type the name for the new database.

  7. Select the database file location by clicking Browse and navigating to the desired location. Databases cannot be placed at the root of a volume.

  8. Leave the Mount this database box selected, and click New to create the database.

  9. Click Finish to complete the wizard.

To use the Exchange Management Shell to create a new LCR-enabled mailbox database

  • Run the following command to create a new mailbox database that is enabled for LCR.

    Copy Code
    New-MailboxDatabase -Name <NameofDatabase> -StorageGroup:<NameofStorageGroup> -HasLocalCopy:$true -EdbFilePath:<FullPathIncludingDatabaseFileName> -CopyEdbFilePath:<FullPathIncludingDatabaseFileName>
    

To use the Exchange Management Shell to create a new LCR-enabled public folder database

  • Run the following command to create a new public folder database that is enabled for LCR.

    Copy Code
    New-PublicFolderDatabase -Name <NameofDatabase> -StorageGroup:<NameofStorageGroup> -HasLocalCopy:$true - EdbFilePath:<FullPathIncludingDatabaseFileName> -CopyEdbFilePath:<FullPathIncludingDatabaseFileName>
    

For More Information

For detailed syntax and parameter information about the cmdlets, see New-MailboxDatabase and New-PublicFolderDatabase.