It is a recommended new way to apply patches by using fleet maintenance in Enterprise Manager (EM) Cloud Control . Fleet maintenance uses the Out of Place Patching option. Also this can be done only via emcli verb and there is no GUI option available.
This post demonstrates how to apply the latest Release Update DB Apr 2020 Release Update 12.2.0.1.200414 and OJVM Apr 2020 Release Update 12.2.0.1.200414.
Environment:
RAC Database : RACTESTB
RAC Instances: RACTESTB1 / RACTESTB2
Current ORACLE_HOME: /u01/app/oracle/product/12.2.0/dbhome_1
Referenced ORACLE_HOME: /u01/app/oracle/product/12.2.0/dbhome_g
REF_TARGET_NAME : OraDB12c_Home1_g
New Out of Place ORACLE_HOME:/u01/app/oracle/product/12.2.0/dbhome_2
Subscribe to get access
Read more of this content when you subscribe today.
Check and Confirm RU and OJVM Applied into CDB/PDB
Check patches have been applied onto CDB.
SQL> connect / as sysdba
SQL> select PATCH_ID,VERSION,STATUS,ACTION,DESCRIPTION
from dba_registry_sqlpatch
where DESCRIPTION like '%12.2.0.1.200414%';
PATCH_ID VERSION STATUS ACTION DESCRIPTION
---------- --------- -------- ------- ------------------------------------------------
30805580 12.2.0.1 SUCCESS APPLY OJVM RELEASE UPDATE 12.2.0.1.200414
30886680 12.2.0.1 SUCCESS APPLY DATABASE APR 2020 RELEASE UPDATE 12.2.0.1.200414
Also confirm patches have been applied onto PDB.
SQL> alter session set container=RACTESTBPDB;
Session altered.
SQL> select PATCH_ID,VERSION,STATUS,ACTION,DESCRIPTION
from dba_registry_sqlpatch
where DESCRIPTION like '%12.2.0.1.200414%';
PATCH_ID VERSION STATUS ACTION DESCRIPTION
---------- --------- -------- ------- ------------------------------------------
30805580 12.2.0.1 SUCCESS APPLY OJVM RELEASE UPDATE 12.2.0.1.200414
30886680 12.2.0.1 SUCCESS APPLY DATABASE APR 2020 RELEASE UPDATE 12.2.0.1.200414
Check Cluster Database Configuration Updated with New Home
Oracle targets and cluster database are updated with new ORACLE_HOME accordingly.
[oracle@racnode1 ~]$ srvctl config database -d RACTESTB
Database unique name: RACTESTB
Database name: RACTESTB
Oracle home: /u01/app/oracle/product/12.2.0/dbhome_2
...
..
.