For many reasons you may want to extend your SharePoint 2013 search topology and one of the requirements is assign the query role to dedicated web servers. So let’s begin
#clone the Active search topology $ssa = Get-SPServiceApplication -Name "Search Service Application" $active = Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active $clone = New-SPEnterpriseSearchTopology -Clone -SearchApplication $ssa -SearchTopology $active; #Start the EnterPrise Search Component on wfe $WFE = Get-SPEnterpriseSearchServiceInstance -Identity "SRVMV70331"; Start-SPEnterpriseSearchServiceInstance -Identity $WFE; # wait for 5 mins to start the search services sleep 5; # Make sure the search service instance status online before proceeding next steps Get-SPEnterpriseSearchServiceInstance -Identity $WFE; # wait untill the status online before proceeding next steps, once the status online # Add new search compomenent on wfe New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $clone -SearchServiceInstance $WFE01; #Also we can add the following components: #New-SPEnterpriseSearchAnalyticsProcessingComponent #New-SPEnterpriseSearchContentProcessingComponent #New-SPEnterpriseSearchAdminComponent #New-SPEnterpriseSearchCrawlComponent #Activate the cloned search topology Set-SPEnterpriseSearchTopology -Identity $clone
Will be necessary to repeat this process in all the servers of the farm that need an additional component
For more references, please visit: http://technet.microsoft.com/en-us/library/jj862354.aspx