当前位置:  数据库>oracle

升级Oracle RAC 11.2.0.4 到 11.2.0.4.1

    来源: 互联网  发布时间:2017-06-03

    本文导语: 1、当前数据库环境: 双节点Oracle linux 5.4 RAC Grid software  11.2.0.4 Oracle software 11.2.0.4 OPatch Version  11.2.0.3.4   2、OPatch下载  下载11.2.0.4.1 Patch:17478514 p17478514_112040_Linux-x86-64.zip  根据该psu readme : OPatch Utility You must use the OPatch uti...

1、当前数据库环境:
 双节点Oracle linux 5.4 RAC
 Grid software  11.2.0.4
 Oracle software 11.2.0.4
 OPatch Version  11.2.0.3.4


 

2、OPatch下载
 

下载11.2.0.4.1 Patch:17478514
 p17478514_112040_Linux-x86-64.zip
 

根据该psu readme :
 OPatch Utility
 You must use the OPatch utility version 11.2.0.3.5 or later to apply this patch. Oracle recommends that you use the latest released OPatch version for 11.2, which is available for download from My Oracle Support patch 6880880 by selecting the 11.2.0.0.0 release.
 由于OPatch Version  11.2.0.3.4,所以我们需要更新OPatch version,下载OPatch :补丁程序6880880: OPatch patch of version 11.2.0.3.6 for Oracle software releases 11.2.0.x
 p6880880_112000_Linux-x86-64.zip
 

3、更新OPatch version/OCM configuration
 将p6880880_112000_Linux-x86-64.zip解压到各个节点DB home 和 GI home
 

节点1,2上分别用grid和oracle用户执行
 mv $ORACLE_HOME/OPatch/ $ORACLE_HOME/OPatch.bak
 

节点1,2上分别用grid和oracle用户执行
 unzip /software/p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME/
 

节点1,2上分别用grid和oracle用户执行
 --执行如下命令在当前目录下创建文件 ocm.rsp
 cd $ORACLE_HOME/OPatch/
 $ORACLE_HOME/OPatch/ocm/bin/emocmrsp
 

验证OPatch版本更新
 

$ORACLE_HOME/OPatch/opatch version
 OPatch Version: 11.2.0.3.6
 

OPatch succeeded.
 

4、Patch Conflict Detection and Resolution
 解压文件:
 

unzip p17478514_112040_Linux-x86-64.zip
 cd /software/17478514/
 

冲突检测:
 节点1,2上分别用grid和oracle用户执行
 

$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./
 

5、Instructions for Patching a Grid Infrastructure (GI) Home
 

root用户执行:(注意权限问题,grid用户安装补丁该补丁由grid解压,oracle类似)
 安装grid 补丁
 export ORACLE_HOME=/arch/grid2
 (opatch auto -oh -ocmrf )
 $ORACLE_HOME/OPatch/opatch auto /software/opatch/ -oh $ORACLE_HOME/ -ocmrf $ORACLE_HOME/OPatch/ocm.rsp
 

 

[root@devnode1 opatch]# $ORACLE_HOME/OPatch/opatch auto /software/opatch/ -oh $ORACLE_HOME/ -ocmrf $ORACLE_HOME/OPatch/ocm.rsp
 Executing /arch/grid2/perl/bin/perl /arch/grid2/OPatch/crs/patch11203.pl -patchdir /software -patchn opatch -oh /arch/grid2/ -ocmrf /arch/grid2/OPatch/ocm.rsp -paramfile /arch/grid2/crs/install/crsconfig_params
 

This is the main log file: /arch/grid2/cfgtoollogs/opatchauto2014-04-14_17-57-35.log
 

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
 /arch/grid2/cfgtoollogs/opatchauto2014-04-14_17-57-35.report.log
 

2014-04-14 17:57:35: Starting Clusterware Patch Setup
 Using configuration parameter file: /arch/grid2/crs/install/crsconfig_params
 Enter 'yes' if you have unzipped this patch to an empty directory to proceed  (yes/no):yes
 Enter 'yes' if you have unzipped this patch to an empty directory to proceed  (yes/no):yes
 

Unable to determine if /arch/grid2 is shared oracle home
 Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes
 

Stopping CRS...
 Stopped CRS successfully
 

patch /software/opatch/17478514  apply successful for home  /arch/grid2
 

Starting CRS...
 Installing Trace File Analyzer
 CRS-4123: Oracle High Availability Services has been started.
 

opatch auto succeeded.
 

安装oracle补丁
 export ORACLE_HOME=/arch/oracle/product/11.2.0/db_1
 $ORACLE_HOME/OPatch/opatch auto /software/opatch/ -oh $ORACLE_HOME/ -ocmrf $ORACLE_HOME/OPatch/ocm.rsp
 

 

[root@devnode1 software]# export ORACLE_HOME=/arch/oracle/product/11.2.0/db_1
 [root@devnode1 software]# $ORACLE_HOME/OPatch/opatch auto /software/opatch/ -oh $ORACLE_HOME/ -ocmrf $ORACLE_HOME/OPatch/ocm.rsp
 Executing /arch/grid2/perl/bin/perl /arch/oracle/product/11.2.0/db_1/OPatch/crs/patch11203.pl -patchdir /software -patchn opatch -oh /arch/oracle/product/11.2.0/db_1/ -ocmrf /arch/oracle/product/11.2.0/db_1/OPatch/ocm.rsp -paramfile /arch/grid2/crs/install/crsconfig_params
 

This is the main log file: /arch/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2014-04-14_15-51-51.log
 

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
 /arch/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2014-04-14_15-51-51.report.log
 

2014-04-14 15:51:51: Starting Clusterware Patch Setup
 Using configuration parameter file: /arch/grid2/crs/install/crsconfig_params
 Enter 'yes' if you have unzipped this patch to an empty directory to proceed  (yes/no):yes
 Enter 'yes' if you have unzipped this patch to an empty directory to proceed  (yes/no):yes
 

Stopping RAC /arch/oracle/product/11.2.0/db_1 ...
 Stopped RAC /arch/oracle/product/11.2.0/db_1 successfully
 

patch /software/opatch/17478514  apply successful for home  /arch/oracle/product/11.2.0/db_1
 

Starting RAC /arch/oracle/product/11.2.0/db_1 ...
 Started RAC /arch/oracle/product/11.2.0/db_1 successfully
 

opatch auto succeeded.
 

6、Loading Modified SQL Files into the Database
 cd $ORACLE_HOME/rdbms/admin
 sqlplus / as sysdba
 SQL> @catbundle.sql psu apply
 

7、验证
 $ORACLE_HOME/OPatch/opatch lspatches
 或者
 $ORACLE_HOME/OPatch/opatch lsinventory -all


    
 
 

您可能感兴趣的文章:

  • 如何升级Oracle 9i到10g
  • Oracle发布Oracle VM 2.2升级虚拟化平台
  • Oracle数据库在Linux AS4升级
  • Oracle10201 RAC升级到10204后导出数据时报EXP-00056错误
  • Oracle RAC 10.2.0.1升级到10.2.0.4
  • VMware中linux环境下oracle安装图文教程(二)ORACLE 10.2.05版本的升级补丁安装
  • oracle9204升级到9206笔记
  • Linux下升级Oracle 10
  • 2008年Oracle错误、备份、升级等最热门问题
  • Oracle 10201 RAC升级到10204
  • 将Oracle表空间升级为本地托管模式
  • Linux下静默安装,升级和删除Oracle客户端
  • 如何从Ubuntu9.10直接升级到11.10
  • 请问内核从2.6.11升级到2.6.16的方法
  • fedora 11利用yum升级出现语法错误怎么处理
  • 升级linux到2.6.11后insmod模块都出现insmod invalid format??
  • 升级ubuntu 到11.10,无法进入图形界面
  • 虚拟机下装的ubuntu升级11.10后启动黑屏
  •  
    本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
    本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Ubuntu系统安装及升级命令
  • 谁升级过rpm程序本身?我升级失败,现在只能通过源代码方式升级了~~~
  • CentOS 6内核升级:下载编译启用新内核版本详细过程
  • linux为什么要升级内核?升级内核有何作用?
  • CentOS 6.5 下载地址及如何升级内核(kernel)版本到 3.10.28
  • 我打算用yum来进行redhat一路升级到FC5,结果内核不升级
  • 必看!程序员升级之路,看了可以少走很多弯路
  • 升级gaim,有一配置也要升级?
  • 升级linux2.6的内核,还需要升级mkinitrd吗?
  • redhat8.0的安装----升级现有系统----每升级一次,grub里就多一条选择,为什么?
  • redhat它的内核如何升级及在哪儿下载可以升级的内核?
  • Red Hat linux 9 内核升级 2.4.480------>2.6.6,升级前要作哪些系统备份?
  • 我的redhat as 2.1想升级内核,请问具体该怎么做?现内核版本为2.4.9-e3,想升级为2.4.9-e系列的最新版本
  • GNOME2.4发布,但是如何升级啊?是一个一个软件包升级吗??
  • 服务器的升级策略问题,大家升级过哪些部件?
  • php-5.2.8升级到5.3.2有什么特别注意的地方吗,我在测试机上直接FU盖旧的目录,也没报错,但是从5.2升到5.3算是个大幅度的升级了,不出问题反倒不安
  • Oracle 10201 RAC升级到10204 iis7站长之家
  • Red Hat linux 9 内核升级 2.4.480------>2.6.6,升级完之后系统不能启动,这是为什么?
  • red hat 升级问题
  • 怎样写升级程序?!!!!
  • 在fc5中怎么升级内核?


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,