I have 4 app servers which I intend to use for search. I have search configured on one of the servers.
I have moved the search components to the following servers
Server1 -Admin, Content,crawl,analy,index
Server2- -Content, Crawl, Analytics, Query
Server3 --Crawl, Analytics, Query
Server4 --Crawl, Analytics, Query
When I tried to move the Admin component to the Server2 using the script above . I get the following error
Unable to retrieve topology component health states. This may be because of the admin component is not up and running
Below is the query i used
$serverA="Server1"
$serverB="Server2"
$serverC="Server3"
$hostA = Get-SPEnterpriseSearchServiceInstance -Identity $serverA
$hostB = Get-SPEnterpriseSearchServiceInstance -Identity $serverB
$hostC = Get-SPEnterpriseSearchServiceInstance -Identity $serverC
Start-SPEnterpriseSearchServiceInstance -Identity $hostA
Start-SPEnterpriseSearchServiceInstance -Identity $hostB
Start-SPEnterpriseSearchServiceInstance -Identity $hostC
Get-SPEnterpriseSearchServiceInstance -Identity $hostA
Get-SPEnterpriseSearchServiceInstance -Identity $hostB
Get-SPEnterpriseSearchServiceInstance -Identity $hostC
$ssa = Get-SPEnterpriseSearchServiceApplication
$newTopology = New-SPEnterpriseSearchTopology -SearchApplication $ssa
#Server A
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
# Server B
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostB
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostB
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostB
#Server C
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostC
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostC
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostC
Set-SPEnterpriseSearchTopology -Identity $newTopology
Get-SPEnterpriseSearchTopology -SearchApplication $ssa
Get-SPEnterpriseSearchStatus -SearchApplication $ssa -Text
I did start the search service on all the servers, but when i Get-SPEnterpriseSearchStatus -SearchApplication $ssa -Text
Server admin component is stuck at provisioning.
Is there any way that i can force it be online.
0 commentaires:
Enregistrer un commentaire