Friday, November 6, 2015

Adding a Crawler Component Server in SharePoint 2013 Search


Before
After

Script
[code]Step 1 : Get Search Service Instance and Start on New Crawl Server $ssi = Get-SPEnterpriseSearchServiceInstance -Identity "PROD-SPAPP02" In case your Search Service Instance is not Online, run below commands and wait Start-SPEnterpriseSearchServiceInstance -Identity $ssi Get-SPEnterpriseSearchServiceInstance -Identity $ssi Step 2 : Clone Active Search Topology $ssa = Get-SPEnterpriseSearchServiceApplication $active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active $clone = New-SPEnterpriseSearchTopology -SearchApplication $ssa -Clone –SearchTopology $active Step 3 : Add New Crawl Component New-SPEnterpriseSearchCrawlComponent -SearchTopology $clone -SearchServiceInstance $ssi Step 4 : Activate the Cloned Search Topology Set-SPEnterpriseSearchTopology -Identity $clone Step 5 : Review new topology Get-SPEnterpriseSearchTopology -Active -SearchApplication $ssa Step 6 : Monitor Distribution of Index Get-SPEnterpriseSearchStatus -SearchApplication $ssa[/code]
You are Done...!

No comments:

Post a Comment