码迷,mamicode.com
首页 > 其他好文 > 详细

sharepoint 2013 更改搜索服务器配置

时间:2014-07-31 13:20:26      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:sharepoint 2013   sharepoint   

1.在新的搜索服务器中,安装sharepoint server 2013,并且连接到已有sharepoint 服务器场,完成之后,就可以配置新的搜索服务器。

打开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指的是当前搜索服务器的机器名.按照上面的代码,一句句运行下来.就能更改新的搜索服务器。

 

 

sharepoint 2013 更改搜索服务器配置,布布扣,bubuko.com

sharepoint 2013 更改搜索服务器配置

标签:sharepoint 2013   sharepoint   

原文地址:http://blog.csdn.net/chenxinxian/article/details/38314761

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!