1、首先进入opatch目录 ? 2、查看opatch命令(心急于卸载的朋友直接跳过这步) [weblogic@localhost OPatch]$ ..../opatch -help Oracle 中间补丁程序安装程序版本 13.2.0.0.0 版权所有 (c) 2014, Oracle Corporation。保留所有权利。...example: 'opatch -help' 'opatch apply -help' 'opatch checkapplicable -help' 'opatch compare...-help' 'opatch lsinventory -help' 'opatch lspatches -help' 'opatch napply -help' 'opatch...nrollback -help' 'opatch rollback -help' 'opatch prereq -help' 'opatch util -help' OPatch
这些Patch通常没有setup安装程序,需要使用Oracle的opatch工具安装,本文就opatch的使用进行示范说明。...1.下载 Opatch的最新版本可以从Metalink下载,参考 Note:224346.1 2.使用 在NT/UNIX,Opatch都需要perl支持,所以,使用之前确认你安装了perl环境支持。...把下载的patch解压后,可以使用opatch调用安装,示范如下: $ opatch apply 2990321 PERL5LIB=/opt/oracle/product/9.2.0/Apache/perl...OPatch succedded. 3.通过opatch查看数据库各组件版本 cbash-2.03$ cd OPatch/ bash-2.03$ ls...2990321 README.txt opatch opatch.pl Documentation jlib opatch.bat
timescaledb的多节点模式已经推出很长时间,国内一直没有发布相关的教程,timescaledb官网上关于安装部署说的也不是很清楚,故此自己做了一版教程,...
检查数据库当前OPatch版本 RAC所有节点的GI home和DB home都需要检查。 $ $ORACLE_HOME/OPatch/opatch version 3....$ $ORACLE_HOME/OPatch/opatch version 需要注意grid用户$ORACLE_HOME 权限。...OPatch succeeded. oracle执行结果: $ $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph.../OPatch/ocm/bin/emocmrsp 7.2 尝试手工打补丁 7.2.1 节点1 grid home [grid@jyracdb1 ~]$ $GRID_HOME/OPatch/opatch...$ cd $ORACLE_HOME/OPatch $ ./opatch lsinventory 数据库的验证。
1.更新OPatch版本 在所有节点的GI HOME和DB HOME下,都更新为符合应用补丁需求的OPatch版本。...将之前OPatch备份,解压新版本的OPatch到$ORACLE_HOME目录下,最后检查OPatch版本。...--更新OPatch版本 @all nodes including GI HOME and DB HOME mv OPatch OPatch_bak unzip p6880880_112000_Linux-x86...-64.zip -d $ORACLE_HOME $ORACLE_HOME/OPatch/opatch version 2.配置ocm.rsp文件 在各个节点的grid用户下OPatch下,配置ocm.rsp...auto应用补丁, --opatch auto @all nodes [root@jyrac1 23615403]# /opt/app/11.2.0/grid/OPatch/opatch auto
.log OPatch failed with error code 73 提示patch安装需要OPatch的版本是11.2.0.3.5,使用OPatch version查看当前版本是11.2.0.3.4...[oracle@emrep11 ~]$ /u01/app/oracle/11.2.0.4/dbhome_1/OPatch/opatch version OPatch Version: 11.2.0.3.4...OPatch succeeded. 2.升级OPatch, 如下选择对应操作系统版本,下载OPatch,p17836989_112000_Linux-x86-64.zip, 补丁程序17836989...再执行OPatch version, [oracle@emrep11 ~]$ /u01/app/oracle/11.2.0.4/dbhome_1/OPatch/opatch version OPatch...2.某些补丁要求最低的OPatch版本,OPatch的升级仅需要下载对应操作系统版本的OPatch压缩包,直接解压缩至$ORACLE_HOME即可,以防万一可以备份之前的OPatch。
我们知道utility software通常是指最基础的系统工具软件,而Opatch 这种软件用于打各种版本的PSU补丁,所以称之为Opatch utility就容易理解了。...Utility版本然后应用补丁: [oracle@db11gadg media]$ $ORACLE_HOME/OPatch/opatch version Invoking OPatch 11.2.0.1.7...OPatch Version: 11.2.0.1.7 OPatch succeeded..../opatch version OPatch Version: 11.2.0.3.12 OPatch succeeded....应用完补丁查询: [oracle@db11gadg 20760997]$ $ORACLE_HOME/OPatch/opatch lsinventory ... OPatch succeeded.
4.2 更新 OPatch 并检查版本 [oracle@JiekeXu dbhome_1]$ cd $ORACLE_HOME[oracle@JiekeXu dbhome_1]$ mv OPatch/ OPatch_bak191016...@JiekeXu OPatch]$ ..../opatch version OPatch Version: 12.2.0.1.17 OPatch succeeded. ?...4.6 使其 OPatch 生效 $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $ORACLE_HOME ? ? 4.7 检查补丁冲突 ?...$ORACLE_HOME/OPatch/opatch lsinventory $ORACLE_HOME/OPatch/opatch lsinventory Patch 30138470 : applied
升级OPatch工具 升级到19.11.0.0.0要求的opatch版本为12.2.0.1.24及以上,未升级前的opatch版本如下: 备份任意1个节点的opatch即可,删除所有节点中旧的opatch...,然后升级opatch,2个节点的oracle和grid用户都需要执行删除、升级操作: [root@19crac1 soft]# tar -cvf OPatch.old.tar OPatch [root.../ 验证opatch版本 [root@19crac1 OPatch]# ..../opatch version OPatch Version: 12.2.0.1.24 OPatch succeeded. 升级RU 上传补丁包 2个节点都需要上传,解压。...opatchauto resume 注册补丁: cd /u01/app/oracle/product/19c/dbhome_1/OPatch/OPatch .
/u01/app/19.3.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2023-01-10_17-40-25PM_1.log [Jan 10, 2023...Log: /u01/app/19.3.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2023-01-10_17-49-00PM_1.log Patch...: /u01/media/ru/34130714/34160635 Log: /u01/app/19.3.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2023.../19.3.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2023-01-10_21-12-52PM_1.log OPatchauto session...日志说之前已经安装成功了,再通过opatch检查下,实际果然安装都成功了: [oracle@db01rac2 ~]$ $ORACLE_HOME/OPatch/opatch lspatches 34160635
[oracle@odb12c OPatch]$ ....OPatch,顺着链接里提供的方式去操作,就能够找到下面的连接了。...下载相应的OPatch即可。 ? 这个版本的更新是在8月份,绝对是跟得上时代了。 OPatch的处理可以查看readme.txt,步骤还是老三件。...[oracle@odb12c OPatch]$ ....屏幕不断地输出,最后提示一句 OPatch succeeded. 使用opatch lsinventory查看就有了变化。 ? 打补丁需要评估风险,胆大心细不为过。
咱就熟悉下打PSU的过程,首先11.2.0.4要打这个PSU,要求opatch当前版本,要高于11.2.0.3.5,看下实际情况,显示opatch当前版本是11.2.0.4, [oracle@DB OPatch.../opatch version OPatch Version: 11.2.0.3.4 OPatch succeeded....OPatch OPatch.bak [oracle@DB oracle]$ cp -R OPatch $ORACLE_HOME 此时,opatch的版本是11.2.0.3.6, [oracle@DB...OPatch]$ opatch version OPatch Version: 11.2.0.3.6 OPatch succeeded....OPatch succeeded.
/opatch2019-01-22_23-09-21PM_1.log Reason: Failed during Analysis: CheckSystemCommandsAvailable Failed...12.2.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2019-01-22_23-32-21PM_1.log Host:db90 CRS Home.../opatchauto/core/opatch/opatch2019-01-22_23-35-03PM_1.log Patch: /home/grid/28828733/28822515 Log: /...u01/app/12.2.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2019-01-22_23-35-03PM_1.log Patch: /home.../grid/28828733/28864846 Log: /u01/app/12.2.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2019-01-22
单库操作步骤: 1.解压替换OPatch 123456 cd psu cd $ORACLE_HOME/ mv OPatch/ OPatch_bak cd ~/psu unzip p6880880_112000.../opatch prereq CheckConflictAgainstOHWithDetail -ph ./ $ORACLE_HOME/OPatch/opatch apply cd ../31219953... $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./ $ORACLE_HOME/OPatch/opatch.../opatch prereq CheckConflictAgainstOHWithDetail -ph ./ $ORACLE_HOME/OPatch/opatch apply cd ../31219953... $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./ $ORACLE_HOME/OPatch/opatch
opatch的帮助命令来获取帮助信息 #获得opatch的帮助信息 [oracle@linux1 OPatch]$ ..../opatch -help Invoking OPatch 11.1.0.6.6 #opatch的版本 Oracle Interim Patch Installer version 11.1.0.6.6...' 'opatch lsinventory -help' 'opatch napply -help' 'opatch nrollback...-help' 'opatch rollback -help' 'opatch prereq -help' 'opatch util -help' OPatch succeeded.../opatch lsinventory Invoking OPatch 10.2.0.3.0 .........
/ inflating: OPatch/opatchauto creating: OPatch/ocm/ creating: OPatch/ocm/doc/ creating...: OPatch/ocm/bin/ creating: OPatch/ocm/lib/ extracting: OPatch/ocm/generic.zip inflating: OPatch...: OPatch/private/ inflating: OPatch/private/commons-compress-1.26.0.jar inflating: OPatch/private...creating: OPatch/oplan/ -----省略中间部分------ inflating: OPatch/modules/features/com.oracle.glcm.patch.opatch-common-api-classpath.jar...OPatch ./ jiekexu-t1:/u01/app/oracle/product/19.0.0/dbhome_1(jiekexu)$ opatch version OPatch Version:
-R /u01/app/19.0.0/grid/OPatch $ opatch version OPatch Version: 12.2.0.1.30 OPatch succeeded....DB: $ cd $ORACLE_HOME $ mv OPatch/ OPatch_bak19 cp -r /u01/backup/OPatch ./ 复制 oui-patch.xml 到远程节点 2...-detail -oh $ORACLE_HOME (DB1)$ opatch lsinventory -detail -oh $ORACLE_HOME (+ASM2)$ opatch lsinventory...jiekedb1 cd $ORACLE_HOME/OPatch ....cd $ORACLE_HOME/OPatch .
1.更新OPatch版本 2.使用opatch auto应用补丁 3.应用补丁后操作 1.更新OPatch版本 在所有节点的GI HOME和DB HOME下,都更新为符合应用补丁需求的OPatch版本...将之前OPatch备份,解压新版本的OPatch到$ORACLE_HOME目录下,最后检查OPatch版本。...--更新OPatch版本 @all nodes including GI HOME and DB HOME mv OPatch OPatch_bak unzip p6880880_190000_Linux-x86...-64.zip -d $ORACLE_HOME $ORACLE_HOME/OPatch/opatch version OPatch Version: 12.2.0.1.35 2.使用opatch auto...auto应用补丁, --opatch auto @all nodes # $ORACLE_HOME/OPatch/opatchauto /u01/media/ru/34130714 ...
通常安装PSU是比较简单的,步骤如下: 1) 安装PSU需要使用到opatch,在README.html中有描述该PSU需要的最低版本opatch,如果当前opatch版本过低,则需要先下载 Patch...6880880,该Patch中包含最新的opatch,只需要解压覆盖原先的$ORACLE_HOME/OPatch目录即可。...查看当前的opatch版本,可以使用opatch version命令。.../oracle/app/11.2.0/grid/OPatch/opatch [ZHLHRDB1:grid]:/home/grid>opatch version OPatch Version:11.2.0.3.12...二.3.3 oracle目录OPatch替换 [ZHLHRDB1:oracle]:/oracle>opatch version Invoking OPatch11.2.0.1.7 OPatch Version
/dbhome_1 #替换grid的opatch cd $GRID_HOME;mv OPatch OPatch....#替换database的opatch cd $ORACLE_HOME;mv OPatch OPatch....2.验证opatch替换情况: su - grid -c ' $ORACLE_HOME/OPatch/opatch version' OPatch Version: 11.2.0.3.12 OPatch...succeeded. su - oracle -c ' $ORACLE_HOME/OPatch/opatch version' OPatch Version: 11.2.0.3.12 OPatch succeeded.../opatch lsinv' su - oracle -c '$ORACLE_HOME/OPatch/opatch lsinv' # -- 如果是新装RAC,还未建库,则下面操作无需进行。
领取专属 10元无门槛券
手把手带您无忧上云