当前位置: 首页 > news >正文

Oracle 19.29

参考文档:Oracle® Database Patch 38298204 - GI Release Update 19.29.0.0.251021


2.1.1.1 OPatch Utility Information
You must use the OPatch utility version 12.2.0.1.47 or later to apply this patch

2.1.1.2 Validation of Oracle Inventory
分别在GI和Oracle Home下执行
$ <ORACLE_HOME>/OPatch/opatch lsinventory -detail -oh <ORACLE_HOME>

su - grid
/u01/app/19.0.0/grid/OPatch/opatch lsinventory -detail -oh /u01/app/19.0.0/gridsu - oracle
/u01/app/oracle/product/19.0.0/db_1/OPatch/opatch lsinventory -detail -oh /u01/app/oracle/product/19.0.0/db_1

2.1.1.4 Run OPatch Conflict Check

su - grid 
/u01/app/19.0.0/grid/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /psu/38298204/38291812
/u01/app/19.0.0/grid/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /psu/38298204/38322923
/u01/app/19.0.0/grid/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /psu/38298204/38311528
/u01/app/19.0.0/grid/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /psu/38298204/38380425
/u01/app/19.0.0/grid/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /psu/38298204/36758186su - oracle 
/u01/app/oracle/product/19.0.0/db_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /psu/38298204/38291812
/u01/app/oracle/product/19.0.0/db_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /psu/38298204/38322923

2.1.1.5 Run OPatch System Space Check

su - grid 
cat /tmp/patch_list_gihome.txt/psu/38298204/38291812
/psu/38298204/38322923
/psu/38298204/38311528
/psu/38298204/38380425
/psu/38298204/36758186/u01/app/19.0.0/grid/OPatch/opatch prereq CheckSystemSpace -phBaseFile /tmp/patch_list_gihome.txtsu - oracle 
cat /tmp/patch_list_dbhome.txt/psu/38298204/38291812
/psu/38298204/38322923/u01/app/oracle/product/19.0.0/db_1/OPatch/opatch prereq CheckSystemSpace -phBaseFile /tmp/patch_list_dbhome.txt

2.1.4 OPatchAuto Out-of-Place Patching  

-- 一次性打GI和DB home的补丁
To patch the Grid home and all Oracle RAC database homes of the same version:
# opatchauto apply <UNZIPPED_PATCH_LOCATION>/38298204

-- 分开打GI和DB的补丁
To patch only the Grid home:
# opatchauto apply <UNZIPPED_PATCH_LOCATION>/38298204 -oh <GI_HOME>

To patch one or more Oracle RAC database homes:
# opatchauto apply <UNZIPPED_PATCH_LOCATION>/38298204 -oh <oracle_home1_path>,<oracle_home2_path>

su - root 
/u01/app/19.0.0/grid/OPatch/opatchauto apply /psu/38298204 -oh /u01/app/19.0.0/grid
/u01/app/oracle/product/19.0.0/db_1/OPatch/opatchauto apply /psu/38298204 -oh /u01/app/oracle/product/19.0.0/db_1

-- log  节点1  grid 

[root@node19c01 psu]# /u01/app/19.0.0/grid/OPatch/opatchauto apply /psu/38298204 -oh /u01/app/19.0.0/gridOPatchauto session is initiated at Thu Oct 23 09:55:37 2025System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2025-10-23_09-55-43AM.log.Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2025-10-23_09-55-56AM.log
The id for this session is PMNUExecuting OPatch prereq operations to verify patch applicability on home /u01/app/19.0.0/grid
Patch applicability verified successfully on home /u01/app/19.0.0/gridExecuting patch validation checks on home /u01/app/19.0.0/grid
Patch validation checks successfully completed on home /u01/app/19.0.0/gridPerforming prepatch operations on CRS - bringing down CRS service on home /u01/app/19.0.0/grid
Prepatch operation log file location: /u01/app/grid/crsdata/node19c01/crsconfig/crs_prepatch_apply_inplace_node19c01_2025-10-23_10-02-49AM.log
CRS service brought down successfully on home /u01/app/19.0.0/gridStart applying binary patch on home /u01/app/19.0.0/grid
Binary patch applied successfully on home /u01/app/19.0.0/gridRunning rootadd_rdbms.sh on home /u01/app/19.0.0/grid
Successfully executed rootadd_rdbms.sh on home /u01/app/19.0.0/gridPerforming postpatch operations on CRS - starting CRS service on home /u01/app/19.0.0/grid
Postpatch operation log file location: /u01/app/grid/crsdata/node19c01/crsconfig/crs_postpatch_apply_inplace_node19c01_2025-10-23_10-17-17AM.log
CRS service started successfully on home /u01/app/19.0.0/gridOPatchAuto successful.--------------------------------Summary--------------------------------Patching is completed successfully. Please find the summary as follows:Host:node19c01
CRS Home:/u01/app/19.0.0/grid
Version:19.0.0.0.0
Summary:==Following patches were SKIPPED:Patch: /psu/38298204/36758186
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_09-56-18AM_1.log
Reason: /psu/38298204/36758186 is not required to be applied to oracle home /u01/app/19.0.0/grid==Following patches were SUCCESSFULLY applied:Patch: /psu/38298204/38291812
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_10-03-44AM_1.logPatch: /psu/38298204/38311528
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_10-03-44AM_1.logPatch: /psu/38298204/38322923
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_10-03-44AM_1.logPatch: /psu/38298204/38380425
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_10-03-44AM_1.logOPatchauto session completed at Thu Oct 23 10:20:24 2025
Time taken to complete the session 24 minutes, 41 seconds
[root@node19c01 psu]# 

-- 节点1  oracle

[root@node19c01 psu]# /u01/app/oracle/product/19.0.0/db_1/OPatch/opatchauto apply /psu/38298204 -oh /u01/app/oracle/product/19.0.0/db_1OPatchauto session is initiated at Thu Oct 23 10:23:02 2025System initialization log file is /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatchautodb/systemconfig2025-10-23_10-23-06AM.log.Session log file is /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatchauto/opatchauto2025-10-23_10-23-19AM.log
The id for this session is S52AExecuting OPatch prereq operations to verify patch applicability on home /u01/app/oracle/product/19.0.0/db_1
Patch applicability verified successfully on home /u01/app/oracle/product/19.0.0/db_1Executing patch validation checks on home /u01/app/oracle/product/19.0.0/db_1
Patch validation checks successfully completed on home /u01/app/oracle/product/19.0.0/db_1Verifying SQL patch applicability on home /u01/app/oracle/product/19.0.0/db_1
SQL patch applicability verified successfully on home /u01/app/oracle/product/19.0.0/db_1Preparing to bring down database service on home /u01/app/oracle/product/19.0.0/db_1
Successfully prepared home /u01/app/oracle/product/19.0.0/db_1 to bring down database serviceBringing down database service on home /u01/app/oracle/product/19.0.0/db_1
Database service successfully brought down on home /u01/app/oracle/product/19.0.0/db_1Performing prepatch operation on home /u01/app/oracle/product/19.0.0/db_1
Prepatch operation completed successfully on home /u01/app/oracle/product/19.0.0/db_1Start applying binary patch on home /u01/app/oracle/product/19.0.0/db_1
Binary patch applied successfully on home /u01/app/oracle/product/19.0.0/db_1Running rootadd_rdbms.sh on home /u01/app/oracle/product/19.0.0/db_1
Successfully executed rootadd_rdbms.sh on home /u01/app/oracle/product/19.0.0/db_1Performing postpatch operation on home /u01/app/oracle/product/19.0.0/db_1
Postpatch operation completed successfully on home /u01/app/oracle/product/19.0.0/db_1Starting database service on home /u01/app/oracle/product/19.0.0/db_1
Database service successfully started on home /u01/app/oracle/product/19.0.0/db_1Preparing home /u01/app/oracle/product/19.0.0/db_1 after database service restarted
No step execution required.........Trying to apply SQL patch on home /u01/app/oracle/product/19.0.0/db_1
No SQL patch operations are required on local node for this homeOPatchAuto successful.--------------------------------Summary--------------------------------Patching is completed successfully. Please find the summary as follows:Host:node19c01
RAC Home:/u01/app/oracle/product/19.0.0/db_1
Version:19.0.0.0.0
Summary:==Following patches were SKIPPED:Patch: /psu/38298204/38311528
Reason: This patch is not applicable to this specified target type - "rac_database"Patch: /psu/38298204/36758186
Reason: This patch is not applicable to this specified target type - "rac_database"Patch: /psu/38298204/38380425
Reason: This patch is not applicable to this specified target type - "rac_database"==Following patches were SUCCESSFULLY applied:Patch: /psu/38298204/38291812
Log: /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_10-32-41AM_1.logPatch: /psu/38298204/38322923
Log: /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_10-32-41AM_1.logPatching session reported following warning(s): 
_________________________________________________[WARNING] The database instance 'test1' from '/u01/app/oracle/product/19.0.0/db_1', in host'node19c01' is not running. SQL changes, if any,  will not be applied.
To apply. the SQL changes, bring up the database instance and run the command manually from any one node (run as oracle).
Refer to the readme to get the correct steps for applying the sql changes.OPatchauto session completed at Thu Oct 23 10:47:46 2025
Time taken to complete the session 24 minutes, 40 seconds
[root@node19c01 psu]# 

-- 节点2 grid

[root@node19c02 psu]# /u01/app/19.0.0/grid/OPatch/opatchauto apply /psu/38298204 -oh /u01/app/19.0.0/gridOPatchauto session is initiated at Thu Oct 23 10:54:41 2025System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2025-10-23_10-54-45AM.log.Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2025-10-23_10-54-55AM.log
The id for this session is UKWIExecuting OPatch prereq operations to verify patch applicability on home /u01/app/19.0.0/grid
Patch applicability verified successfully on home /u01/app/19.0.0/gridExecuting patch validation checks on home /u01/app/19.0.0/grid
Patch validation checks successfully completed on home /u01/app/19.0.0/gridPerforming prepatch operations on CRS - bringing down CRS service on home /u01/app/19.0.0/grid
Prepatch operation log file location: /u01/app/grid/crsdata/node19c02/crsconfig/crs_prepatch_apply_inplace_node19c02_2025-10-23_11-01-54AM.log
CRS service brought down successfully on home /u01/app/19.0.0/gridStart applying binary patch on home /u01/app/19.0.0/grid
Binary patch applied successfully on home /u01/app/19.0.0/gridRunning rootadd_rdbms.sh on home /u01/app/19.0.0/grid
Successfully executed rootadd_rdbms.sh on home /u01/app/19.0.0/gridPerforming postpatch operations on CRS - starting CRS service on home /u01/app/19.0.0/grid
Postpatch operation log file location: /u01/app/grid/crsdata/node19c02/crsconfig/crs_postpatch_apply_inplace_node19c02_2025-10-23_11-17-10AM.log
CRS service started successfully on home /u01/app/19.0.0/gridOPatchAuto successful.--------------------------------Summary--------------------------------Patching is completed successfully. Please find the summary as follows:Host:node19c02
CRS Home:/u01/app/19.0.0/grid
Version:19.0.0.0.0
Summary:==Following patches were SKIPPED:Patch: /psu/38298204/36758186
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_10-55-13AM_1.log
Reason: /psu/38298204/36758186 is not required to be applied to oracle home /u01/app/19.0.0/grid==Following patches were SUCCESSFULLY applied:Patch: /psu/38298204/38291812
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_11-02-50AM_1.logPatch: /psu/38298204/38311528
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_11-02-50AM_1.logPatch: /psu/38298204/38322923
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_11-02-50AM_1.logPatch: /psu/38298204/38380425
Log: /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_11-02-50AM_1.logOPatchauto session completed at Thu Oct 23 11:21:21 2025
Time taken to complete the session 26 minutes, 37 seconds
[root@node19c02 psu]# 

-- 节点2 oracle

[root@node19c02 psu]# 
[root@node19c02 psu]# /u01/app/oracle/product/19.0.0/db_1/OPatch/opatchauto apply /psu/38298204 -oh /u01/app/oracle/product/19.0.0/db_1OPatchauto session is initiated at Thu Oct 23 11:23:27 2025System initialization log file is /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatchautodb/systemconfig2025-10-23_11-23-31AM.log.Session log file is /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatchauto/opatchauto2025-10-23_11-23-46AM.log
The id for this session is ERMSExecuting OPatch prereq operations to verify patch applicability on home /u01/app/oracle/product/19.0.0/db_1
Patch applicability verified successfully on home /u01/app/oracle/product/19.0.0/db_1Executing patch validation checks on home /u01/app/oracle/product/19.0.0/db_1
Patch validation checks successfully completed on home /u01/app/oracle/product/19.0.0/db_1Verifying SQL patch applicability on home /u01/app/oracle/product/19.0.0/db_1
SQL patch applicability verified successfully on home /u01/app/oracle/product/19.0.0/db_1Preparing to bring down database service on home /u01/app/oracle/product/19.0.0/db_1
Successfully prepared home /u01/app/oracle/product/19.0.0/db_1 to bring down database serviceBringing down database service on home /u01/app/oracle/product/19.0.0/db_1
Following database(s) and/or service(s) are stopped and will be restarted later during the session: test
Database service successfully brought down on home /u01/app/oracle/product/19.0.0/db_1Performing prepatch operation on home /u01/app/oracle/product/19.0.0/db_1
Prepatch operation completed successfully on home /u01/app/oracle/product/19.0.0/db_1Start applying binary patch on home /u01/app/oracle/product/19.0.0/db_1
Binary patch applied successfully on home /u01/app/oracle/product/19.0.0/db_1Running rootadd_rdbms.sh on home /u01/app/oracle/product/19.0.0/db_1
Successfully executed rootadd_rdbms.sh on home /u01/app/oracle/product/19.0.0/db_1Performing postpatch operation on home /u01/app/oracle/product/19.0.0/db_1
Postpatch operation completed successfully on home /u01/app/oracle/product/19.0.0/db_1Starting database service on home /u01/app/oracle/product/19.0.0/db_1
Database service successfully started on home /u01/app/oracle/product/19.0.0/db_1Preparing home /u01/app/oracle/product/19.0.0/db_1 after database service restarted
No step execution required.........Trying to apply SQL patch on home /u01/app/oracle/product/19.0.0/db_1
SQL patch applied successfully on home /u01/app/oracle/product/19.0.0/db_1OPatchAuto successful.--------------------------------Summary--------------------------------Patching is completed successfully. Please find the summary as follows:Host:node19c02
RAC Home:/u01/app/oracle/product/19.0.0/db_1
Version:19.0.0.0.0
Summary:==Following patches were SKIPPED:Patch: /psu/38298204/38311528
Reason: This patch is not applicable to this specified target type - "rac_database"Patch: /psu/38298204/36758186
Reason: This patch is not applicable to this specified target type - "rac_database"Patch: /psu/38298204/38380425
Reason: This patch is not applicable to this specified target type - "rac_database"==Following patches were SUCCESSFULLY applied:Patch: /psu/38298204/38291812
Log: /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_11-39-24AM_1.logPatch: /psu/38298204/38322923
Log: /u01/app/oracle/product/19.0.0/db_1/cfgtoollogs/opatchauto/core/opatch/opatch2025-10-23_11-39-24AM_1.logOPatchauto session completed at Thu Oct 23 11:59:50 2025
Time taken to complete the session 36 minutes, 19 seconds
[root@node19c02 psu]# 

-- 验证

[grid@node19c01 OPatch]$ ./opatch lspatches
38380425;TOMCAT RELEASE UPDATE 19.0.0.0.0 (38380425)
38322923;OCW RELEASE UPDATE 19.29.0.0.0 (38322923)
38311528;ACFS RELEASE UPDATE 19.29.0.0.0 (38311528)
38291812;Database Release Update : 19.29.0.0.251021 (38291812)
36758186;DBWLM RELEASE UPDATE 19.0.0.0.0 (36758186)OPatch succeeded.
[grid@node19c01 OPatch]$ [oracle@node19c01 ~]$ cd $ORACLE_HOME/OPatch
[oracle@node19c01 OPatch]$ ./opatch lspatches
38322923;OCW RELEASE UPDATE 19.29.0.0.0 (38322923)
38291812;Database Release Update : 19.29.0.0.251021 (38291812)OPatch succeeded.
[oracle@node19c01 OPatch]$ [grid@node19c02 OPatch]$ ./opatch lspatches
38380425;TOMCAT RELEASE UPDATE 19.0.0.0.0 (38380425)
38322923;OCW RELEASE UPDATE 19.29.0.0.0 (38322923)
38311528;ACFS RELEASE UPDATE 19.29.0.0.0 (38311528)
38291812;Database Release Update : 19.29.0.0.251021 (38291812)
36758186;DBWLM RELEASE UPDATE 19.0.0.0.0 (36758186)OPatch succeeded.
[grid@node19c02 OPatch]$ [oracle@node19c02 ~]$ cd $ORACLE_HOME/OPatch
[oracle@node19c02 OPatch]$ ./opatch lspatches
38322923;OCW RELEASE UPDATE 19.29.0.0.0 (38322923)
38291812;Database Release Update : 19.29.0.0.251021 (38291812)OPatch succeeded.
[oracle@node19c02 OPatch]$
SQL> set linesize 200
SQL> col action for a14
SQL> col status for a20
SQL> col description for a70
SQL> select action,status,description from dba_registry_sqlpatch;ACTION         STATUS               DESCRIPTION
-------------- -------------------- ----------------------------------------------------------------------
APPLY          SUCCESS              Database Release Update : 19.3.0.0.190416 (29517242)
APPLY          SUCCESS              Database Release Update : 19.7.0.0.200414 (30869156)
APPLY          SUCCESS              Database Release Update : 19.19.0.0.230418 (35042068)
APPLY          SUCCESS              Database Release Update : 19.20.0.0.230718 (35320081)
APPLY          SUCCESS              Database Release Update : 19.21.0.0.231017 (35643107)
APPLY          SUCCESS              Database Release Update : 19.22.0.0.240116 (35943157)
APPLY          SUCCESS              Database Release Update : 19.23.0.0.240416 (36233263)
APPLY          SUCCESS              Database Release Update : 19.24.0.0.240716 (36582781)
APPLY          SUCCESS              Database Release Update : 19.25.0.0.241015 (36912597)
APPLY          SUCCESS              Database Release Update : 19.26.0.0.250121 (37260974)
APPLY          SUCCESS              Database Release Update : 19.27.0.0.250415 (37642901)ACTION         STATUS               DESCRIPTION
-------------- -------------------- ----------------------------------------------------------------------
APPLY          SUCCESS              Database Release Update : 19.28.0.0.250715 (37960098)
APPLY          SUCCESS              Database Release Update : 19.29.0.0.251021 (38291812)13 rows selected.SQL> 

END 

http://www.dtcms.com/a/520505.html

相关文章:

  • Elasticsearch(ES)映射(Mapping)
  • 连锁餐饮行业ERP如何选择:为何Oracle NetSuite成为增长新引擎
  • 网站建设背景分析怎样重新运行wordpress
  • 怎么百度做网站wordpress 打包 exe
  • 第一章部署 chrony服务器
  • 华为OD机试双机位A卷 - 热点网站统计 (C++ Python JAVA JS GO)
  • C++解耦合
  • 网站空间管理系统网站建设具体工作有什么
  • STM32-内部flash中写入版本号
  • 长芯微LDUM3160完全P2P替代ADUM3160,LDUM3160是一款采用ADI公司iCoupler® 技术的USB端口隔离器
  • 正规的报价单格式怎样才能做好网站优化
  • 河南艾特网站建设公司网站设计 优帮云
  • 开源小程序商城源码如何进行个性化修改?
  • 于个人电脑搭建人工智能训练师考试环境流程
  • 论人工智能时代数据价值的核心判定标准:质量优先与实时至上
  • 网站建设意义网站建设工作稳定吗
  • nginx日志同步阿里云datahub后写入数据库
  • 代理IP批量可用性检测 程序【python】
  • [学习日记]看书笔记
  • 专有软件使用Linux内核的用户头文件违反GPL吗?| 开源合规场景
  • Python 实现 Pelco-D 协议云台控制(win与ubuntu)
  • MEMS结构光在3D人脸识别中的系统优化
  • 东莞网站建设流程响应式网站制作价格
  • 做网站优化的好处做网站客户总是要退款
  • [人工智能-大模型-51]:Transformer、大模型、Copilot、具身智能、多模态、空间智能、世界模型,什么意思,它们不同点和联系
  • 鸿蒙:简单实现列表下拉刷新+上拉加载
  • [nanoGPT] ChatGPT 的 LLM 的全栈实现 | 快速上手
  • 公司公司手机网站制作互联网营销的特点
  • 做网站苏州营销型网站有什么特点
  • 【计算机网络】408计算机网络高分指南:物理层编码与调制技术精讲