這篇文章主要介紹“Oracle 12.2 OJVM的安裝步驟”,在日常操作中,相信很多人在Oracle 12.2 OJVM的安裝步驟問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”Oracle 12.2 OJVM的安裝步驟”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!
成都創新互聯是一家專注于成都網站設計、成都網站建設、外貿網站建設與策劃設計,玉州網站建設哪家好?成都創新互聯做網站,專注于網站建設十多年,網設計領域的專業建站公司;建站業務涵蓋:玉州等地區。玉州做網站價格咨詢:18980820575
數據庫版本:Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
OJVM版本:p27923353_122010_Linux-x86-64.zip
1,解壓
2, OPatch utility version 12.2.0.1.7 or later to apply this patch.
[oracle@prod04 27923353]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatch version
OPatch Version: 12.2.0.1.14
OPatch succeeded.
3,關閉數據庫,關閉監聽
4,安裝補丁
[oracle@prod04 27923353]$ /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/opatch3018-08-06_14-16-40PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 27923353
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 '27923353' to OH '/u01/app/oracle/product/12.2.0/dbhome_1'
Patching component oracle.javavm.server, 12.2.0.1.0...
Patching component oracle.javavm.server.core, 12.2.0.1.0...
Patching component oracle.rdbms.dbscripts, 12.2.0.1.0...
Patching component oracle.javavm.client, 12.2.0.1.0...
Patching component oracle.rdbms, 12.2.0.1.0...
Patch 27923353 successfully applied.
Log file location: /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch3018-08-06_14-16-40PM_1.log
OPatch succeeded.
5,啟動數據庫,應用補?。⊿ingle/Multitenant (CDB/PDB) DB)
[oracle@prod04 27923353]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Mon Aug 6 14:26:28 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup upgrade
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> alter pluggable database all open upgrade;
Pluggable database altered.
SQL> exit
[oracle@prod04 27923353]$ /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 14:27:21 2018
Copyright (c) 2012, 2018, Oracle. All rights reserved.
Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_13904_2018_08_06_14_27_21/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:
Patch 27923353 (OJVM RELEASE UPDATE: 12.2.0.1.180717 (27923353)):
Installed in the binary registry only
Bundle series 12.2.0.1.180717DBJAN2018RUR:
ID 180717 in the binary registry and ID 180717 in PDB CDB$ROOT, ID 180717 in PDB PDB$SEED, ID 180717 in PDB PDB01
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:
27923353 (OJVM RELEASE UPDATE: 12.2.0.1.180717 (27923353))
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_14_27_48.log (no errors)
Patch 27923353 apply (pdb CDB$ROOT): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27923353/22237223/27923353_apply_CDB_CDBROOT_2018Aug06_14_27_49.log (no errors)
Patch 26123830 rollback (pdb PDB$SEED): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_rollback_CDB_PDBSEED_2018Aug06_14_29_09.log (no errors)
Patch 27923353 apply (pdb PDB$SEED): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27923353/22237223/27923353_apply_CDB_PDBSEED_2018Aug06_14_29_10.log (no errors)
Patch 26123830 rollback (pdb PDB01): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_rollback_CDB_PDB01_2018Aug06_14_29_09.log (no errors)
Patch 27923353 apply (pdb PDB01): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/27923353/22237223/27923353_apply_CDB_PDB01_2018Aug06_14_29_10.log (no errors)
SQL Patching tool complete on Mon Aug 6 14:30:07 2018
[oracle@prod04 27923353]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Mon Aug 6 14:36:34 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SQL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
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> 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
6,檢查補丁情況
SQL> select patch_id,action,status,BUNDLE_SERIES from dba_registry_sqlpatch;
到此,關于“Oracle 12.2 OJVM的安裝步驟”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續學習更多相關知識,請繼續關注創新互聯網站,小編會繼續努力為大家帶來更多實用的文章!
新聞標題:Oracle12.2OJVM的安裝步驟
分享路徑:http://vcdvsql.cn/article28/podijp.html
成都網站建設公司_創新互聯,為您提供動態網站、網站建設、商城網站、網站營銷、云服務器、App設計
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯