安装SharePoint Server的主机重命名

今天我头脑一热, 把安装在WS 2008 R2上的有Stand-alone SharePoint Server 2010的机器重命名了一下, 结果SharePoint Central Admin都进不去了, 提示"" cannot connect to configuration database".

然后想使用Rename-SPServer -Identity oldservername -name newservername 来更正ServerName, 发现提示 The farm is unavailable.

最后是使用stsadm解决的

stsadm -o renameserver -oldservername oldName -newservername newName

发现能解决问题。

原文地址:https://www.cnblogs.com/qixue/p/3229820.html