Hi,
Ive been dealing with an issue with Exchange 2010 SP2 RU4 installed On-Premise. Exchange has been deployed with separate HT, CAS and MBX servers. With 4 Mailbox servers in a single DAG spread across two sites.
Search indexing appears to be taking an extremely long time. Sometimes up to days before the result is visible in a search result.
I have attempted to Reset the search index using ResetSearchIndex.ps1. Ive reseeded the catalog on the DAG.
When running Test-Exchange search i get the following verbose output;
[PS] C:\Windows\system32>Test-ExchangeSearch -Identity james.rogers@email.net -Verbose
VERBOSE: [05:27:52.505 GMT] Test-ExchangeSearch : Active Directory session settings for 'Test-ExchangeSearch' are: View
Entire Forest: 'False', Default Scope: 'domain.local', Configuration Domain Controller:
'XXXX-DC-2.domain.local', Preferred Global Catalog: 'XXXX-DC-2.domain.local', Preferred Domain
Controllers: '{ XXXX-DC-2.domain.local }'
VERBOSE: [05:27:52.505 GMT] Test-ExchangeSearch : Runspace context: Executing user:
domain.local/Users/Administrator, Executing user organization: , Current organization: , RBAC-enabled: Enabled.
VERBOSE: [05:27:52.505 GMT] Test-ExchangeSearch : Beginning processing &
VERBOSE: [05:27:52.521 GMT] Test-ExchangeSearch : Instantiating handler with index 0 for cmdlet extension agent "Admin
Audit Log Agent".
VERBOSE: [05:27:52.521 GMT] Test-ExchangeSearch : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient Write
Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient Scope(s):
{}, Exclusive Configuration Scope(s): {} }
VERBOSE: [05:27:52.521 GMT] Test-ExchangeSearch : Searching objects "james.rogers@email.net" of
type "ADUser" under the root "$null".
VERBOSE: [05:27:52.536 GMT] Test-ExchangeSearch : Previous operation run on domain controller
'XXXX-DC-2.domain.local'.
VERBOSE: [05:27:52.536 GMT] Test-ExchangeSearch : Processing object
"domain.local/Hosting/R0001000010/S001069913/james.rogers".
VERBOSE: [05:27:52.568 GMT] Test-ExchangeSearch : Searching objects "XXXX-1-11" of type "MailboxDatabase" under the
root "$null".
VERBOSE: [05:27:52.583 GMT] Test-ExchangeSearch : Previous operation run on domain controller
'XXXX-DC-2.domain.local'.
VERBOSE: [05:27:52.583 GMT] Test-ExchangeSearch : Admin Audit Log: Entered Handler:Validate.
VERBOSE: [05:27:52.583 GMT] Test-ExchangeSearch : Admin Audit Log: Entered ClassFactory:InitializeConfig.
VERBOSE: [05:27:52.583 GMT] Test-ExchangeSearch : Admin Audit Log: Exited ClassFactory:InitializeConfig.
VERBOSE: Testing Exchange Search.
VERBOSE: [05:27:52.599 GMT] Test-ExchangeSearch : Resolved current organization: .
VERBOSE: [05:29:54.159 GMT] Test-ExchangeSearch : Getting catalog state for Mailbox Database "XXXX-1-11"...
VERBOSE: [05:29:54.159 GMT] Test-ExchangeSearch : Catalog state: Notifications.
VERBOSE: [05:29:54.159 GMT] Test-ExchangeSearch : Getting the indexing state for mailbox "James Rogers" ...
VERBOSE: [05:29:54.159 GMT] Test-ExchangeSearch : Mailbox state: Done, Crawl start time: 2012-10-18T06:56:38.
VERBOSE: [05:29:54.174 GMT] Test-ExchangeSearch : Getting the message indexing state...
VERBOSE: [05:29:54.174 GMT] Test-ExchangeSearch : Document state: InRetry, state = 301.
VERBOSE: [05:29:54.174 GMT] Test-ExchangeSearch : TimeSinceLastNotificationWasIndexed for MDB XXXX-1-11 is 0 seconds.
Database Server Mailbox ResultFound SearchTime Error
InSeconds
-------- ------ ------- ----------- ---------- -----
XXXX-1-11 XXXX-... James Rogers False -1 Time out for test thread.
VERBOSE: [05:29:54.205 GMT] Test-ExchangeSearch : Admin Audit Log: Entered Handler:OnComplete.
VERBOSE: [05:29:54.205 GMT] Test-ExchangeSearch : Ending processing &
There are no logs in the Eventlog regarding issues with the Indexing of the server. I have tried the Test-ExchangeSearch with indextimeout of 10800 seconds. Still same error.
Any ideas? Thanks in Advance.
MCITP: Lync/Exchange 2010/Server Administrator 2008
rogersau.blogspot.com < Unified Comms Blog