
Exchange database content index state failed
24 November 2019Problem
The index status of the database is failing. It can be verified via the command Get-MailboxDatabaseCopyStatus

Resolution
If a DAG is present, we will cut the copy:
[cc lang=”powershell” tab_size=”2″ lines=”40″]
Suspend-MailboxDatabaseCopy – Identity dbname\exchangeserver2
[/cc]
We will stop indexing services
[cc lang=”powershell” tab_size=”2″ lines=”40″]
Stop–Service MSExchangeFastSearch
Stop–Service HostControllerService
[/cc]
We go to the directory where the database is stored.

we will delete the directory with a GUID
We will start indexing services
[cc lang=”powershell” tab_size=”2″ lines=”40″]
Start–Service MSExchangeFastSearch
Start–Service HostControllerService
[/cc]
We will update the catalog on the passive server (if a DAG is present)
[cc lang=”powershell” tab_size=”2″ lines=”40″]
Update-MailboxDatabaseCopy – Identity dbname\exchangeserver2 -SourceServer exchangeserver1 -CatalogOnly
[/cc]
We will check the status of the databases via the command:
Get-MailboxDatabaseCopyStatus
Views: 505