执行 全球通讯簿 和 离线地址簿更新的时候,你可能会发现:
“WARNING: The object DOMAINNAME/Microsoft Exchange System Objects/Monitoring Mailboxes/”Health_Mailbox_GUID” has been corrupted, and it’s in an inconsistent state. The following validation errors happened: WARNING: Database is mandatory or UserMailbox.”
由于关联了空的邮箱数据库(数据库被删除或者服务器被替换),HealthMailboxes变得无效。
当你执行命令Get-Mailbox -Monitoring,你会从一个或者多个HealthMailboxes接受到如下告警,你有了一个无效的HealthMailboxes.
列出组织中存在的所有监视邮箱:
Get-Mailbox -Monitoring
Get-Mailbox -Monitoring | ft displayname,whencreated
列出数据库中存在的监视邮箱:
Get-Mailbox -Monitoring -Database <数据库名称>
使用以下命令列出与特定服务器关联的监视邮箱:
Get-Mailbox -Monitoring | ?{$ _.DisplayName -like“ - <servername> - ”}
例:
Get-Mailbox -Monitoring | ?{$ _.DisplayName -like“ -exch3- ”} | ft name,displayname,database
使用以下命令列出与特定数据库关联的监视邮箱:
Get-Mailbox -Monitoring | ?{$ _.DisplayName -like“* - <数据库名称>”}
例:
Get-Mailbox -Monitoring | ?{$ _.DisplayName -like“* -db2exch3”} | ft name,displayname,database,servername
https://techcommunity.microsoft.com/t5/exchange-team-blog/exchange-2013-2016-monitoring-mailboxes/ba-p/611004
监视邮箱的命名规则:
Database Health mailbox is now HealthMailbox+Servername+DatabaseName
“HealthMailbox-”+服务器的主机名+“ - ”+数据库名称。
CAS Health Mailboxes are now HealthMailbox+ServerName+001-010 (remember, 10 per CAS role):
“HealthMailbox-”+ CAS服务器的主机名+“ - 001”到“010”。
https://docs.microsoft.com/zh-cn/archive/blogs/admoore/exchange-2013-health-mailboxes
Best practices for monitoring Maibox
Here are some best practices regarding management of user accounts
associated with monitoring mailboxes as well as mailboxes themselves:
- Do not apply third party customized password policies to user accounts of monitoring mailboxes
- Exclude monitoring mailboxes from user account lockout policies
- Do not move the user accounts out from the Monitoring Mailboxes container
- Do not change the user account properties, like restricting password change etc.
- Do not change AD permission inheritance
- Since HM worker handles password resets for monitoring mailboxes, in a large environment, it is normal to see increased password reset traffic for monitoring mailbox accounts; note that doing one of the things above might increase the frequency of those resets
- Do not move the monitoring mailboxes between mailbox databases
- Do not apply mailbox quotas to monitoring mailboxes
- If applying a retention policy, ensure the data within the monitoring mailbox is retained for a minimum of 30 days before being deleted
如果缺少Monitoring Mailboxes容器:
1)确保安装了Exchange Server 2013 CU1或更高版本。
在安装了Exchange Server 2013版本的情况下执行PrepareAD以便重新扩展架构。
2)在所有Exchange Server 2013服务器上停止“Microsoft Exchange Server Health Manager”服务。
3)打开Exchange命令行管理程序并使用以下命令禁用现有的健康邮箱:
Get-Mailbox -Monitoring | Disable-Mailbox
4)返回Active Directory用户和计算机,右键单击域并搜索“HealthMailbox”
5)删除健康邮箱用户帐户。
6)等待AD复制或强制AD复制。
7)在所有Exchange Server 2013服务器上启动“Microsoft Exchange Server Health Manager”。
