天天看点

SMS 2003升级到SCCM 2007

从SMS 2003升级到SCCM 2007操作方法

SCCM 2007已经发布有段时间了现在也出了SP1和R2的补丁,网上关于SCCM 2007的安装方法的文章也不少了。所以我这里将我个人学习也测试过的从SMS 2003升级到SCCM 2007的方法和大家分享下。

一、备份

这个步骤非常重要,任何升级操作都具有一定的风险性。所以在做升级前我要作好一切备份,以至于在升级失败后我们可以逆向操作,将降低数据库丢失和升级失败的风险。

1、SMS 2003的备份

SMS 2003里自带备份功能,它会将SMS 2003控制台的配置信息和数据库数据做一个综合性的备份且该备份可以使用“SMS 站点恢复向导”进行恢复。

(1)开启备份任务,按照下面截图操作。

<a href="http://bbs.winos.cn/attachment.php?aid=23659" target="_blank">1.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23660" target="_blank">2.png</a>

(2)强制执行备份任务,如果等待备份计划设置的备份时间进行备份需要等待过长的时间,为了提高我们的速度,这里我们强制执行备份任务,操作方法参考下面截图。

<a href="http://bbs.winos.cn/attachment.php?aid=23661" target="_blank">3.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23662" target="_blank">4.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23663" target="_blank">5.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23664" target="_blank">6.png</a>

(3)确认备份完成,我们需要从三个地方来验证备份完成。

A、重复上步的操作当查询到“SMS_SITE_BACKUP”组件状态恢复为“已停止”状态

B、在设置的备份文件夹已经出现数据,则表示整个备份过程结束。

C、查看“SMS_SITE_BACKUP”组件的日志,参考下面截图操作。

<a href="http://bbs.winos.cn/attachment.php?aid=23665" target="_blank">7.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23666" target="_blank">8.png</a>

整个备份过程根据具体数据的多少而时间不等可能需要比较长的时间请大家耐心等待。

(4)验证备份数据的完整性

如果在备份过程中没有报警或者报错信息可以忽略该步。事实上严正备份最好的办法就是找台计算机或者虚拟机使用“SMS 站点修复向导”将该备份恢复次看能不能成功恢复。

2、SMS 2003的数据库备份

数据库的备份相对比较简单,都是在“SQL Server Management Studio”的控制台中完成的,大家参考下面截图进行操作。

<a href="http://bbs.winos.cn/attachment.php?aid=23667" target="_blank">9.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23668" target="_blank">10.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23669" target="_blank">11.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23670" target="_blank">12.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23671" target="_blank">13.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23672" target="_blank">14.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23673" target="_blank">15.png</a>

3、建立SCCM 2007使用数据库

这里我们需要新建一个数据库,并将我们备份的“SMS 2003”数据恢复到该数据库中。在升级完成后我们的SCCM 2007就使用这个数据库。(该步也可忽略,但是个人强烈建议不要忽略毕竟安全第一)按照下面截图操作。

(1)新建数据库,我们这里新数据库的名字为“SCCM_AAA”。

<a href="http://bbs.winos.cn/attachment.php?aid=23674" target="_blank">16.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23675" target="_blank">17.png</a>

(2)恢复数据库备份

<a href="http://bbs.winos.cn/attachment.php?aid=23676" target="_blank">18.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23677" target="_blank">19.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23678" target="_blank">20.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23679" target="_blank">21.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23680" target="_blank">22.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23681" target="_blank">23.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23682" target="_blank">24.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23683" target="_blank">25.png</a>

二、升级前的准备

1、评估升级任务

在升级前我们需要评估下现有环境有哪些不达标并进行修复,这时我可以使用SCCM 2007(这时我使用的SCCM 2007的版本是SP1版,因为SP1版本对系统的要求更高,且扫描出的问题更多,同时也为更多的讲解这些问题的解决)安装文件中的“Run the prerequisite checker”任务来完成。我们执行SCCM 2007安装文件中的“sqlash.hta”文件打开安装向导,按下面截图操作。

<a href="http://bbs.winos.cn/attachment.php?aid=23684" target="_blank">26.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23685" target="_blank">27.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23686" target="_blank">28.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23687" target="_blank">29.png</a>

这里检测出了10个问题,我们在下面来依次解决 。

注:如果在“Prerequisite result”框中双吉报警或报错条目在下面文本框会现示该条目的详细信息和解决方案。(更详细的信息可以查看“C:\ ConfigMgrPrereq.log”日志)

2、Schema extensions

这个错误很明显了是要扩展活动目录的架构,方法是执行SCCM 2007安装文件里的“F:\SMSSETUP\BIN\I386\extadsch.exe”程序(注意执行时的用户权限)。执行完后检查下“C:\ ExtADSch.log”日志文件看是否顺利扩展架构,参看下面截图。

<a href="http://bbs.winos.cn/attachment.php?aid=23688" target="_blank">30.png</a>

3、Software updates KB932303

4、WSUS SDK on site server

这是提示WUSU的服务器没有安装,该服务器主要用于SCCM 2007中做补丁管理的。不影响安,可以在SCCM 2007安装好在来安装或者指向某个WSUS服务器。

5、Windows Server 2003-based schannel hotfix

6、Windows Remote Management (WinRM)v1.1

7、MMC updates for Configuration Manager(Software Updates)

8、Secure key exchange

提示要升级成SCCM 2007前要开启SMS 2003站点见的安全密钥交换,如果是SMS 2003是独立站点结构则可以忽略该信息。开启的方法参考下面截图。

<a href="http://bbs.winos.cn/attachment.php?aid=23689" target="_blank">31.png</a>

9、FQDN specified for site systems

这里要求你必须为站点系统分配一个FQDN名,操作方法参考下面截图。

<a href="http://bbs.winos.cn/attachment.php?aid=23690" target="_blank">32.png</a>

10、Operating System Deployment Feature Pack

这个是个报错消息,要求你删除现有SMS 2003服务器上的OS包和程序,并卸载SMS 2003 OSD服务包。(SCCM 2007中使用新的OSD,不可以与原SMS 2003 OSD兼容)

11、SQL Server security mode

提示SQL Server服务器的安全模式存在风险,在我试验中我选择的是“混合验证”方式,所以有这个报警消息,如果改为“Windows验证”方式则不会报警。(在该试验中我忽略该错误,因为生产环境中很少会使用“Windows验证”方式)

注意:在检测出来的信息中,报警信息(黄色感叹号)可以忽略继续进行安装。而报错信息(红色的叉)不解决是不可以继续安装。

三、升级SMS 2003数据库

因为SCCM 2007的数据库和SMS 2003的数据库想比,里面表的结构有了变化。所以我们需要手动升级SMS 2003的数据库。操作方法如下。

1、进入命令提示行窗口。

2、进入SCCM 2007安装文件下的“\SMSSETUP\BIN\I386”路径下。

3、执行“setup /testdbupgrade sccm_aaa”(sccm_aaa为数据库名称)命令开启数据升级界面,下面的操作参考先面截图

<a href="http://bbs.winos.cn/attachment.php?aid=23714" target="_blank">47.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23715" target="_blank">48.png</a>

该步骤执行时间比较长请耐心等待

<a href="http://bbs.winos.cn/attachment.php?aid=23716" target="_blank">49.png</a>

4、验证数据库升级是否成功,查看“C:\ ConfigMgrSetup.log”日志文件,如下面截图。

<a href="http://bbs.winos.cn/attachment.php?aid=23717" target="_blank">50.png</a>

四、开始升级

当准备工作全部完成后我们就可以开始SCCM 2007的升级。

注意:整个升级过程必须先升级到SCCM 2007再升级到SCCM 2007 SP1,不可直接升级到SCCM SP1版本。

1、升级到SCCM 2007,按照下面截图操作。

<a href="http://bbs.winos.cn/attachment.php?aid=23691" target="_blank">33.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23692" target="_blank">34.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23693" target="_blank">35.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23694" target="_blank">36.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23695" target="_blank">37.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23696" target="_blank">38.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23697" target="_blank">39.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23698" target="_blank">40.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23699" target="_blank">41.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23700" target="_blank">42.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23701" target="_blank">43.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23702" target="_blank">44.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23703" target="_blank">45.png</a>

<a href="http://bbs.winos.cn/attachment.php?aid=23704" target="_blank">46.png</a>

2、升级到SCCM 2007 SP1

方法和界面基本和“升级到SCCM 2007”相同,唯一的不同的是需要指定不一样的“组件安装程序”的下载路径。

五、验证升级是否成功

1、打开SCCM 2007的控制台,检查站点角色和站点组件状态是否有报错和报警信息(有少量报警信息是升级过程中的报警,不要自己判断下),如果有报错信息则表示有问参考日志进行排错。

2、查看“C:\CopponentSetup.log”日志,看是否所有组件都安装完成“Completed”。

本文转自 chinaperrylee 51CTO博客,原文链接:http://blog.51cto.com/perry/145725,如需转载请自行联系原作者