您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 数据库 > Oracle高级课程实操案例6-Oracle10gRAC升级到10204
Oracle10gRAC升级到102041升级CRS软件1.1停止所有的服务[oracle@class1~]$crs_stop-allAttemptingtostop`ora.ORCL.db`onmember`class1`Attemptingtostop`ora.class1.ons`onmember`class1`Attemptingtostop`ora.class1.gsd`onmember`class1`Attemptingtostop`ora.class2.gsd`onmember`class2`Attemptingtostop`ora.class2.ons`onmember`class2`Stopof`ora.class1.gsd`onmember`class1`succeeded.Stopof`ora.class1.ons`onmember`class1`succeeded.Stopof`ora.class2.gsd`onmember`class2`succeeded.Stopof`ora.class2.ons`onmember`class2`succeeded.Stopof`ora.ORCL.db`onmember`class1`succeeded.Attemptingtostop`ora.class1.LISTENER_CLASS1.lsnr`onmember`class1`Attemptingtostop`ora.class2.LISTENER_CLASS2.lsnr`onmember`class2`Stopof`ora.class2.LISTENER_CLASS2.lsnr`onmember`class2`succeeded.`ora.ORCL.ORCL2.inst`isalreadyOFFLINE.Attemptingtostop`ora.class2.ASM2.asm`onmember`class2`Stopof`ora.class1.LISTENER_CLASS1.lsnr`onmember`class1`succeeded.`ora.ORCL.ORCL1.inst`isalreadyOFFLINE.Attemptingtostop`ora.class1.ASM1.asm`onmember`class1`Stopof`ora.class2.ASM2.asm`onmember`class2`succeeded.Attemptingtostop`ora.class2.vip`onmember`class2`Stopof`ora.class2.vip`onmember`class2`succeeded.Stopof`ora.class1.ASM1.asm`onmember`class1`succeeded.Attemptingtostop`ora.class1.vip`onmember`class1`Stopof`ora.class1.vip`onmember`class1`succeeded.CRS-0216:Couldnotstopresource'ora.ORCL.ORCL1.inst'.CRS-0216:Couldnotstopresource'ora.ORCL.ORCL2.inst'.[oracle@class1~]$crs_stat-t-vNameTypeR/RAF/FTTargetStateHost-----------------------------------------------------------------------------------------------------------ora....L1.instapplication0/50/0OFFLINEOFFLINEora....L2.instapplication0/50/0OFFLINEOFFLINEora.ORCL.dbapplication0/10/1OFFLINEOFFLINEora....SM1.asmapplication0/50/0OFFLINEOFFLINEora....S1.lsnrapplication0/50/0OFFLINEOFFLINEora.class1.gsdapplication0/50/0OFFLINEOFFLINEora.class1.onsapplication0/30/0OFFLINEOFFLINEora.class1.vipapplication0/00/0OFFLINEOFFLINEora....SM2.asmapplication0/50/0OFFLINEOFFLINEora....S2.lsnrapplication0/50/0OFFLINEOFFLINEora.class2.gsdapplication0/50/0OFFLINEOFFLINEora.class2.onsapplication0/30/0OFFLINEOFFLINEora.class2.vipapplication0/00/0OFFLINEOFFLINE1.2解压升级包[root@class1~]#unzipp6810189_10204_Linux-x86-64.zip1.3执行CRS升级安装[root@class1~]#xhost+accesscontroldisabled,clientscanconnectfromanyhost[root@class1~]#su-oracle[oracle@class1~]$exportDISPLAY=:0.0[oracle@class1~]$exportLANG=en_US[oracle@class1~]$cd/oracle[oracle@class1oracle]$cdDisk1/[oracle@class1Disk1]$./runInstaller点击“Next”下拉选择CRS的安装目录,点击“Next”点击“Next”检查完毕后,点击“Next”点击“Install”安装完成后出现以下界面,由于显示内容较多,本文用两部分表示点击“Exit”退出安装。点击“Yes”然后按照上面的要求继续下面的操作。1.4根据安装结束提示执行脚本使用root用户分别在两个节点上执行如下命令操作[root@class1bin]#/oracle/product/crs/bin/crsctlstopcrsStoppingresources.SuccessfullystoppedCRSresourcesStoppingCSSD.ShuttingdownCSSdaemon.Shutdownrequestsuccessfullyissued.[root@class1bin]#/oracle/product/crs/install/root102.shCreatingpre-patchdirectoryforsavingpre-patchclusterwarefilesCompletedpatchingclusterwarefilesto/oracle/product/crsRelinkingsomesharedlibraries.Relinkingofpatchedfilesiscomplete.WARNING:directory'/oracle/product'isnotownedbyrootWARNING:directory'/oracle'isnotownedbyrootPreparingtorecopypatchedinitandRCscripts.RecopyinginitandRCscripts.Startupwillbequeuedtoinitwithin30seconds.StartinguptheCRSdaemons.WaitingforthepatchedCRSdaemonstostart.Thismaytakeawhileonsomesystems..10204patchsuccessfullyapplied.clscfg:EXISTINGconfigurationversion3detected.clscfg:version3is10GRelease2.SuccessfullyaccumulatednecessaryOCRkeys.Usingports:CSS=49895CRS=49896EVMC=49898andEVMR=49897.nodenodenumber:nodenameprivateinterconnectnamehostnamenode1:class1class1-privclass1CreatingOCRkeysforuser'root',privgrp'root'..Operationsuccessful.clscfg-upgradecompletedsuccessfully[root@class1bin]#su-oracle[oracle@class1~]$crs_stat-v-tNameTypeR/RAF/FTTargetStateHost---------------------------------------------------------------------------------------------------------------ora....L1.instapplication0/50/0ONLINEONLINEclass1ora....L2.instapplication0/50/0ONLINEOFFLINEora.ORCL.dbapplication0/10/1ONLINEONLINEclass1ora....SM1.asmapplication0/50/0ONLINEONLINEclass1ora....S1.lsnrapplication0/50/0ONLINEONLINEclass1ora.class1.gsdapplication0/50/0ONLINEONLINEclass1ora.class1.onsapplication0/30/0ONLINEONLINEclass1ora.class1.vipapplication0/00/0ONLINEONLINEclass1ora....SM2.asmapplication0/50/0ONLINEOFFLINEora....S2.lsnrapplication0/50/0ONLINEOFFLINEora.class2.gsdapplication0/50/0ONLINEOFFLINEora.class2.onsapplication0/30/0ONLINEOFFLINEora.class2.vipapplication0/00/0ONLINEOFFLINE[root@class2~]#/oracle/product/crs/bin/crsctlstopcrsStoppingresources.SuccessfullystoppedCRSresourcesStoppingCSSD.ShuttingdownCSSdaemon.Shutdownrequestsuccessfullyissued.[root@class2~]#/oracle/product/crs/install/root102.shCreatingpre-patchdirectoryforsavingpre-patchclusterwarefilesCompletedpatchingclusterwarefilesto/oracle/product/crsRelinkingsomesharedlibraries.Relinkingofpatchedfilesiscomplete.WARNING:directory'/oracle/product'isnotownedbyrootWARNING:directory'/oracle'isnotownedbyro
本文标题:Oracle高级课程实操案例6-Oracle10gRAC升级到10204
链接地址:https://www.777doc.com/doc-6204566 .html