Monday, 2 July 2012

SharePoint Topology not handling off line servers ( clone the topology, delete the query component for the server that was turned off )

You  will get alot of issues if you swich off the server that has the search Admin component on or one of the search Quary or Crawl component on it . You will see alot of errors and endpoint failures in the logs . in order to recover from this issues perform the following steps :

clone the topology, delete the query component for the server that was turned off with the following:
$searchApp = Get-SPEnterpriseSearchServiceApplication "Search Service Application"

$InitialQueryTopology = $searchApp | Get-SPEnterpriseSearchQueryTopology -Active

$QueryTopology = $searchApp | New-SPEnterpriseSearchQueryTopology -Clone -QueryTopology $InitialQueryTopology

$qcomp = $QueryTopology | Get-SPEnterpriseSearchQueryComponent

$qcomp | Remove-SPEnterpriseSearchQueryComponent

- We selected Y for the component we wanted to remove and N for the query component on the server we wished to keep:


No comments:

Post a Comment