sharepoint 2013 更改搜索server组态

1.新搜索server在。安装sharepoint server 2013,并连接到一个现有的sharepoint server领域,完成后。您可以配置新的搜索server。

打开sharepoint powershell 2013 :

$hostA = Get-SPEnterpriseSearchServiceInstance -Identity "DevSearch2013"
Start-SPEnterpriseSearchServiceInstance -Identity $hostA
Get-SPEnterpriseSearchServiceInstance -Identity $hostA
$ssa = Get-SPEnterpriseSearchServiceApplication
$newTopology = New-SPEnterpriseSearchTopology -SearchApplication $ssa
New-SPEnterpriseSearchAdminComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchContentProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchAnalyticsProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchQueryProcessingComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
New-SPEnterpriseSearchIndexComponent -SearchTopology $newTopology -SearchServiceInstance $hostA -IndexPartition 0

Set-SPEnterpriseSearchTopology -Identity $newTopology

 

其中DevSearch2013它指的是当前搜索server机器名.按照上述代码。执行判决而下降.您将能够改变一个新的搜索server。

 

 

posted @ 2015-12-11 19:03  hrhguanli  阅读(145)  评论(0编辑  收藏  举报