Share via


Configure Mailbox Database Copy Properties

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Each mailbox database copy has its own properties that you can configure. These include the amount of time, if any, for replay lag and truncation lag, and the activation preference number. For more information about replay lag, truncation lag and the activation preference number, see Managing Mailbox Database Copies.

What Do You Want to Do?

Use the EMC to configure mailbox database copy properties

Use the Shell to configure mailbox database copy properties

Use the EMC to configure mailbox database copy properties

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox database copies" entry in the High Availability Permissions topic.

  1. In the console tree, navigate to Organization Configuration > Mailbox.

  2. In the result pane, on the Database Management tab, select the database with the copy whose status you want to check.

  3. In the work pane, on the Database Copies tab, right-click the database copy whose status you want to view, and then click Properties.

  4. Use the General tab to view status about the mailbox database copy, and to configure for replay lag and truncation lag, and the activation preference number.

    • Database   This is a read-only field that displays the name of the selected database.

    • Mailbox server   This is a read-only field that displays the name of the mailbox server that currently hosts the active copy of the mailbox database.

    • Status   This is a read-only field that displays the current status of the selected database or database copy.

    • Copy queue length (logs)   Indicates the number of log files waiting to be copied and inspected.

    • Replay queue length (logs)   Indicates the number of log files waiting to be replayed into this copy of the database.

    • Activation preference number   The activation preference number is used as part of Active Manager's best copy selection process and to redistribute active mailbox databases throughout the DAG when using the RedistributeActiveDatabases.ps1 script. The value for activation preference is a number equal to or greater than 1, where 1 is at the top of the preference order. The number cannot be larger than the number of database copies of the mailbox database.

  5. Use the Status tab to view additional details about the health and status of replication for the database copy.

    • Seeding   Indicates whether a seeding operation is currently in progress.

    • Messages   If any failures have occurred, the View button is made available. Click this button to view messages about conditions that triggered the failure.

    • Latest available log time   The time associated with the latest available log generated by the active database copy. This log is available to be copied.

    • Last inspected log time   The modification time of the last log that was successfully validated by the Mailbox server hosting the database copy.

    • Last copied log time   The modification time of the last log that was successfully copied.

    • Last replayed log time   The modification time of the last log that was successfully replayed by the Mailbox server hosting the database copy.

Use the Shell to configure mailbox database copy properties

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox database copies" entry in the High Availability Permissions topic.

This example configures a mailbox database copy with an activation preference number of 3.

Set-MailboxDatabaseCopy -Identity DB3\EX3 -ActivationPreference 3

This example configures a copy of a database named DB1 that is hosted on Server1 with a replay lag time and truncation lag time of 1 day, and an activation preference number of 2.

Set-MailboxDatabaseCopy -Identity DB1\Server1 -ReplayLagTime 1.0:0:0 -TruncationLagTime 1.0:0:0 -ActivationPreference 2

This example returns information about the health and status of replication for a database named DB3 on a server named EX3. This provides the same information as the General tab on the Mailbox Database Properties page, except it does not display the activation preference number.

Get-MailboxDatabaseCopyStatus DB3\EX3

This example returns information about the health and status of replication for a database named DB7 on a server named EX5.

Get-MailboxDatabaseCopyStatus DB7\EX5 | Format-List

This example returns status and Hub Transport shadow redundancy information for a database named DB2. The status results are displayed in a list format.

Get-MailboxDatabaseCopyStatus -Identity DB2 -DumpsterStatistics | Format-List

This example returns the status and Hub Transport shadow redundancy information for all database copies on a Mailbox server named MBX2. The status results are also displayed in a list format.

Get-MailboxDatabaseCopyStatus -Server MBX2 -DumpsterStatistics | Format-List

For More Information

Set-MailboxDatabaseCopy

Get-MailboxDatabaseCopyStatus

Get-MailboxDatabase

 © 2010 Microsoft Corporation. All rights reserved.