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

PSU过程11.2.0.4.250415

opatch版本: 11.2.0.3.49 or later 

1.2.1.2 Validation of Oracle Inventory

$ <ORACLE_HOME>/OPatch/opatch lsinventory -detail -oh <ORACLE_HOME>su - grid 
/u01/app/11.2.0/grid/OPatch/opatch lsinventory -detail -oh /u01/app/11.2.0/gridsu - oracle 
/u01/app/oracle/product/11.2.0/db_1/OPatch/opatch lsinventory -detail -oh /u01/app/oracle/product/11.2.0/db_1/

-- opatch auto 打补丁

# opatch auto <UNZIPPED_PATCH_LOCATION>/37712346 su - root 
/u01/app/11.2.0/grid/OPatch/opatch auto /psu/37712346 

-- 应用SQL 
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT


-- log
--节点1 log 

[root@o11gr21 psu]# cd 37712346/
[root@o11gr21 37712346]# /u01/app/11.2.0/grid/OPatch/opatch auto /psu/37712346
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /psu -patchn 37712346 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_paramsThis is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2025-11-10_13-43-36.logThis file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2025-11-10_13-43-36.report.log2025-11-10 13:43:36: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsUnable to determine if /u01/app/oracle/product/11.2.0/db_1 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):YesUnable to determine if /u01/app/11.2.0/grid 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):yesStopping RAC /u01/app/oracle/product/11.2.0/db_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/db_1 successfullypatch /psu/37712346/36614298/custom/server/36614298  apply successful for home  /u01/app/oracle/product/11.2.0/db_1 
patch /psu/37712346/37608089  apply successful for home  /u01/app/oracle/product/11.2.0/db_1 Stopping CRS...
Stopped CRS successfullypatch /psu/37712346/36614298  apply successful for home  /u01/app/11.2.0/grid 
patch /psu/37712346/37608089  apply successful for home  /u01/app/11.2.0/grid 
patch /psu/37712346/33112794  apply successful for home  /u01/app/11.2.0/grid Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...
Started RAC /u01/app/oracle/product/11.2.0/db_1 successfullyopatch auto succeeded.
[root@o11gr21 37712346]# 

--节点2 log

[root@o11gr22 psu]# /u01/app/11.2.0/grid/OPatch/opatch auto /psu/37712346
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /psu -patchn 37712346 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_paramsThis is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2025-11-10_14-04-52.logThis file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2025-11-10_14-04-52.report.log2025-11-10 14:04:52: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsUnable to determine if /u01/app/oracle/product/11.2.0/db_1 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):yesUnable to determine if /u01/app/11.2.0/grid 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):yesStopping RAC /u01/app/oracle/product/11.2.0/db_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/db_1 successfullypatch /psu/37712346/36614298/custom/server/36614298  apply successful for home  /u01/app/oracle/product/11.2.0/db_1 
patch /psu/37712346/37608089  apply successful for home  /u01/app/oracle/product/11.2.0/db_1 Stopping CRS...
Stopped CRS successfullypatch /psu/37712346/36614298  apply successful for home  /u01/app/11.2.0/grid 
patch /psu/37712346/37608089  apply successful for home  /u01/app/11.2.0/grid 
patch /psu/37712346/33112794  apply successful for home  /u01/app/11.2.0/grid Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...
Started RAC /u01/app/oracle/product/11.2.0/db_1 successfullyopatch auto succeeded.
[root@o11gr22 psu]# 

-- apply SQL  
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT

-- 查看补丁版本 

[grid@o11gr21 OPatch]$ ./opatch lspatches
33112794;ACFS PATCH SET UPDATE 11.2.0.4.210720 (33112794)
37608089;Database Patch Set Update : 11.2.0.4.250415 (37608089)
36614298;OCW PATCH SET UPDATE 11.2.0.4.240716 (36614298)OPatch succeeded.
[grid@o11gr21 OPatch]$ [oracle@o11gr21 OPatch]$ ./opatch lspatches
37608089;Database Patch Set Update : 11.2.0.4.250415 (37608089)
36614298;OCW PATCH SET UPDATE 11.2.0.4.240716 (36614298)OPatch succeeded.
[oracle@o11gr21 OPatch]$ [grid@o11gr22 OPatch]$ ./opatch lspatches
33112794;ACFS PATCH SET UPDATE 11.2.0.4.210720 (33112794)
37608089;Database Patch Set Update : 11.2.0.4.250415 (37608089)
36614298;OCW PATCH SET UPDATE 11.2.0.4.240716 (36614298)OPatch succeeded.
[grid@o11gr22 OPatch]$ [oracle@o11gr22 OPatch]$ ./opatch lspatches
37608089;Database Patch Set Update : 11.2.0.4.250415 (37608089)
36614298;OCW PATCH SET UPDATE 11.2.0.4.240716 (36614298)OPatch succeeded.
[oracle@o11gr22 OPatch]$ SQL> select action_time,version,comments from dba_registry_history;ACTION_TIME                                        VERSION              COMMENTS
-------------------------------------------------- -------------------- --------------------------------------------------
24-AUG-13 12.03.45.119862 PM                       11.2.0.4             Patchset 11.2.0.2.0
11-DEC-21 09.19.00.302000 PM                       11.2.0.4             Patchset 11.2.0.2.0
11-DEC-21 09.32.55.283364 PM                       11.2.0.4             Patchset 11.2.0.2.0
10-NOV-25 02.24.15.874333 PM                       11.2.0.4             PSU 11.2.0.4.2504154 rows selected.SQL> 

END

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

相关文章:

  • Nanopb基本概念
  • 微网站开发平台 知乎东家乐装修公司简介
  • 基于交替方向乘子法(ADMM)的RPCA MATLAB实现
  • redis删除一个键用del还是unlink
  • 用vue.js做网站百度区域代理
  • 好人一生平安网站哪个好抖音代运营培训
  • 前端基础面试题(Css,Html,Js,Ts)
  • 使用c#强大的SourceGenerator现对象的深克隆
  • 企业移动网站建设网站文件夹命名规则
  • 【动态链接库】一、VS下基本制作与使用
  • 百度网站排名规则长春百度快速优化
  • xpert AI工作流工具本地部署
  • SP30N06NK 30V N沟道MOSFET技术解析与应用指南
  • 深圳建站公司推荐国内平台有哪些
  • 使用DFSDM模拟看门狗做过流保护以及封波应用 LAT1612
  • 远程传输大文件的软件有哪些?
  • 北京建设官方网站渠道网络大厦
  • 鸿蒙 Next 如何使用 AVRecorder 从0到1实现视频录制功能(ArkTS)
  • 动态背景网站北京网站设计制作费用
  • LSTM模型做分类任务2(PyTorch实现)
  • 企业网站模板 简洁wordpress 水印
  • PostgreSQL模式:数据库中的命名空间艺术
  • 数据库的4个基本概念
  • 做a网站wordpress 导入xml
  • zzcms网站开发wordpress 文章密码保护
  • 51-55 函数
  • 社交网站图片展示上门做网站公司哪家好
  • 请求头中传递错误信息
  • 安装使用IDEA完整过程(含maven,tomcat配置)
  • Vue3中的常用指令