SharePoint By Yagya Shree

SharePoint 2013 : Search Component Error

leave a comment »

BlogIssue:

While trying to create new “Content Processing Component” and activating the topology, we are getting below error:

02/08/2016 14:00:05.88 powershell_ise.exe (0x23E4) 0x1170 SharePoint Foundation PowerShell 6tf2 High Microsoft.Office.Server.Search.Administration.Topology.SearchTopologyActivationException: Topology activation failed. Service call AddNodeMapping failed with message ‘Exception while communicating with Host Controller at ServerName: No matching nodes found for the specified system and node name [SystemName = 9EB7B3, NodeName = ContentProcessingComponent3]’ at Microsoft.Office.Server.Search.Administration.Topology.SearchTopology.ActivateSilently() at Microsoft.Office.Server.Search.Administration.Topology.SearchTopology.Activate() at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord() 7c54cdb3-43ec-4736-ae7f-8fb1be49c252

Resolution:

The issue would be occurring on the particular server where you are provisioning the new component. Hence please do below steps on that particular server:

1. From services.msc on server, Restart “SharePoint Search Host Controller” Service
2. Within Services.msc stop “SharePoint Timer Service”

Assuming you default SharePoint installation location is C Drive, We are going to do config cache clear step i.e.

1. Open Windows explorer and go to C Drive
2. Locate C:\ProgramData\Microsoft\SharePoint\Config\GUID and make copy of GUID folder
3. Delete all the XML files inside the GUID folder except Cache.ini
4. Open Cache.ini and replace the current value with any random value.
5. Save the Cache.ini
6. Go to services.msc again and start “SharePoint Timer Service”
7. Wait for all the XML to generate and then match the generate XML count with any other server in farm

Now you should run below Powershell commands to provision your search component (PS. You can have your script)

##Creating all variables##
$hostA = Get-SPEnterpriseSearchServiceInstance -Identity “ServerName”
$ssa = Get-SPEnterpriseSearchServiceApplication
$active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active
$clone = New-SPEnterpriseSearchTopology -SearchApplication $ssa -Clone -SearchTopology $active

##Creating new Content processing Component##
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $clone -SearchServiceInstance $hostA

Get-SPEnterpriseSearchComponent -SearchTopology $clone

##Setting up new topology##
Set-SPEnterpriseSearchTopology -Identity $clone

##Verifying the topology##
Get-SPEnterpriseSearchTopology -Active -SearchApplication $ssa

Advertisements

Written by Yagyashree

February 8, 2016 at 10:18 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: