Patches to apply before upgrading Oracle GI and DB to 12.2.0.1 (Doc ID 2180188.1)
GI PSU 22646198 11.2.0.4.160419 (Apr 2016) Grid Infrastructure Patch Set Update (GI PSU) Recommended to install latest* 11.2.0.4 GI PSU
Patch Set Update and Critical Patch Update July 2017 Availability Document (Doc ID 2261562.1)
OPatch utility version 11.2.0.3.6 or later -------------------------------------------------------------------------------- Patch 26030799 - Oracle Grid Infrastructure Patch Set Update 11.2.0.4.170718 (Jul2017) (Includes Database PSU 11.2.0.4.170718) -------------------------------------------------------------------------------- 25869727 DB PSU 11.2.0.4.170718 (INCLUDES CPUJUL2017) Both DB Homes and Grid Home 25920335 OCW PSU 11.2.0.4.170718 Both DB Homes and Grid Home 22502505 ACFS PSU 11.2.0.4.160419 Only Grid Home -------------------------------------------------------------------------------- Patch 26027154 - Oracle JavaVM Component 11.2.0.4.170718 Database PSU -------------------------------------------------------------------------------- Oracle JavaVM Component 11.2.0.4.170718 Database PSU ==================================================================================================== Oracle Recommended Patches -- "Oracle JavaVM Component Database PSU and RU" (OJVM PSU and OJVM RU) Patches (Doc ID 1929745.1) ==================================================================================================== Jul 2016 - present (12.1.0.1, 11.2.0.4) Database Home - OJVM PSU (Jul 2016 - present) Grid Home - JDBC Patch (Jul 2016) Oracle JavaVM Component 11.2.0.4.160719 Database PSU - Generic JDBC Patch 23727132
GRID PSU
[oracle@db-asm-1 dinh]$ . oraenv <<< +ASM
ORACLE_SID = [orclcdb] ? The Oracle base remains unchanged with value /u01/app/oracle
[oracle@db-asm-1 dinh]$ echo $ORACLE_HOME
/u01/app/oracle/11.2.0.4/grid
[oracle@db-asm-1 dinh]$ export GRID_HOME=$ORACLE_HOME
[oracle@db-asm-1 dinh]$ $GRID_HOME/OPatch/opatch lspatches
23727132;
22502505;ACFS Patch Set Update : 11.2.0.4.160419 (22502505)
25920335;OCW Patch Set Update : 11.2.0.4.170718 (25920335)
25869727;Database Patch Set Update : 11.2.0.4.170718 (25869727)
OPatch succeeded.
[oracle@db-asm-1 dinh]$ crsctl config has
CRS-4622: Oracle High Availability Services autostart is enabled.
[oracle@db-asm-1 dinh]$ crsctl check has
CRS-4638: Oracle High Availability Services is online
[oracle@db-asm-1 dinh]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
ONLINE ONLINE db-asm-1
ora.DATA.dg
ONLINE ONLINE db-asm-1
ora.FRA.dg
ONLINE ONLINE db-asm-1
ora.LISTENER.lsnr
ONLINE ONLINE db-asm-1
ora.asm
ONLINE ONLINE db-asm-1 Started
ora.ons
OFFLINE OFFLINE db-asm-1
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
1 ONLINE ONLINE db-asm-1
ora.diskmon
1 OFFLINE OFFLINE
ora.evmd
1 ONLINE ONLINE db-asm-1
ora.orclcdb.db
1 ONLINE ONLINE db-asm-1 Open
[oracle@db-asm-1 dinh]$ asmcmd lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 4194304 10236 10148 0 10148 0 N CRS/
MOUNTED EXTERN N 512 4096 4194304 20472 18612 0 18612 0 N DATA/
MOUNTED EXTERN N 512 4096 4194304 30708 30264 0 30264 0 N FRA/
DB PSU
[oracle@db-asm-1 dinh]$ . oraenv <<< orclcdb
ORACLE_SID = [+ASM] ? The Oracle base remains unchanged with value /u01/app/oracle
[oracle@db-asm-1 dinh]$ echo $ORACLE_HOME
/u01/app/oracle/11.2.0.4/db1
[oracle@db-asm-1 dinh]$ $ORACLE_HOME/OPatch/opatch lspatches
26027154;OJVM PATCH SET UPDATE 11.2.0.4.170718
25920335;OCW Patch Set Update : 11.2.0.4.170718 (25920335)
25869727;Database Patch Set Update : 11.2.0.4.170718 (25869727)
OPatch succeeded.
[oracle@db-asm-1 dinh]$ srvctl config database
orclcdb
[oracle@db-asm-1 dinh]$ srvctl status database -d orclcdb
Database is running.
[oracle@db-asm-1 dinh]$ sqlplus / as sysdba @ dba_registry.sql
SQL*Plus: Release 11.2.0.4.0 Production on Sun Oct 8 22:22:49 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Session altered.
NAME COMP_ID COMP_NAME VERSION SCHEMA STATUS
---------- ------------ ---------------------------------------- ------------------------------ --------------- ------------
ORCLCDB OWB OWB 11.2.0.4.0 OWBSYS VALID
ORCLCDB APEX Oracle Application Express 3.2.1.00.12 APEX_030200 VALID
ORCLCDB EM Oracle Enterprise Manager 11.2.0.4.0 SYSMAN VALID
ORCLCDB SDO Spatial 11.2.0.4.0 MDSYS VALID
ORCLCDB AMD OLAP Catalog 11.2.0.4.0 OLAPSYS VALID
ORCLCDB XOQ Oracle OLAP API 11.2.0.4.0 SYS VALID
ORCLCDB APS OLAP Analytic Workspace 11.2.0.4.0 SYS VALID
ORCLCDB ORDIM Oracle Multimedia 11.2.0.4.0 ORDSYS VALID
ORCLCDB RUL Oracle Rules Manager 11.2.0.4.0 EXFSYS VALID
ORCLCDB XDB Oracle XML Database 11.2.0.4.0 XDB VALID
ORCLCDB CONTEXT Oracle Text 11.2.0.4.0 CTXSYS VALID
ORCLCDB EXF Oracle Expression Filter 11.2.0.4.0 EXFSYS VALID
ORCLCDB CATJAVA Oracle Database Java Packages 11.2.0.4.0 SYS VALID
ORCLCDB XML Oracle XDK 11.2.0.4.0 SYS VALID
ORCLCDB JAVAVM JServer JAVA Virtual Machine 11.2.0.4.0 SYS VALID
ORCLCDB OWM Oracle Workspace Manager 11.2.0.4.0 WMSYS VALID
ORCLCDB CATPROC Oracle Database Packages and Types 11.2.0.4.0 SYS VALID
ORCLCDB CATALOG Oracle Database Catalog Views 11.2.0.4.0 SYS VALID
18 rows selected.
ACTION_TIME ACTION NAMESPACE VERSION ID COMMENTS BUNDLE_SER
------------------------------ --------------- --------------- ------------------------------ ---------- ------------------------------ ----------
08-OCT-17 09.57.45.178375 PM APPLY 26027154 Patch 26027154 applied
08-OCT-17 09.57.45.172250 PM APPLY SERVER 11.2.0.4.170718OJVMPSU 0 OJVM PSU post-install
08-OCT-17 09.57.45.095287 PM jvmpsu.sql SERVER 11.2.0.4.170718OJVMPSU 0 RAN jvmpsu.sql
08-OCT-17 09.42.07.465250 PM APPLY SERVER 11.2.0.4 170718 PSU 11.2.0.4.170718 PSU
08-OCT-17 05.16.54.900094 PM APPLY SERVER 11.2.0.4 0 Patchset 11.2.0.2.0 PSU
24-AUG-13 12.03.45.119862 PM APPLY SERVER 11.2.0.4 0 Patchset 11.2.0.2.0 PSU
6 rows selected.
22:22:49 SYS @ orclcdb:>exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
[oracle@db-asm-1 dinh]$
