当前位置:网站首页>Oracle technology sharing Oracle 19.14 upgrade 19.15
Oracle technology sharing Oracle 19.14 upgrade 19.15
2022-06-26 03:52:00 【cqszpx】
System :CentOS7.9
Environmental Science :oracle 19.14 + rac
explain :1-9 Step both nodes need to be executed
1、 Backup directory
[[email protected] ~]# tar -zcvPf oraclebase.tar.gz /u01/app/oracle >/dev/null
[[email protected] ~]# tar -zcvPf oraInventory.tar.gz /u01/app/oraInventory >/dev/null
[[email protected] ~]# tar -zcvPf gridbase.tar.gz /u01/app/grid >/dev/null
[[email protected] ~]# tar -zcvPf gridhome.tar.gz /u01/app/11.2.0/grid >/dev/null
2、 install OPatch
explain :19.15 DB Of RU The number is :33806152,GI Of RU The number is :33803476,OPatch Version at least 12.2.0.1.29
sftp> cd /tmp
sftp> lcd F:\installmedium\19c\19.15
sftp> put
p6880880_190000_Linux-x86-64.zip
[[email protected]:/tmp]$ unzip -q -o
p6880880_190000_Linux-x86-64.zip -d $ORACLE_HOME
[[email protected]:/tmp]$ unzip -q -o
p6880880_190000_Linux-x86-64.zip -d $ORACLE_HOME
[[email protected] tmp]$ opatch version
OPatch Version: 12.2.0.1.30
OPatch succeeded.
[[email protected] tmp]$ opatch version
OPatch Version: 12.2.0.1.30
OPatch succeeded.
3、 verification Oracle Inventory
Check DB Home and Grid Home The consistency of patches in the patch list .
[[email protected]:/home/grid]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $ORACLE_HOME
[[email protected]:/home/oracle]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $ORACLE_HOME
4、 Download and unzip Patch
[[email protected] /]# mkdir /upgrade
[[email protected] /]# chown -R grid:oinstall /upgrade
sftp> lcd F:\installmedium\19c\19.15
sftp> cd /home/grid
sftp> put
p33803476_190000_Linux-x86-64.zip
[[email protected] ~]$ unzip -q
p33803476_190000_Linux-x86-64.zip -d /upgrade
5、 function opatch Conflict check
Determine whether the currently installed one-time patch matches this patch 33803476 Conflict
grid user :
% $ORACLE_HOME/OPatch/opatch prereq
CheckConflictAgainstOHWithDetail -phBaseDir /upgrade/33803476/33806152
% $ORACLE_HOME/OPatch/opatch prereq
CheckConflictAgainstOHWithDetail -phBaseDir /upgrade/33803476/33815596
% $ORACLE_HOME/OPatch/opatch prereq
CheckConflictAgainstOHWithDetail -phBaseDir /upgrade/33803476/33815607
% $ORACLE_HOME/OPatch/opatch prereq
CheckConflictAgainstOHWithDetail -phBaseDir /upgrade/33803476/33911149
% $ORACLE_HOME/OPatch/opatch prereq
CheckConflictAgainstOHWithDetail -phBaseDir /upgrade/33803476/33575402
oracle user :
% $ORACLE_HOME/OPatch/opatch prereq
CheckConflictAgainstOHWithDetail -phBaseDir /upgrade/33803476/33806152
% $ORACLE_HOME/OPatch/opatch prereq
CheckConflictAgainstOHWithDetail -phBaseDir /upgrade/33803476/33815596
6、 function OPatch Check system space
Check ORACLE_HOME Whether the file system has enough free space , In order to apply the patch :
6.1、grid user
[[email protected]:/home/grid]$ vi
/tmp/patch_lists_gihome.txt
/upgrade/33803476/33806152
/upgrade/33803476/33815596
/upgrade/33803476/33815607
/upgrade/33803476/33911149
/upgrade/33803476/33575402
Run the following command to check Grid Infrastructure home Is there enough space .
[[email protected]:/home/grid]$ $ORACLE_HOME/OPatch/opatch prereq CheckSystemSpace -phBaseFile
/tmp/patch_lists_gihome.txt
6.2、oracle user
[[email protected]:/home/oracle]$ vi
/tmp/patch_lists_dbhome.txt
/upgrade/33803476/33806152
/upgrade/33803476/33815596
Run the following command to check oracle home Is there enough space .
[[email protected]:/home/oracle]$ $ORACLE_HOME/OPatch/opatch prereq CheckSystemSpace -phBaseFile
/tmp/patch_list_dbhome.txt
7、 One time patch conflict detection and resolution
[[email protected] ~]#
/u01/app/19.3.0/grid/OPatch/opatchauto apply /upgrade/33803476 -analyze
[[email protected] ~]#
/u01/app/19.3.0/grid/OPatch/opatchauto rollback /upgrade/33803476 -analyze
8、 Automatic patch installation
[[email protected] ~]# export PATH=$
PATH:/u01/app/19.3.0/grid/OPatch ( explain :/u01/app/19.3.0/grid by GRID_HOME)
[[email protected] ~]# opatchauto apply /upgrade/33803476
9、 Check grid Patch
[[email protected] ~]$ opatch lspatches
33911149;TOMCAT RELEASE UPDATE 19.0.0.0.0 (33911149)
33815607;ACFS RELEASE UPDATE 19.15.0.0.0 (33815607)
33815596;OCW RELEASE UPDATE 19.15.0.0.0 (33815596)
33806152;Database Release Update : 19.15.0.0.220419 (33806152)
33575402;DBWLM RELEASE UPDATE 19.0.0.0.0 (33575402)
OPatch succeeded.
[[email protected] ~]$ sqlplus -version
SQL*Plus: Release 19.0.0.0.0 - Production
Version 19.15.0.0.0
10、 load SQL
explain : This step is for loading changes SQL To the database ,RAC The environment only needs to be on the node 1 perform .
[[email protected]
hisdb1:/u01/app/oracle/product/19.3.0/db/OPatch]$ ./datapatch -verbose
11、 Processing invalid objects
Because before datapatch The command will load SQL, This process may result in invalid objects , node 1 perform @utlrp.sql Script processing invalid object
SQL> @?/rdbms/admin/utlrp.sql

边栏推荐
- go time包:秒、毫秒、纳秒时间戳输出
- Open Camera异常分析(一)
- Non H5 end of uni app, regional setting of status bar on the top of mobile phone
- Contains an object field at offset position
- Android gap animation translate, scale, alpha, rotate
- 而是互联网开始有了新的进化,开始以一种全新的状态出现
- mysql存儲過程
- MySQL高级部分( 四: 锁机制、SQL优化 )
- 链路监控 pinpoint
- ABP framework
猜你喜欢

Flask入门

Restful API interface design standards and specifications

Camera-memory内存泄漏分析(二)

The style of the mall can also change a lot. DIY can learn about it
![[Flink] Flink source code analysis - creation of jobgraph in batch mode](/img/8e/1190eec23169a4d2a06e1b03154d4f.jpg)
[Flink] Flink source code analysis - creation of jobgraph in batch mode

Uni app custom navigation bar component
![[MySQL] MySQL export database](/img/e3/1aa31760dc5447b7c3c0d942644116.jpg)
[MySQL] MySQL export database
![MySQL advanced Chapter 1 (installing MySQL under Linux) [2]](/img/24/0795ebd2a0673d48c5e0f9d18842d1.png)
MySQL advanced Chapter 1 (installing MySQL under Linux) [2]

面了个字节拿25k出来的测试,算是真正见识到了基础的天花板

Classic model - Nin & googlenet
随机推荐
Is the compass app regular? Is it safe or not
智能制造学习记录片和书籍
ABP framework
xml 解析bean工具类
I/O 虚拟化技术 — VFIO
外包干了四年,人直接废了。。。
YOLOv5改进:更换骨干网(Backbone)
Uni app Baidu cloud realizes OCR ID card recognition
Procédures stockées MySQL
What's wrong with connecting MySQL database with eclipse and then the words in the figure appear
Analysis of camera memory memory leakage (II)
Android gap animation translate, scale, alpha, rotate
An error occurred using the connection to database 'on server' 10.28.253.2‘
Uni app QR code scanning and identification function
matplotlib多条折线图,点散图
在出海获客这件事上,数字广告投放之外,广告主还能怎么玩儿?
View of MySQL
After Ali failed to start his job in the interview, he was roast by the interviewer in the circle of friends (plug)
Introduction of mybatis invalid
用eclipse连mysql数据库出错然后出现图中的话是咋回事呀