Thursday, November 13, 2014

The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component ‘ ′ in search application ‘Search Service Application’ is in a good state and try again

There is an issue when you configure serach service application but do not see admini components running in search service administartion and you cannot go to content sources and any other parts of it.

Use below to fix the issue. there is very nice article on this:-
http://blogs.technet.com/b/poojk/archive/2011/11/28/sharepoint-2010-search-service-is-not-able-to-connect-to-administration-component-server.aspx

Run below PowerShell command:
$varInstance = Get-SPEnterpriseSearchServiceInstance -local    (Assuming that you have only one SSA in farm)
If you type $varInstance and hit Enter key, you should see SharePoint Server Search instance details.
If you see it disabled then run another PS command -----> Start-SPEnterpriseSearchServiceInstance -Identity <servername>
Once above runs successfully, execute below:
$varSearchApp = get-spenterprisesearchserviceapplication
Now set search Admin component:
set-spenterprisesearchadministrationcomponent –searchapplication $varSearchApp –searchserviceinstance $varInstance
After it gets completed successfully, you need to wait for sometime, may be about 10 minutes.(It took 10 min in my case) Make sure you restart search service and then wait. Admin component should be ready and you should be able to browse SSA.

No comments:

Post a Comment