已阅读5页,还剩26页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
10gR2CRSInstall),10gR2CRS和RDBMS安装主要步骤,安装CRS软件(baseversion)-从DVD安装安装数据库软件(baseversion),选择只安装软件从DVD安装安装Oraclepatchsetpatchset包括CRS和数据库软件部分-先把CRS升级到-再把数据库软件升级到参考patchsetreadme文件用数据库软件的$ORACLE_HOME/bin目录下的dbca创建RAC数据库安装CRS和数据库bundle或单个patch,10gR2CRS和RDBMS安装安装CRS和RDBMS前的主要准备工作:,CreatingRequiredOSGroupsandUser用户:oracle-确保所有节点上id号一致nobody组:dba-确保所有节点上id号一致oinstall(primarygroup)-确保所有节点上id号一致hagsuser-OnlyifusingIBMHACMP,10gR2CRS和RDBMS安装安装CRS和RDBMS前的主要准备工作:,ConfiguringtheoracleUsersEnv.ORACLE_BASEORACLE_HOMEORA_ASM_HOME(ifseparatefromdatabasehome)ORA_CRS_HOMEORA_NLS10-NotORA_NLS33,ORA_NLS33是用于oracle8,8i,9-$OH/nls/data,not$OH/ocommon/nls/admin/dataLD_LIBRARY_PATHPATHumask022ConfigureShellLimitsforOracleuser$ulimita,10gR2CRS和RDBMS安装安装CRS和RDBMS前的主要准备工作:,ConfiguretheHangcheckTimer(Linux)ConfiguringSSHonAllClusterNodesHardwareverification/configurationRAM(1GB)diskspaceswap/tmp(400MB)Softwareverification/configurationVersion,packages,patchesSettingup/verifyingkernelparametersshmmax等-fordatabaseudp参数-forRACinterconnectLLT参数(OnlyforVCS)-forRACinterconnect,10gR2CRS和RDBMS安装安装CRS和RDBMS前的主要准备工作:,SettingUptheNetwork-网络交换机-dedicatedswitchforRACinterconnect-crossovercableisnotsupportedforRACinterconnect-/etc/hosts-网卡-theinterfacenamesassociatedwiththenetworkadaptersforeachnetworkmustbethesameonallnodes(网卡名字要一致,eth0,eth1,etc)-publicip-virtualip(RACVIP)-一定要与public的ip在同一个子网(ApplicationVIP(usrvip)支持multiplevips/multiplelisteners)-privateip-通常使用10.10.x.x或192.168.x.x,10gR2CRS和RDBMS安装安装CRS和RDBMS前的主要准备工作:,SettingUptheNetworkOptionalbutrecommended多块网卡绑定:SetupredundancyforpublicandprivatenetworkifmultipleNICs:IBM-EtherChannel-使用较多-HACMPSwapAdapterHP-Autoportaggregation(APA)-使用较多-MC/ServiceGuardLocalSwitchSUN-Trunking-IPMultipathing(IPMP)-使用较多Linux-NICbonding-使用较多,10gR2CRS和RDBMS安装安装CRS和RDBMS前的主要准备工作:,InstallandconfigureOCFS2(linux)installandconfigureasmlib(Linux)-在linux上是必须的吗?No,usedforasmperformanceSettingupsharedstorage(cfs,asm,rawdevices)-OCR(doesntsupportASM)-Votingdisks(doesntsupportASM)-Datafiles-FlashRecoveryArea(doesntsupportrawdevices)RunCVUtocheckvariousrequirement,SetupDISPLAYenvironmentvariablefordisplayofGUI.VerifyDISPLAYproperlysetbyrunningxclock.Donotproceedunlessxclockdisplaysproperly.,ClickNext,VerifyPathisproperlypointingtointended$CRS_HOMElocation,clickNext.NOTE:Typointhescreenshotabove.Pathshouldbe/u01/app/crs/product/10.2.0/crs,ClickNext,NOTE:Theinstallerseemstomakesomeassumptionsregardingnamingconventionsforprivateinterconnectandvipnames.ItassumesthatthelocalinstallnodeisgoingtobepartoftheclusterandaddsittotheClusterNodeslistwiththedefaultnamingconvention.Inthiscase,thedefaultsdidntmatchthenetworkingsetupofthesystem.ClickEditandchangethenamesappropriately.,Afterenteringthecorrectnames,clickOK.ThenclickAddtoaddadditionalClusterNodeswiththeappropriatenetworknames.ThePublicnodeandVirtualHostnamesshouldproperlyresolveinDNSandthe/etc/hostsfile.UsenslookuptoverifythatthenamesproperlyresolveinDNS.Verifyboththefullyqualifiedandshortnames.Allshouldresolveproperly.AlsoverifyreverselookupsusingnslookuptoresolvetheIPaddressestotheproperhostnames.,ClickOK,OncealltheClusterNodeshavebeenadded,clickNext.NoteaboutClusternamingconventions.AdoptanamingconventionforclustersthroughoutanorganizationwiththoughtowardmonitoringtheseclustersusingGridControl.IfclusternamesaredefinedinahaphazardwaythenthiscancauseproblemslaterwhenconfiguringGridControl.Forinstance,noduplicateclusternamesshouldbeused.ConsultGridControldocumentationformoredetailsontheclusterconfigurationprocess.,TheinstallerautomaticallyidentifiesthesystemsethernetinterfacesanddifferentiatesbetweenprivateandpublicIPsubnets(worksareassumedtobeprivate)Thisshouldbesetupthesameonalltheserversthatwillbeinthecluster.Theyshouldallbeonthesamesubnet.Inthiscasewewanttouseeth0asthepublicinterfaceandeth1fortheprivateinterconnect.Veth31willnotbeusedaspartoftheconfiguration.ClickitslineinthelistandthenclickEdit.,IndicateDonotusebyselectingtheproperradiobutton,clickOK.,ClickNext,In10gR2theOCRandvotingdiskcanbemultiplexed.Inthiscase,5rawdeviceshavebeensetuponthesharedstoragepriortoinstallationinordertoprovidelocationsforthesefiles(raw3raw7).Afterfillingoutthelocationsforeachappropriately,clickNext.,ClickNext.,ClickInstall,Waitforcompletionoftheinstallation.TheCRSsoftwarewillbeautomaticallycopiedtotheotherclusternodes(assumingthatsshisproperlyconfiguredbeforehand).,Oncethesoftwarehasbeencopiedtoallnodesintheclusteryouarepromptedtorunacoupleofscriptsasrootoneachnode.Itisveryimportantthattheynotberunsimultaneously.RunorainstRoot.shoneachnodeoneatatimeandthenrunroot.shfirstontheinstallnode.root.shformatstheOCRandvotingdiskandbringsuptheCRSstackonthefirstnode.Thiscantakeafewminutes.Waituntiltheroot.shscriptfinishesbeforerunningitonsubsequentnodes.Runroot.shonsubsequentnodesoneatatime.Oneachnodethatroot.shisrunitupdatestheOCRandvotingdiskswithinfoaboutthatnodeandthenbringsuptheCRSstack.Belowistheoutputofthesescriptsontheinstallnodeandthesecondnode.,InstallnodeorainstRoot.shandroot.shoutput:rootatlegen5$cd/u01/app/oracle/product/oraInventoryrootatlegen5$./orainstRoot.shChangingpermissionsof/u01/app/oracle/product/oraInventoryto770.Changinggroupnameof/u01/app/oracle/product/oraInventorytooinstall.Theexecutionofthescriptiscompleterootatlegen5$cd/u01/app/crs/product/10.2.0/crs/rootatlegen5$./root.sh.CheckingtoseeifOracleCRSstackisalreadyconfiguredSettingthepermissionsonOCRbackupdirectorySettingupNSdirectoriesOracleClusterRegistryconfigurationupgradedsuccessfully.assigningdefaulthostnameatlegen5fornode1.assigningdefaulthostnameatlegen6fornode2.SuccessfullyaccumulatednecessaryOCRkeys.Usingports:CSS=49895CRS=49896EVMC=49898andEVMR=49897.node:node1:atlegen5atlegen5iatlegen5node2:atlegen6atlegen6iatlegen6CreatingOCRkeysforuserroot,privgrproot.Operationsuccessful.Nowformattingvotingdevice:/dev/raw/raw5Nowformattingvotingdevice:/dev/raw/raw6Nowformattingvotingdevice:/dev/raw/raw7Formatof3votingdevicescomplete.Startupwillbequeuedtoinitwithin90seconds.AddingdaemonstoinittabExpectingtheCRSdaemonstobeupwithin600seconds.CSSisactiveonthesenodes.atlegen5CSSisinactiveonthesenodes.atlegen6Localnodecheckingcomplete.Runroot.shonremainingnodestostartCRSdaemons.,Non-installnodeorainstRoot.shandroot.shoutput.rootatlegen6$cd/u01/app/oracle/product/oraInventoryrootatlegen6$./orainstRoot.shChangingpermissionsof/u01/app/oracle/product/oraInventoryto770.Changinggroupnameof/u01/app/oracle/product/oraInventorytooinstall.Theexecutionofthescriptiscompleterootatlegen6$cd/u01/app/crs/product/10.2.0/crs/rootatlegen6$./root.sh.CheckingtoseeifOracleCRSstackisalreadyconfiguredSettingthepermissionsonOCRbackupdirectorySettingupNSdirectoriesOracleClusterRegistryconfigurationupgradedsuccessfully.clscfg:EXISTINGconfigurationversion3detected.clscfg:version3is10GRelease2.assigningdefaulthostnameatlegen5fornode1.assigningdefaulthostnameatlegen6fornode2.SuccessfullyaccumulatednecessaryOCRkeys.Usingports:CSS=49895CRS=49896EVMC=49898andEVMR=49897.node:node1:atlegen5atlegen5iatlegen5node2:atlegen6atlegen6iatlegen6clscfg:Argumentscheckoutsuccessfully.Continuedonnextslide.,NOKEYSWEREWRITTEN.Supply-forceparametertooverride.-forceisdestructiveandwilldestroyanypreviousclusterconfiguration.OracleClusterRegistryforclusterhasalreadybeeninitializedStartupwillbequeuedtoinitwithin90seconds.AddingdaemonstoinittabExpectingtheCRSdaemonstobeupwithin600seconds.CSSisactiveonthesenodes.atlegen5atlegen6CSSisactiveonallnodes.WaitingfortheOracleCRSDandEVMDtostartOracleCRSstackinstalledandrunningunderinit(1M)Runningvipca(silent)forconfiguringnodeappsCreatingVIPapplicationresourceon(2)nodes.CreatingGSDapplicationresourceon(2)nodes.CreatingONSapplicationresourceon(2)nodes.StartingVIPapplicationresourceon(2)nodes.StartingGSDapplicationresourceon(2)nodes.StartingONSapplicationresourceon(2)nodes.Done.,Notethatoncetheroot.shisrunonthelastnodeandtheCRSstackisuponallthenodesthattheroot.shscriptinvokesthevipcautilitytoconfigurethenodeapps(includingthevips)onallthenodes.,Severalconfigurationassistantsareruntocompletetheconfigu
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 广东省韶关市乐昌市乐昌实验学校2022-2023学年七年级上学期期中历史试题(含答案)
- 2027年劳动合同空白合同二篇
- 2027年猎头采用合同二篇
- 合规转利润:降本增效全指南(2026)《GBT 36430-2018物联网家电描述文件》
- 合规转利润:降本增效全指南(2026)《GBT 36119-2018精准扶贫 村级光伏电站管理与评价导则》
- 合规转利润:降本增效全指南(2026)《GBT 36012-2018锄草机器人性能规范及其试验方法》
- 《等量代换》教学实录
- 壁画制作工岗前工作技巧考核试卷含答案
- 汽油煤油柴油加氢装置操作工风险评估测试考核试卷含答案
- 乐器维修工操作规范知识考核试卷含答案
- 儿童功能性腹痛诊疗指南
- 安徽省省十联考2027届高三上学期第一次教学质量测评物理试卷(含答案)
- 【小学】【秋季上】高年级【信息技术】开学第一课【课件】
- 2026年学习教育工作总结
- SG-CIM模型建设与实践
- 2026秋新教材人教版小学美术五年级上册(全册)教学设计(附目录p79)
- 人教版数学七年级新生入学摸底试卷(一)(含答案)
- 2026年考研英语(一)201真题(试卷+答案)
- 电气设备检修安全生产技术常识培训课件
- 装配式建筑预制混凝土构件质量管理标准
- 小学五年级上册音乐教案(人音版)
评论
0/150
提交评论