Oracle RUR 安裝
資料庫版本:Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
RUR版本:p27872031_122010_Linux-x86-64.zip
1,解壓
[oracle@prod04 ~]$ unzip p27872031_122010_Linux-x86-64.zip
2,關閉資料庫
SQL> shu immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
3,安裝補丁
OPatch 軟體版本要求:(編號:p27872031_122010_Linux-x86-64)
You must use the OPatch utility version 12.2.0.1.12 or later to apply this patch.
3.1 備份原有Opatch
[oracle@prod04 ~]$ mv /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch20180806bak/
3.2 解壓新Opatch到 /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/
unzip p6880880_122010_Linux-x86-64.zip -d /u01/app/oracle/product/12.2.0/dbhome_1/
3.3 補丁安裝
[oracle@prod04 ~]$ cd 27872031/
[oracle@prod04 27872031]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatch apply
Oracle Interim Patch Installer version 12.2.0.1.14
Copyright (c) 2018, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/12.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/12.2.0/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.14
OUI version : 12.2.0.1.4
Log file location : /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-08-06_13-49-42PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 27872031
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/12.2.0/dbhome_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '27872031' to OH '/u01/app/oracle/product/12.2.0/dbhome_1'
ApplySession: Optional component(s) [ oracle.has.crs, 12.2.0.1.0 ] , [ oracle.ons.daemon, 12.2.0.1.0 ] , [ oracle.network.cman, 12.2.0.1.0 ] not present in the Oracle Home or a higher version is found.
Patching component oracle.rdbms.dv, 12.2.0.1.0...
Patching component oracle.ctx, 12.2.0.1.0...
Patching component oracle.rdbms.rman, 12.2.0.1.0...
Patching component oracle.rdbms, 12.2.0.1.0...
Patching component oracle.rdbms.rsf.ic, 12.2.0.1.0...
Patching component oracle.tfa, 12.2.0.1.0...
Patching component oracle.rdbms.oci, 12.2.0.1.0...
Patching component oracle.ctx.rsf, 12.2.0.1.0...
Patching component oracle.xdk.rsf, 12.2.0.1.0...
Patching component oracle.rdbms.lbac, 12.2.0.1.0...
Patching component oracle.precomp.common, 12.2.0.1.0...
Patching component oracle.precomp.lang, 12.2.0.1.0...
Patching component oracle.rdbms.rsf, 12.2.0.1.0...
Patching component oracle.has.deconfig, 12.2.0.1.0...
Patching component oracle.oracore.rsf, 12.2.0.1.0...
Patching component oracle.rdbms.deconfig, 12.2.0.1.0...
Patching component oracle.rdbms.dbscripts, 12.2.0.1.0...
Patching component oracle.nlsrtl.rsf, 12.2.0.1.0...
Patching component oracle.xdk.parser.java, 12.2.0.1.0...
Patching component oracle.rdbms.util, 12.2.0.1.0...
Patching component oracle.ons, 12.2.0.1.0...
Patching component oracle.xdk, 12.2.0.1.0...
Patching component oracle.network.rsf, 12.2.0.1.0...
Patching component oracle.rdbms.crs, 12.2.0.1.0...
Patching component oracle.sdo, 12.2.0.1.0...
Patch 27872031 successfully applied.
Sub-set patch [26123830] has become inactive due to the application of a super-set patch [27872031].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-08-06_13-49-42PM_1.log
OPatch succeeded.
4,啟動資料庫,應用補丁( Single/Multitenant (CDB/PDB) DB )
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1845493760 bytes
Fixed Size 8793976 bytes
Variable Size 704643208 bytes
Database Buffers 1124073472 bytes
Redo Buffers 7983104 bytes
Database mounted.
Database opened.
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB01 MOUNTED
SQL> alter pluggable database all open;
Pluggable database altered.
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB01 READ WRITE NO
[oracle@prod04 ~]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/datapatch -verbose
SQL Patching tool version 12.2.0.1.0 Production on Mon Aug 6 13:57:03 2018
Copyright (c) 2012, 2018, Oracle. All rights reserved.
Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_11670_2018_08_06_13_57_03/sqlpatch_invocation.log
Connecting to database...OK
Note: Datapatch will only apply or rollback SQL fixes for PDBs
that are in an open state, no patches will be applied to closed PDBs.
Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation
(Doc ID 1585822.1)
Bootstrapping registry and package to current versions...done
Determining current state...done
Current state of SQL patches:
Bundle series 12.2.0.1.180717DBJAN2018RUR:
ID 180717 in the binary registry and not installed in any PDB
Bundle series DBRU:
Not installed in the binary registry and ID 170718 in PDB CDB$ROOT, ID 170718 in PDB PDB$SEED, ID 170718 in PDB PDB01
Adding patches to installation queue and performing prereq checks...
Installation queue:
For the following PDBs: CDB$ROOT PDB$SEED PDB01
The following patches will be rolled back:
26123830 (DATABASE RELEASE UPDATE 12.2.0.1.170718)
The following patches will be applied:
27872031 (DATABASE JAN 2018 RELEASE UPDATE REVISION 12.2.0.1.180717)
Installing patches...
Patch installation complete. Total patches installed: 6
Validating logfiles...
Patch 26123830 rollback (pdb CDB$ROOT): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_rollback_CDB_CDBROOT_2018Aug06_13_57_43.log (no errors)
Patch 27872031 apply (pdb CDB$ROOT): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27872031/22311840/27872031_apply_CDB_CDBROOT_2018Aug06_13_57_45.log (no errors)
Patch 26123830 rollback (pdb PDB$SEED): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_rollback_CDB_PDBSEED_2018Aug06_13_59_35.log (no errors)
Patch 27872031 apply (pdb PDB$SEED): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27872031/22311840/27872031_apply_CDB_PDBSEED_2018Aug06_13_59_36.log (no errors)
Patch 26123830 rollback (pdb PDB01): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_rollback_CDB_PDB01_2018Aug06_13_59_35.log (no errors)
Patch 27872031 apply (pdb PDB01): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27872031/22311840/27872031_apply_CDB_PDB01_2018Aug06_13_59_36.log (no errors)
SQL Patching tool complete on Mon Aug 6 14:00:56 2018
5,安裝結果檢查
SQL> select patch_id,action,status,BUNDLE_SERIES from dba_registry_sqlpatch;
PATCH_ID ACTION STATUS BUNDLE_SERIES
---------- --------------- --------------- ------------------------------
26123830 APPLY SUCCESS DBRU
26123830 ROLLBACK SUCCESS DBRU
27872031 APPLY SUCCESS 12.2.0.1.180717DBJAN2018RUR
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20747382/viewspace-2199233/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 12.2.0.1 Grid RUR 安裝
- 12.2 Grid RUR 安裝
- Oracle RU RUROracle
- RU 和 RUR oracle補丁說明Oracle
- Oracle 12.2之後補丁RU RUR概要Oracle
- golang oracle 安裝GolangOracle
- Linux安裝oracleLinuxOracle
- oracle安裝配置Oracle
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- 「Oracle」Oracle 資料庫安裝Oracle資料庫
- oracle 19c 安裝、解除安裝Oracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- windows下oracle安裝WindowsOracle
- 安裝centOS版本oracleCentOSOracle
- Oracle GoldenGate安裝(一)OracleGo
- Oracle GoldenGate安裝(二)OracleGo
- Oracle GoldenGate安裝(三)OracleGo
- Oracle靜默安裝Oracle
- Docker中安裝OracleDockerOracle
- Oracle Payment Interface安裝Oracle
- oracleLinux下安裝oracleOracleLinux
- ubuntu下安裝oracleUbuntuOracle
- Oracle 12.2 OJVM安裝OracleJVM
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.3. Oracle net配置OracleLinux
- Docker-ORACLE11安裝DockerOracle
- ORACLE透明加密安裝操作Oracle加密
- Oracle 12C安裝Oracle
- 圖形化安裝OracleOracle
- 2 Oracle Data Guard 安裝Oracle
- Oracle OCP(35):Database 安裝OracleDatabase
- Oracle 客戶端安裝Oracle客戶端
- oracle之 11.2.0.4 bbed安裝Oracle
- Toad for Oracle 2020 安裝教程(附安裝方法步驟)Oracle
- Oracle Linux 6.5 安裝Oracle 10gR2LinuxOracle 10g
- Windows 安裝Oracle19CWindowsOracle
- Oracle 資料庫打包安裝Oracle資料庫
- Oracle 19c的安裝Oracle