《oracle10.2.0.1升级到10.2.0.5》由会员分享,可在线阅读,更多相关《oracle10.2.0.1升级到10.2.0.5(32页珍藏版)》请在金锄头文库上搜索。
1、Redhat 5.5 Oracle RAC 数据库 从 10.2.0.1 升级到 10.2.0.5到 metalink 上下载 p8202632_10205_LINUX.zip 补丁,上传到服务器。下面进行升级:1.停止 RACOracleb87 $ srvctl stop database -d racdboracleb87 $ srvctl stop asm -n b87oracleb87 $ srvctl stop asm -n b88oracleb87 $ srvctl stop listener -n b87oracleb87 $ srvctl stop listener -n b8
2、8oracleb87 $ crs_stat -tName Type Target State Host-ora.SM1.asm application OFFLINE OFFLINEora.87.lsnr application OFFLINE OFFLINEora.b87.gsd application ONLINE ONLINE b87ora.b87.ons application ONLINE ONLINE b87ora.b87.vip application ONLINE ONLINE b87ora.SM2.asm application OFFLINE OFFLINEora.88.l
3、snr application OFFLINE OFFLINEora.b88.gsd application ONLINE ONLINE b88ora.b88.ons application ONLINE ONLINE b88ora.b88.vip application ONLINE ONLINE b88ora.racdb.db application OFFLINE OFFLINEora.b1.inst application OFFLINE OFFLINEora.b2.inst application OFFLINE OFFLINE2.解压包unzip p8202632_10205_LI
4、NUX.ziprootb87 opt# cd Disk1/rootb87 Disk1# lsinstall patch_note.htm response runInstaller stage3.开始升级 clusterwareoracleb87 Disk1$ ./runInstallerStarting Oracle Universal Installer.Checking installer requirements.Checking operating system version: must be RedHat-3,SUSE-9, SuSE-10, redhat-4, redhat-5
5、, redhat-6, UnitedLinux-1.0, asianux-1,asianux-2, asianux-3, enterprise-4, enterprise-5 or SuSE-11Passed All installer requirements met.Preparing to launch Oracle Universal Installer from/tmp/OraInstall2012-12-25_02-26-20PM. Please wait .oracleb87 Disk1$ OracleUniversal Installer, Version 10.2.0.5.0
6、 ProductionCopyright (C) 1999, 2010, Oracle. All rights reserved.欢迎界面,选择 NEXT这里注意,现在我们是升级 CLUSTERWARE 集群软件,选择相应的目录(CRS_HOME)看清楚,不要选择(ORACLE_HOME ),选好后 NEXT.保持默认,next检测环境,通过后,next,我在这一步报内核参数不对,按照提示修改相关参数即可,最后别忘记 sysctl p.安装之前的概要,选择安装。安装进行中,持续 30 分钟左右。安装结束,提示在所有节点运行脚本:先在第一个节点上运行:rootb87 # /opt/u01/Ora
7、cle/product/crs/bin/crsctlstop crsStopping resources.Successfully stopped CRS resourcesStopping CSSD.Shutting down CSS daemon.Shutdown request successfully issued.rootb87 #/opt/u01/oracle/product/crs/install/root102.shCreating pre-patch directory for saving pre-patchclusterware filesCompleted patchi
8、ng clusterware files to/opt/u01/oracle/product/crsRelinking some shared libraries.Relinking of patched files is complete.WARNING: directory /opt/u01/oracle/product is notowned by rootWARNING: directory /opt/u01/oracle is not owned byrootWARNING: directory /opt/u01 is not owned by rootPreparing to re
9、copy patched init and RC scripts.Recopying init and RC scripts.Startup will be queued to init within 30 seconds.Starting up the CRS daemons.Waiting for the patched CRS daemons to start.This may take a while on some systems.10205 patch successfully applied.clscfg: EXISTING configuration version 3 det
10、ected.clscfg: version 3 is 10G Release 2.Successfully deleted 1 values from OCR.Successfully deleted 1 keys from OCR.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 andEVMR=49897.node : node 1: b87 b87-priv b87Creating OCR keys for user root, privgrp root.Oper
11、ation successful.clscfg -upgrade completed successfullyCreating/opt/u01/oracle/product/crs/install/paramfile.crs with data used for CRSconfigurationSetting CRS configuration values in/opt/u01/oracle/product/crs/install/paramfile.crs在第二个节点上运行:rootb88 # /opt/u01/oracle/product/crs/bin/crsctlstop crsSt
12、opping resources.Successfully stopped CRS resourcesStopping CSSD.Shutting down CSS daemon.Shutdown request successfully issued.rootb88 #/opt/u01/oracle/product/crs/install/root102.shCreating pre-patch directory for saving pre-patchclusterware filesCompleted patching clusterware files to/opt/u01/orac
13、le/product/crsRelinking some shared libraries.Relinking of patched files is complete.WARNING: directory /opt/u01/oracle/product is notowned by rootWARNING: directory /opt/u01/oracle is not owned byrootWARNING: directory /opt/u01 is not owned by rootPreparing to recopy patched init and RC scripts.Rec
14、opying init and RC scripts.Startup will be queued to init within 30 seconds.Starting up the CRS daemons.Waiting for the patched CRS daemons to start.This may takea while on some systems.10205 patch successfully applied.clscfg: EXISTING configuration version 3 detected.clscfg: version 3 is 10G Releas
15、e 2.Successfully deleted 1 values from OCR.Successfully deleted 1 keys from OCR.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 andEVMR=49897.node : node 2: b88 b88-priv b88Creating OCR keys for user root, privgrp root.Operation successful.clscfg -upgrade completed successfullyCreating/opt/u01/oracle/product/crs/install/paramfile.crs with data used for CRSconfigurationSetting CRS configuration values in /opt/u01/oracle/product/crs/install/paramfile.crs到此 clusterware 升级完成, crs 已经重启,下面我们开始升级数据库软件。4.升级 database software在升级 cluste