2017. 5. 26. 12:57 오라클
Database Proactive Bundle Patch 12.2.0.1.170516 적용테스트
2016. 6.12 현재 무슨 이유에서 인지 공개적으로 Download 가 되지 않는다. 내부 Internal 버전이었던듯...빛의 속도로 삭제되었다.
12.2..0.1 용 DBBP 최초 버전이 나왔다. 아직 정식버전은 아니거 같고 7월 공식 Release 날짜에 안정적인 버전이 나올듯..
Patch 25793908 - Database Proactive Bundle Patch 12.2.0.1.170516
적용 테스트
[oracle:/home/oracle]#opatch version
OPatch Version: 12.2.0.1.9
[oracle:/home/oracle]#unzip p25793908_122010_Linux-x86-64.zip
cd /home/oracle/25793908/25862693
[oracle:/home/oracle/25793908/25862693]#opatch apply -local
Oracle Interim Patch Installer version 12.2.0.1.9
Copyright (c) 2017, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/product/12.2.0.1
Central Inventory : /oracle/oraInventory
from : /oracle/product/12.2.0.1/oraInst.loc
OPatch version : 12.2.0.1.9
OUI version : 12.2.0.1.4
Log file location : /oracle/product/12.2.0.1/cfgtoollogs/opatch/opatch2017-05-26_12-42-03PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 25862693
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 = '/oracle/product/12.2.0.1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '25862693' to OH '/oracle/product/12.2.0.1'
Patching component oracle.oracore.rsf, 12.2.0.1.0...
Patching component oracle.rdbms.deconfig, 12.2.0.1.0...
Patching component oracle.ctx, 12.2.0.1.0...
Patching component oracle.rdbms.rsf, 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.dbscripts, 12.2.0.1.0...
Patch 25862693 successfully applied.
Log file location: /oracle/product/12.2.0.1/cfgtoollogs/opatch/opatch2017-05-26_12-42-03PM_1.log
OPatch succeeded.
[oracle:/home/oracle/25793908/25862693]#opatch lsinv
Oracle Interim Patch Installer version 12.2.0.1.9
Copyright (c) 2017, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/product/12.2.0.1
Central Inventory : /oracle/oraInventory
from : /oracle/product/12.2.0.1/oraInst.loc
OPatch version : 12.2.0.1.9
OUI version : 12.2.0.1.4
Log file location : /oracle/product/12.2.0.1/cfgtoollogs/opatch/opatch2017-05-26_12-43-59PM_1.log
Lsinventory Output file location : /oracle/product/12.2.0.1/cfgtoollogs/opatch/lsinv/lsinventory2017-05-26_12-43-59PM.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: 12c
ARU platform id: 226
ARU platform description:: Linux x86-64
Installed Top-level Products (1):
Oracle Database 12c 12.2.0.1.0
There are 1 products installed in this Oracle Home.
Interim patches (1) :
Patch 25862693 : applied on Fri May 26 12:42:24 KST 2017
Unique Patch ID: 21259009
Patch description: "DATABASE BUNDLE PATCH: 12.2.0.1.170516 (25862693)"
Created on 9 May 2017, 00:04:41 hrs PST8PDT
Bugs fixed:
23026585, 24336249, 24929210, 24942749, 25036474, 25110233, 25410877
25417050, 25427662, 25459958, 25547901, 25569149, 25600342, 25600421
25606091, 25655390, 25662088, 24385983, 24923215, 25099758, 25429959
25662101, 25728085, 25823754
--------------------------------------------------------------------------------
OPatch succeeded.
[oracle:/home/oracle/25793908/25862693]#sqlplus /nolog
SQL*Plus: Release 12.2.0.1.0 Production on Fri May 26 12:44:24 2017
Copyright (c) 1982, 2016, Oracle. All rights reserved.
idle> connect / as sysdba
Connected to an idle instance.
idle> startup
ORACLE instance started.
Total System Global Area 1660944384 bytes
Fixed Size 8621376 bytes
Variable Size 1056965312 bytes
Database Buffers 587202560 bytes
Redo Buffers 8155136 bytes
Database mounted.
Database opened.
idle> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
[oracle:/home/oracle/25793908/25862693]#cd
[oracle:/home/oracle]#cdo
[oracle:/oracle/product/12.2.0.1]#cd OPatch
[oracle:/oracle/product/12.2.0.1/OPatch]#ls
README.txt datapatch emdpatch.pl modules opatch.bat opatchauto operr oplan scripts
auto datapatch.bat jlib ocm opatch.pl opatchauto.cmd operr.bat oracle_common version.txt
config docs jre opatch opatch_env.sh opatchprereqs operr_readme.txt plugins
[oracle:/oracle/product/12.2.0.1/OPatch]#./datapatch -verbose
SQL Patching tool version 12.2.0.1.0 Production on Fri May 26 12:45:15 2017
Copyright (c) 2012, 2017, Oracle. All rights reserved.
Log file for this invocation: /oracle/cfgtoollogs/sqlpatch/sqlpatch_3678_2017_05_26_12_45_15/sqlpatch_invocation.log
Connecting to database...OK
Bootstrapping registry and package to current versions...done
Determining current state...done
Current state of SQL patches:
Bundle series DBBP:
ID 170516 in the binary registry and not installed in the SQL registry
Adding patches to installation queue and performing prereq checks...
Installation queue:
Nothing to roll back
The following patches will be applied:
25862693 (DATABASE BUNDLE PATCH 12.2.0.1.170516)
Installing patches...
Patch installation complete. Total patches installed: 1
Validating logfiles...
Patch 25862693 apply: SUCCESS
logfile: /oracle/cfgtoollogs/sqlpatch/25862693/21259009/25862693_apply_ORA12_2017May26_12_45_24.log (no errors)
SQL Patching tool complete on Fri May 26 12:45:42 2017
[oracle:/oracle/product/12.2.0.1/OPatch]#ss
SQL*Plus: Release 12.2.0.1.0 Production on Fri May 26 12:47:44 2017
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SET LINESIZE 200
SET LINESIZE 400
COLUMN action_time FORMAT A20
COLUMN action FORMAT A10
COLUMN status FORMAT A10
COLUMN description FORMAT A40
COLUMN version FORMAT A10
COLUMN bundle_series FORMAT A10
SELECT TO_CHAR(action_time, 'DD-MON-YYYY HH24:MI:SS') AS action_time, action, status, description, version, patch_id, bundle_series FROM sys.dba_registry_sqlpatch ORDER by action_time;
ACTION_TIME ACTION STATUS DESCRIPTION VERSION PATCH_ID BUNDLE_SER
-------------------- ---------- ---------- ---------------------------------------- ---------- ---------- ----------
26-MAY-2017 12:45:42 APPLY SUCCESS DATABASE BUNDLE PATCH 12.2.0.1.170516 12.2.0.1 25862693 DBBP