Skip to main content

Patching the OPatch utility(Upgrading Opatch Utility)



Check current version of OPatch –
[oraprod@stage 12.1.0.2]$ cd OPatch
[oraprod@stage OPatch]$ ./opatch version
OPatch Version: 12.2.0.1.3

OPatch succeeded.
[oraprod@stage OPatch]$


Latest OPatch can be downloaded using patch id –
6880880


/data/prod/apps12/db/tech_st/sw/12cr1/post_12c_db_recommended_patches/latest_opatch


Copy latest opatch zip file to 12cr1 $OH
[oraprod@stage OPatch_old_18dec2017]$ cp p6880880_121010_Linux-x86-64.zip /data/prod/apps12/db/tech_st/db/12.1.0.2/

Rename current OPatch folder to old one –
[oraprod@stage 12.1.0.2]$ mv OPatch/ OPatch_old_18dec2017
[oraprod@stage 12.1.0.2]$ unzip p6880880_121010_Linux-x86-64.zip

Recheck Version –
[oraprod@stage 12.1.0.2]$ cd OPatch
[oraprod@stage OPatch]$ ./opatch version
OPatch Version: 12.2.0.1.11

OPatch succeeded.
[oraprod@stage OPatch]$

Comments

Popular posts from this blog

Logfile locations in EBS r12.1 and EBS r12.2

Startup/shutdown Apps tier services are started and stopped frequently and we must know logfiles when troubleshooting startup/shutdown issues. $INST_TOP/logs/appl/admin/log $INST_TOP/logs/appl/admin/log Apache OHS being part of opmn in r12.1 has continued in r12.2. Logfile locations for troubleshooting have been changed $INST_TOP/logs/ora/10.1.3/Apache/error_log[timestamp] $INST_TOP/logs/ora/10.1.3/opmn/HTTP_Server~1.log $IAS_ORACLE_HOME/instances/*/diagnostics/logs/OHS/*/*log*   OPMN Logfile locations for r12.1 and r12.2 have been changed $INST_TOP/logs/ora/10.1.3/opmn/opmn* $IAS_ORACLE_HOME/instances/*/diagnostics/logs/OPMN/opmn/* Oacore oacore in r12.1 is oc4j component and part of 10gAS. However, in r12.2, oacore is now a managed server for weblogic server $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore*/ $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore*/ $LOG_HOME/ora/10.1.3/opmn/oacore*/oacor...
Defragment workflow related tables in r12   References- 1.     How to Reorganize Workflow Tables? (Doc ID 388672.1) 2.     EBS Workflow (WF) Analyzer (Doc ID 1369938.1) Points to Remember –     Some workflow tables are associated to queues so that it is necessary to use the advance queuing instructions to reorganize them. For tables other than queue tables, please refer to different notes created by RDBMS team to reorganize tables. This activity depends on the RDBMS version.       Defragment tables in workflow r12 Verify tables are not associated to queues – SQL> select queue_table from dba_queue_tables   2   where queue_table like '%WF%'; QUEUE_TABLE ------------------------------ WF_CONTROL WF_DEFERRED WF_DEFERRED_TABLE_M WF_ERROR WF_IN WF_INBOUND_TABLE WF_JAVA_DEFERRED WF_JAVA_ERROR WF_JMS_IN WF_JMS_JMS_OUT WF_JMS_OUT WF_NOTIFICATION_IN WF...

Query to Check AD and TXK code levels in your EBS environment

Below query can be very handy in finding out current AD and TXK code levels. col ABBREVIATION for a10 set lines 1000 col NAME for a50 col CODELEVEL for a20 SELECT ABBREVIATION,NAME,codelevel FROM AD_TRACKABLE_ENTITIES WHERE abbreviation in ('txk','ad'); ABBREVIATI NAME                                                CODELEVEL ---------- -------------------------------------------------- ------------ ad           Oracle Applications DBA                             C.11 txk         Oracle Applications Technology Stack    ...