1、目录.2一、准备工作(4)将SqlServer2008R2集成SP1。二、WindowsServer2012R2节点安装.4.2.3.三、SqlServer2008R2群集的安装.4.3.四、故障转移设置、准备工作1、IP规划(正式见配置手册):(1)域控制器:99(2)群集成员一:01(3)群集成员二:02(4)群集IP:20(5)MSDTC:21(6)SQLIP:22(7)存储器IP:192.168
2、.8.1992、存储规划(正式见配置手册):仲裁磁盘:1GMSDTC磁盘:2GSQL磁盘:剩余空间3、SQL2008R2群集准备工作:(1)在域控服务器中建立两个安全全局组Sqlengine(数据库引擎组)和Sqiagent(数据库代理组);(2)在域控服务器中创建用户sqladmin,将该用户加入到DomainAdmins、Sqlengine和Sqlagent组中;(3)将sqladmin用户分别加入到各节点的本地管理员组中。各节点进行故障转移切换的过程中,需要使用该用户作为SQLServer服务的启动账户;二、WindowsServer2012R2节点安
4、ctiveDirectoryCertificateServices口ActiveDirectoryDomainServicesActiveDirecioryFederationServicesActiveDirecloryLightweightDirectoryServicesriActiveD墜也辺a|tsMan旳gmenl晁rviesUDHCPServerIIDNSSierverFa址Etrveft>FilearidStorageServices(1of12irstdled安装功能组件:.NetFramew
12、FoundationQueuingV|0MultipathI/OIIINeUvoricLoadBa怙ntingIN8、创建群集ShortcutToolslicatiionToolsHomeShareViewManageManage亍叵CoritroIPanelSystemandSecurityAdministrstiviF;FavoritesDesktopDoinloads"IRectntplacesName:岂ThisPCRDesktopDgumen+s卜Termini吕IServices一Windows.Server
28、rgthequewnrrwitnns韜ConfigureClusterQuorumWizardYUSelectQuarumConfigurationOptionSdedaquoruncorfiguratoniotyourdLsler.SelectQuorumConftgurarticnOpiionSelectQuoumWitnessConfimationConfkgureOusterQuorumSetingsSummaryOIJsedefojl口Ltorumcorfiourati口nTheduserd麦emine盘quorummar
30、uofumaixJWitnesaConfigurationOptionsI 32、inggODonotMrfigureaquocimwunessSummaryFailovsfClijgtefQuonjmandWitnessCorfiqurationQptiorHI 34、nessYouhaveSLiccesllyconfigurecfrequosisetttigsforthedusterConfigure3orageWitnessConfigureClusterQuorumSettingsConfimationConfigureOusterQuorumSeTtingWitnessType;WitnessResource:ClusterManagedVoting:DiskWitnessClusterDisk2EnabledIYewReport|SummaryTovwwthereportcneated 38、serformtransactions.AtransactionisaMtofrelatedtaaki.suchasupdatestodatabases,thatethersucceedorfail35cunt.HighAvdildbilityWizardTypethenamethatdientj/vilusewtieraccesstigthisdustenedrole;Name:en-DKTheNelflIOSnameisfanitedto15diaracters,OneormoreIPv4add 40、igntothe出usteredrole,Vbucang翻ipi初dtionmlstcwgetothigdustered阳底afteryoucompetethiswjand.ent/AccessPo訂tSdectStorageConfkmationNamen0詡ClLiBterDisk1念)Online曰(3StatusConfigureHighAvBilabittySummaryOusterDisk3VolLJTie-fT)OOnlineFileSysterr-NTFS193GBfreeof197e0Iu 41、Ew诉皿吕IAIICancelIHighAvailabilityWizardSummaryBeforeYouBeginSelectRoleHi旷avalabiitywassjcoessfliycorfigLuedfortherole.dentAccessPointSelectStorageConfTmionConfigureHighAvBilabittyDistributedTransactionCoordinator(DTC)Summarystorage:NetworkName:OU:IPAddress:ClusterDisk3en 42、-DTCCM=Competers,DC=ntcwxxkj,DC=com152.163.S.221Tovwwthereportcreatedoythewizard,dick论wReport.Toclosethisvflzand,clickfinish.I西wReport|13、【重要必做】解决“群集服务验证”项为失败(InstallSQL2008R2clusterfailonWin2012)方法(1)Powershell界面【推荐】:(各个节点完成后重启)AWindowsServer2012R2add-windowsfeatur 43、eRSAT-Clustering-AutomationServerWincXJWrtSefver012H2SUnddrU恤.骋nightgJOl3HitroioFtCor-pox*jtion._Allrighttrebcr-M-d_S:3dG-winccwEcartbe砰5rtT-tlu寸eri-mutofiErtiDnssrper方法(2)图形化界面:在添加角色和功能向导,在功能步骤,找到故障转移群集工具,勾选“故障转移群集自动化服务器”,点击下一步至完成。14、【重要必做】验证群集,否则安装SQL2008R2报错(KB953748)f 47、Toviewthereportcreatedsy1+iewizanJ.dick5AewReport.Todosethisvwizard.clickfinish.IEshnSqlServer2008R2群集的安装关闭网络防火墙Syste,mandlSecurity7OISearzhCentreTj%卜CorirplkSyctenandSecurrlyEdil加曲工DobHellpCcTtli(MP