首页 > 代码库 > 实战AD+Exchange升级系列之AD健康检查(一)
实战AD+Exchange升级系列之AD健康检查(一)
就目前来说微软的操作系统与邮件系统主流产品已经是Win server 2008与2012、Exchange2010与2013,Exchange server 2003的支持周期已经在今年的4月8号与XP一起结束,Win server 2003也将于2015年7月14号结束它的支持周期。但还有相当部分企业还在继续使用Win server 2003与Exchange 2003,最近就做了一个AD+EX的升级项目:AD由2003升级到2008、Exchange由2003升级到2010,在这里把我的一些经验分享给大家,希望能帮到那些有升级需要的朋友。
我升级的路线是先升级AD,再升级Exchange,也有朋友提出先升级Exchange再升级AD这样的方式,有不同想法的朋友可以跟我讨论。
下面开始进入实战第一步----AD健康检查
AD是微软最基础的构架,几乎所有的应用都建立在AD之上,所以第一步我们要确认它是可用的、健康的。在Win server 2003的命令提示符中输入 dcdiag /v >c:\dcdiag.txt 把结果导出到C盘,如图
下面是dcdiag.txt的内容:
Domain Controller Diagnosis
Performing initial setup:
Done gathering initial info.
Doing initial required tests
Testing server: contoso\contoso-AD1
Starting test: Connectivity
......................... contoso-AD1 passed test Connectivity
Doing primary tests
Testing server: contoso\contoso-AD1
Starting test: Replications
......................... contoso-AD1 passed test Replications
Starting test: NCSecDesc
......................... contoso-AD1 passed test NCSecDesc
Starting test: NetLogons
......................... contoso-AD1 passed test NetLogons
Starting test: Advertising
......................... contoso-AD1 passed test Advertising
Starting test: KnowsOfRoleHolders
......................... contoso-AD1 passed test KnowsOfRoleHolders
Starting test: RidManager
......................... contoso-AD1 passed test RidManager
Starting test: MachineAccount
......................... contoso-AD1 passed test MachineAccount
Starting test: Services
......................... contoso-AD1 passed test Services
Starting test: ObjectsReplicated
......................... contoso-AD1 passed test ObjectsReplicated
Starting test: frssysvol
......................... contoso-AD1 passed test frssysvol
Starting test: frsevent
......................... contoso-AD1 passed test frsevent
Starting test: kccevent
......................... contoso-AD1 passed test kccevent
Starting test: systemlog
......................... contoso-AD1 passed test systemlog
Starting test: VerifyReferences
......................... contoso-AD1 passed test VerifyReferences
Running partition tests on : ForestDnsZones
Starting test: CrossRefValidation
......................... ForestDnsZones passed test CrossRefValidation
Starting test: CheckSDRefDom
......................... ForestDnsZones passed test CheckSDRefDom
Running partition tests on : DomainDnsZones
Starting test: CrossRefValidation
......................... DomainDnsZones passed test CrossRefValidation
Starting test: CheckSDRefDom
......................... DomainDnsZones passed test CheckSDRefDom
Running partition tests on : Schema
Starting test: CrossRefValidation
......................... Schema passed test CrossRefValidation
Starting test: CheckSDRefDom
......................... Schema passed test CheckSDRefDom
Running partition tests on : Configuration
Starting test: CrossRefValidation
......................... Configuration passed test CrossRefValidation
Starting test: CheckSDRefDom
......................... Configuration passed test CheckSDRefDom
Running partition tests on : contoso
Starting test: CrossRefValidation
......................... contoso passed test CrossRefValidation
Starting test: CheckSDRefDom
......................... contoso passed test CheckSDRefDom
Running enterprise tests on : contoso.com
Starting test: Intersite
......................... contoso.com passed test Intersite
Starting test: FsmoCheck
......................... contoso.com passed test FsmoCheck
Connectivity,Replications,NCSecDesc,NetLogons,Advertising,KnowsOfRoleHolders,RidManager,MachineAccount,Services,ObjectsReplicated,frssysvol,frsevent,kccevent,systemlog,VerifyReferences,CrossRefValidation,CheckSDRefDom,Intersite,FsmoCheck 这些都是要检查的项目,所有的项目都是passed表示你的AD就是健康的了,如果有没有通过测试的就要根据报错去排错,直到测试通过。AD健检通过后,我们接下来就可以做升级的准备工作了。
本文出自 “Fly_eagle” 博客,请务必保留此出处http://liuying1001.blog.51cto.com/3323507/1432782