关于Oracle 12c安装后打补丁

Oracle 12c补丁安装过程参考补丁文档,以下是大致过程。

1. 更新OPatch
2. 创建OCM应答文件(每个节点)
$ORACLE_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output /u01/ocm/file.rsp
chmod 775 /u01/ocm/file.rsp

3. 

cat /tmp/patch_list_gihome.txt

/u01/stage/22899531/21436941

/u01/stage/22899531/22502518

/u01/stage/22899531/23006522

/u01/stage/22899531/22806133

$ORACLE_HOME/OPatch/opatch prereq CheckSystemSpace -phBaseFile /tmp/patch_list_gihome.txt

cat /tmp/patch_list_dbhome.txt

/u01/stage/22899531/23006522

/u01/stage/22899531/22806133

$ORACLE_HOME/OPatch/opatch prereq CheckSystemSpace -phBaseFile /tmp/patch_list_dbhome.txt

4. 运行安装
root用户运行

/u01/app/12.1.0/grid/OPatch/opatchauto apply /u01/stage/22899531 -ocmrf /u01/ocm/file.rs

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/ab93e39bdd08a60162f7625fd2aaa684.html