執(zhí)行前檢查(兩邊都檢查)
[grid@rac1 ~]$ crsctl query crs softwareversion
Oracle Clusterware version on node [rac1] is [19.0.0.0.0]
[grid@rac1 ~]$ crsctl query crs releaseversion
Oracle High Availability Services release version on the local node is [19.0.0.0.0]
[grid@rac1 ~]$ crsctl query crs releaseversion
Oracle High Availability Services release version on the local node is [19.0.0.0.0]
[grid@rac1 OPatch]$ ./opatch lspatches
29585399;OCW RELEASE UPDATE 19.3.0.0.0 (29585399)
29517247;ACFS RELEASE UPDATE 19.3.0.0.0 (29517247)
29517242;Database Release Update : 19.3.0.0.190416 (29517242)
29401763;TOMCAT RELEASE UPDATE 19.0.0.0.0 (29401763)
OPatch succeeded.
[grid@rac1 OPatch]$ ./opatch version
OPatch Version: 12.2.0.1.17
更新OPatch版本
[root@rac1 software]# chown grid:oinstall p6880880_210000_Linux-x86-64.zip
[grid@rac1 software]$ unzip p6880880_210000_Linux-x86-64.zip
[grid@rac1 grid]$ echo $ORACLE_HOME
/u01/app/19.3.0/grid
[root@rac1 grid]# mv OPatch OPatch.bak
[root@rac1 software]# cp -rp OPatch /u01/app/19.3.0/grid/
[grid@rac1 OPatch]$ ./opatch version
OPatch Version: 12.2.0.1.25
OPatch succeeded.
驗證oracle inventory有效性
[grid@rac1 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $ORACLE_HOME
[oracle@rac1 ~]$ $ORACLE_HOME/OPatch/opatch lsinventory -detail -oh $ORACLE_HOME
檢查patch是否存在沖突
[grid@rac1 software]$ ll
total 2789536
drwxr-x--- 15 oracle oinstall 4096 Apr 20 02:45 OPatch
-rw-r--r-- 1 root root 2734496202 Aug 2 23:20 p32895426_190000_Linux-x86-64.zip
-rwxrwxrwx 1 oracle oinstall 121981878 Aug 3 00:19 p6880880_210000_Linux-x86-64.zip
[grid@rac1 software]$ unzip p32895426_190000_Linux-x86-64.zip
chown grid:oinstall /u01/software/32895426 -R
chmod 777 /u01/software/32895426 -R
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/software/32895426/32904851
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/software/32895426/32916816
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/software/32895426/32915586
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/software/32895426/32918050
chown oracle:oinstall /u01/software/32895426 -R
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/software/32895426/32904851
$ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /u01/software/32895426/32916816
系統(tǒng)空間檢查
實際opatch前的opatch分析
/u01/app/19.3.0/grid/OPatch/opatchauto apply /u01/software/32895426 -analyze
/u01/app/19.3.0/grid/OPatch/opatchauto apply /u01/software/32895426 –analyze
打gi補丁
chmod 777 /u01/app/oraInventory/ContentsXML/oui-patch.xml
chmod 777 /u01/app/19.3.0/grid/crs/install/cmdllroot.sh
chmod 777 /etc/oracleafd.conf
chown grid:oinstall /etc/oracleafd.conf
chown grid:oinstall /u01/app/19.3.0/grid/crs/install/cmdllroot.sh
[root@rac1 ~]# export PATH=$PATH:/u01/app/19.3.0/grid/OPatch
[root@rac1 ~]# chown grid:oinstall /u01/software/32895426 -R
[root@rac1 ~]# chmod 777 /u01/software/32895426 -R
[root@rac1 ~]# opatchauto apply /u01/software/32895426 -oh /u01/app/19.3.0/grid
打db補丁
chown oracle:oinstall /u01/software/32895426 -R
chmod 777 /u01/software/32895426 -R
[root@rac1 ~]# export PATH=$PATH:/u01/app/oracle/product/19.3.0/db_1 [root@rac1 ~]#
/u01/app/oracle/product/19.3.0/db_1/OPatch/opatchauto apply /u01/software/32895426 -oh
/u01/app/oracle/product/19.3.0/db_1
升級數(shù)據(jù)字典,編譯無效對象
sqlplus /nolog
SQL> Connect / as sysdba
SQL> startup
SQL> alter pluggable database all open;
SQL> quit
cd $ORACLE_HOME/OPatch
./datapatch -verbose
分享
收藏
點贊
在看
文章版權歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。
轉(zhuǎn)載請注明本文地址:http://specialneedsforspecialkids.com/yun/129669.html
摘要:漏洞報告最近收到安全部門的安全掃描報告。遠程攻擊者可利用該漏洞獲取敏感信息或造成拒絕服務。廠商補丁目前廠商已發(fā)布升級補丁以修復漏洞,補丁獲取鏈接一個高危漏洞,趕緊網(wǎng)上查詢下資料這準備修復。 漏洞報告 最近收到安全部門的安全掃描報告。內(nèi)容如下: nginx 安全漏洞(CVE-2018-16845) 中危 nginx類 nginx是由俄羅斯的程序設計師Igor Sysoe...
閱讀 1346·2023-01-11 13:20
閱讀 1684·2023-01-11 13:20
閱讀 1132·2023-01-11 13:20
閱讀 1858·2023-01-11 13:20
閱讀 4100·2023-01-11 13:20
閱讀 2704·2023-01-11 13:20
閱讀 1385·2023-01-11 13:20
閱讀 3597·2023-01-11 13:20