首页 > 其他 > 详细

sharepoint 2013 更改搜索服务器配置

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

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 更改搜索服务器配置

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!