I have 2 servers - 1 WFE and 1 APP - but what's the best configuration for Search in this scenario?
currently it looks like this:
Technology Tips and News
I have 2 servers - 1 WFE and 1 APP - but what's the best configuration for Search in this scenario?
currently it looks like this:
Hi Alex
Ok - How do I modify the current to that?
Thanks...!
I'll then just make a .ps1 file with the lines and that's it ?
yea...that's just it...now got this in searchsetup.ps1
$hostApp1 = Get-SPEnterpriseSearchServiceInstance -Identity "SERVERNAMEAPP" $hostWF1 = Get-SPEnterpriseSearchServiceInstance -Identity "SERVERNAMEWFE" Start-SPEnterpriseSearchServiceInstance -Identity $hostApp1 Start-SPEnterpriseSearchServiceInstance -Identity $hostWF1 Get-SPEnterpriseSearchServiceInstance -Identity $hostApp1 Get-SPEnterpriseSearchServiceInstance -Identity $hostWF1 $ssa = Get-SPEnterpriseSearchServiceApplication $newTopology = New-SPEnterpriseSearchTopology -SearchApplication $ssa #SERVERNAMEAPP New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1 New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1 New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1 New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1 New-SPEnterpriseSearchIndexComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1 -IndexPartition 0 #SERVERNAMEWFE New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostWF1 #Activate the Topology Set-SPEnterpriseSearchTopology -Identity $newTopology # Verify the Topology Get-SPEnterpriseSearchTopology -SearchApplication $ssa
but it doesn't work....
It stops and prompts for e.g. SearchServerInstance...tried to type in $hostWF1 without any luck...
You need to remove carriage returns...
Your command
New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1
should read
New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $hostApp1