補丁集PSU、Bundle Patch大致安裝步驟
PSU是linux下的說法
Bundle Patch是windows下的說法
dataguard 備機的話只需要下面1、4和5中opatch apply這一個步驟
1.升級OPatch軟體
cd $ORACLE_HOME;
mv OPatch OPatch.old;
unzip p6880880_112000_Linux-x86-64.zip
$ORACLE_HOME/OPatch/opatch version
2.整庫備份
3.備份失效物件
cd $ORACLE_HOME/rdbms/admin
sqlplus>@utlrp.sql
sqlplus>create table invalid_20170101 as select * from dba_objects where status<>'VALID'
4.關閉監聽和資料庫(如果有standby庫,把standby庫也關閉,打完補丁啟動成功後再去打standby庫)
lsnrctl stop listenername
sqlplus>shutdown immediate
5.打補丁
cd 24006111
$ORACLE_HOME/OPatch/opatch apply
cd $ORACLE_HOME/rdbms/admin
sqlplus / as sysdba
sqlplus>startup
sqlplus>@catbundle.sql psu apply
sqlplus>@utlrp.sql
官方文件提供的windows的步驟
Perform a clean shutdown of all (databases, Oracle listeners, Oracle agents, and so on.) that run from the Oracle Home where you install this patch.
Stop all Oracle services, Recovery catalog, ODBC applications, and other applications that use Oracle Client. This may include Web servers that load the Oracle client in the mid-tier environment
net stop msdtc
set PATH=%ORACLE_HOME%\perl\bin;%PATH%
Shut down all instances and listeners associated with the Oracle home that you are updating
unzip p24922870_112040_.zip
cd 24922870
opatch apply
cd %ORACLE_HOME%\rdbms\admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql PSU apply
SQL> QUIT
官方文件提供的linux的步驟
If you are using a Data Guard Physical Standby database, you must install this patch on both the primary database and the physical standby database
If this is not a Oracle RAC environment, shut down all instances and listeners associated with the Oracle home that you are updating
unzip p24006111_112040_.zip
cd 24006111
opatch apply
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT
6.啟動監聽和檢查
lsnrctl start listenername
$ORACLE_HOME/OPatch/opatch version
$ORACLE_HOME/OPatch/opatch lsinventory
打補丁過程不報錯
打完補丁後再檢視失效物件,看是否和之前備份的表中記錄一致
Bundle Patch是windows下的說法
dataguard 備機的話只需要下面1、4和5中opatch apply這一個步驟
1.升級OPatch軟體
cd $ORACLE_HOME;
mv OPatch OPatch.old;
unzip p6880880_112000_Linux-x86-64.zip
$ORACLE_HOME/OPatch/opatch version
2.整庫備份
3.備份失效物件
cd $ORACLE_HOME/rdbms/admin
sqlplus>@utlrp.sql
sqlplus>create table invalid_20170101 as select * from dba_objects where status<>'VALID'
4.關閉監聽和資料庫(如果有standby庫,把standby庫也關閉,打完補丁啟動成功後再去打standby庫)
lsnrctl stop listenername
sqlplus>shutdown immediate
5.打補丁
cd 24006111
$ORACLE_HOME/OPatch/opatch apply
cd $ORACLE_HOME/rdbms/admin
sqlplus / as sysdba
sqlplus>startup
sqlplus>@catbundle.sql psu apply
sqlplus>@utlrp.sql
官方文件提供的windows的步驟
Perform a clean shutdown of all (databases, Oracle listeners, Oracle agents, and so on.) that run from the Oracle Home where you install this patch.
Stop all Oracle services, Recovery catalog, ODBC applications, and other applications that use Oracle Client. This may include Web servers that load the Oracle client in the mid-tier environment
net stop msdtc
set PATH=%ORACLE_HOME%\perl\bin;%PATH%
Shut down all instances and listeners associated with the Oracle home that you are updating
unzip p24922870_112040_.zip
cd 24922870
opatch apply
cd %ORACLE_HOME%\rdbms\admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql PSU apply
SQL> QUIT
官方文件提供的linux的步驟
If you are using a Data Guard Physical Standby database, you must install this patch on both the primary database and the physical standby database
If this is not a Oracle RAC environment, shut down all instances and listeners associated with the Oracle home that you are updating
unzip p24006111_112040_.zip
cd 24006111
opatch apply
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT
6.啟動監聽和檢查
lsnrctl start listenername
$ORACLE_HOME/OPatch/opatch version
$ORACLE_HOME/OPatch/opatch lsinventory
打補丁過程不報錯
打完補丁後再檢視失效物件,看是否和之前備份的表中記錄一致
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30126024/viewspace-2133752/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於Oracle Database PSU/SPU/Bundle Patch的補丁號的變化OracleDatabase
- Oracle Database常用補丁集Patch號及各版本PSUOracleDatabase
- 關於 Oracle 資料庫 PSU/SPU/Bundle Patch的補丁號變化Oracle資料庫
- zt_oracle psu_cpu_bundle補丁patch升級upgrade相關概念Oracle
- Oracle資料庫PSU補丁安裝Oracle資料庫
- PSU補丁安裝不全的問題
- 【RAC】在所有節點上滾動安裝BUNDLE Patch for Base Bug 9413827補丁包
- Oracle補丁集的補丁號Patch ID/Number速查Oracle
- [Oracle] CPU/PSU補丁安裝詳細教程Oracle
- Oracle 11.2.0.4 RAC安裝最新PSU補丁Oracle
- Oracle PSU (Patch Set Update)- 10g補丁列表及如何檢視補丁Oracle
- 【UP_ORACLE】如何給Oracle DG打補丁(二)備庫安裝補丁步驟Oracle
- 【UP_ORACLE】如何給Oracle DG打補丁(三)主庫安裝補丁步驟Oracle
- Oracle Database常用補丁集Patch號OracleDatabase
- 怎麼樣安裝AIX 補丁或者補丁集AI
- Oracle DG/ADG上CPU/PSU補丁安裝Oracle
- win10更新補丁解除安裝怎麼操作_解除安裝win10更新補丁詳細步驟Win10
- Oracle 11g RAC 環境打PSU補丁的詳細步驟Oracle
- Oracle補丁術語介紹 PSU CPU補丁Oracle
- win10安裝KB4565483補丁失敗怎麼回事_win10 KB4565483補丁安裝失敗解決步驟Win10
- Oracle 安裝補丁Oracle
- 資料庫 PSU,SPU(CPU),Bundle Patches 和 Patchsets 補丁號碼快速參考資料庫
- SAP 補丁升級步驟詳解 (轉)
- oracle patch補丁型別typeOracle型別
- 經歷Oracle patch 5496862補丁Oracle
- oracle 資料庫 PSU,SPU(CPU),Bundle Patches 和 Patchsets 補丁號碼快速參考Oracle資料庫
- oracle安裝介質及補丁集下載地址Oracle
- vnc安裝步驟,vnc安裝步驟詳解VNC
- oracle cpu(critical patch update)關鍵補丁更新集_官方網址Oracle
- OJVM+GI PSU補丁升級JVM
- Patch Numbers for Database PSU, SPU(CPU), Bundle Patches and Patchsets_1454618.1Database
- 老託的Oracle 資料庫Patch概念性小常識 PSU,CPU,bundle patchOracle資料庫
- weblogic 12 補丁安裝Web
- oracle安裝補丁失敗Oracle
- was6.1補丁包安裝
- PSU簡介和11.2.0.2.9 PSU補丁操作日誌
- AIX 5.3下 升級補丁到10.2.0.5步驟AI
- 活用 git apply 合入 patch 補丁GitAPP