迁移场景:

 

MOSS场具有四台服务器:两台前端,一台index服务器,一台数据库服务器. 需要把数据库迁移到采用集中存储的数据库集群上.

源数据库服务器和目标数据库服务器处于同一个AD域中,目标数据库服务器集群已经配置好.

 

迁移步骤如下:


(1) 在所有MOSS服务器上停掉所有MOSS服务,包括:

Microsoft Single Sign-On service

Office Document Conversions Launcher service

Office Document Conversions Load Balancer service

Office SharePoint Server Search service

Windows SharePoint Services Administration service

Windows SharePoint Services Search service

Windows SharePoint Services Timer service

Windows SharePoint Services Tracing service

Windows SharePoint Services VSS Writer service

Internet Information Services

 

(2)将所有数据库采用备份还原,移动到目标数据库服务器.包括配置数据库,内容数据库,管理中心数据库,SSP数据库.

 

(3)确认MOSS应用程序池帐号具有目标数据库服务器的访问权限.

 

(4)在所有MOSS服务器(不包括数据库服务器)上运行以下命令:

 

cd %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\Bin.

stsadm -o renameserver -oldservername <name of the source database server> -newservername <name of the destination database server>

 

newservername 是数据库服务器集群的虚拟访问域名.

 

(5)重启所有服务器. 若有前端服务器仍然链接到旧数据库,则重新运行renameserver 命令,并重启服务器.

 

(6)这时候测试站点,搜索内容的时候会报无法连接到搜索服务错误,这是因为SSP无法找到index服务器.

 访问管理中心,修改所有SSP,重新指定其index服务器即可.

 

(7)确认服务器场已经安装的解决方案中的代码跟系统实际部署的代码一致,因为配置数据库改编后,MOSS会自动将所有解决方案自动部署一遍.

 如果解决方案中代码是老版本,第二天就会发现所有功能都返回到以前的一个版本.(NND,还这么智能,被害死了...)

 

参考:
http://technet.microsoft.com/en-us/library/cc512725(TechNet.10).aspx

posted on 2008-07-28 20:31  jianyi  阅读(2271)  评论(6编辑  收藏  举报