配置邮箱数据库副本属性Configure mailbox database copy properties

每个邮箱数据库副本都有自己的属性,您可以配置这些属性。Each mailbox database copy has its own properties, which you can configure. 这些属性包括重播延隔时间和截断延隔时间(如果有)以及激活首选项编号。These properties 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 Manage mailbox database copies.

在开始之前,您需要知道什么?What do you need to know before you begin?

提示

遇到问题?请访问以下 Exchange 论坛寻求帮助:Exchange ServerExchange OnlineExchange Online ProtectionHaving problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

使用 EAC 配置邮箱数据库副本属性Use the EAC to configure mailbox database copy properties

  1. In the EAC, go to Servers > Databases.In the EAC, go to Servers > Databases.

  2. 选择要配置的数据库。Select the database you want to configure.

  3. In the Details pane, under Database Copies, click View details for the desired database copy, and then view or configure the following:In the Details pane, under Database Copies, click View details for the desired database copy, and then view or configure the following:

    • Database: 显示选定数据库的名称。Database: Displays the name of the selected database.

    • 邮箱服务器:显示托管选定数据库副本的邮箱服务器的名称。Mailbox server: Displays the name of the Mailbox server that hosts the selected database copy.

    • 内容索引状态:显示所选数据库副本的内容索引的当前状态。Content index state: Displays the current state of the content index for the selected database copy.

    • 状态:显示选定数据库副本的当前状态。Status: Displays the current status of the selected database copy.

    • 复制队列长度:指示正在等待复制到选定数据库副本的日志文件数。Copy queue length: Indicates the number of log files waiting to be copied to the selected database copy. 此字段仅与被动数据库副本相关。This field is relevant only for passive database copies.

    • 重播队列 长度 :指示正在等待重播到所选数据库副本中的日志文件数。Replay queue length: Indicates the number of log files waiting to be replayed into the selected database copy. 此字段仅与被动数据库副本相关。This field is relevant only for passive database copies.

    • 错误消息:显示状态为 或 的数据库副本的任何 Failed 错误消息 Failed and SuspendedError messages: Displays any error messages for database copies that have a status of Failed or Failed and Suspended.

    • 最新可用日志时间:显示数据库活动副本上最近日志文件生成的日志的日期和时间戳。Latest available log time: Displays the date and time stamp of the most recently generated log file on the active copy of the database. 此字段仅与被动数据库副本相关。This field is relevant only for passive database copies. 在主动数据库副本(已复制和独立)上,此字段显示" 从不"。On active database copies (replicated and stand-alone), this field will display never.

    • 上次检查日志的时间:显示 LogInspector 对选定数据库副本日志文件检查的最后一次检查的日期和时间戳。Last inspected log time: Displays the date and time stamp of the last log file that was inspected by the LogInspector on the selected database copy. 此字段仅与被动数据库副本相关。This field is relevant only for passive database copies. 在主动数据库副本(已复制和独立)上,此字段显示" 从不"。On active database copies (replicated and stand-alone), this field will display never.

    • 上次复制日志的时间:显示 LogCopier 在选定数据库副本日志文件上次复制日志的日期和时间戳。Last copied log time: Displays the date and time stamp of the last log file that was copied by the LogCopier on the selected database copy. 此字段仅与被动数据库副本相关。This field is relevant only for passive database copies. 在主动数据库副本(已复制和独立)上,此字段显示" 从不"。On active database copies (replicated and stand-alone), this field will display never.

    • 上次重播日志时间:显示 LogReplayer 上次重播到日志文件副本的日期和时间戳。Last replayed log time: Displays the date and time stamp of the last log file that was replayed by the LogReplayer into the selected database copy. 此字段仅与被动数据库副本相关。This field is relevant only for passive database copies. 在主动数据库副本(已复制和独立)上,此字段显示" 从不"。On active database copies (replicated and stand-alone), this field will display never.

    • 激活首选项编号:显示激活首选项编号。Activation preference number: Displays the activation preference number. 这用作活动管理器最佳副本选择过程的一部分,并且它用于通过 DAG 的 属性在整个 DAG 中重新分布活动邮箱数据库来平衡 PreferenceMoveFrequency DAG。This is used as part of Active Manager's best copy selection process, and it is used to balance the DAG by redistributing active mailbox databases throughout the DAG via the DAG's PreferenceMoveFrequency property. 此属性定义 Microsoft Exchange 复制 (激活首选项编号为 1 的无丢失切换来重新平衡数据库副本时) 以时间) 为单位)。This property defines the frequency (measured in time) when the Microsoft Exchange Replication service rebalances database copies by performing a lossless switchover that activates the copy with an activation preference number of 1. 激活首选项的值为大于等于 1 的数字,1 表示最优先。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 can't be larger than the number of copies of the mailbox database.

    • 重播延迟 时间 (天) : 显示 Microsoft Exchange 信息存储服务在重播 Microsoft Exchange 复制服务已复制到被动数据库副本的日志文件之前应等待的时间。Replay lag time (days): Displays the amount of time that the Microsoft Exchange Information Store service should wait before replaying log files that have been copied by the Microsoft Exchange Replication service to the passive database copy. 将此参数设置为大于 0 的值将创建滞后数据库副本。Setting this parameter to a value greater than 0 creates a lagged database copy. 此值的默认设置为 0 天。The default setting for this value is 0 days. 此设置允许的最大值为 14 天。The maximum allowable value for this setting is 14 days. 允许的最小值为 0 天,将此值设置为 0 可禁用重播延迟。The minimum allowable value is 0 days, and setting this value to 0 disables replay lag.

使用 Exchange 命令行管理程序 配置邮箱数据库副本属性Use the Exchange Management Shell to configure mailbox database copy properties

本示例将一个邮箱数据库副本的激活首选项编号配置为 3。This example configures a mailbox database copy with an activation preference number of 3.

Set-MailboxDatabaseCopy -Identity DB3\EX3 -ActivationPreference 3

此示例将在 Server1 上驻留的数据库 DB1 的副本的重播延迟时间和截断延隔时间配置为 1 天,将激活首选项编号配置为 2。This example configures a copy of the database DB1 that's 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

如何判断是否生效?How do you know this worked?

若要验证是否已成功配置邮箱数据库副本,请执行以下操作之一:To verify that you've successfully configured a mailbox database copy, do one of the following:

  • In the EAC, navigate to Servers > Databases. Select the appropriate database, and in the Details pane, click View details to view the database copy properties.In the EAC, navigate to Servers > Databases. Select the appropriate database, and in the Details pane, click View details to view the database copy properties.

  • 在 Exchange 命令行管理程序 中,运行以下命令以显示数据库副本的配置信息。In the Exchange Management Shell, run the following command to display configuration information for a database copy.

    Get-MailboxDatabaseCopyStatus <DatabaseCopyName> | Format-List
    

详细信息For more information

Set-MailboxDatabaseCopySet-MailboxDatabaseCopy

Get-MailboxDatabaseCopyStatusGet-MailboxDatabaseCopyStatus

Get-MailboxDatabaseGet-MailboxDatabase