Monday 22 April 2019

Apply patch in weblogic 12c

How to apply patch in weblogic 12c?

1) Shutdown all services including node manager

2)Include OPatch in $PATH variable
wlsapp@cstsd04:/d01/product/middleware/Weblogic_patch/26519400$ export ORACLE_HOME=/d01/product/middleware
wlsapp@cstsd04:/d01/product/middleware/Weblogic_patch/26519400$ PATH=$ORACLE_HOME/OPatch:$PATH
wlsapp@cstsd04:/d01/product/middleware/Weblogic_patch/26519400$ export PATH
wlsapp@cstsd04:/d01/product/middleware/Weblogic_patch/26519400$ which opatch
/d01/product/middleware/OPatch/opatch

3) Apply patch to weblogic server
wlsapp@cstsd04:/d01/product/middleware/Weblogic_patch/26519400$ opatch apply /d01/product/middleware/Weblogic_patch/26519400
Oracle Interim Patch Installer version 13.9.0.0.0
Copyright (c) 2018, Oracle Corporation.  All rights reserved.


Oracle Home       : /d01/product/middleware
Central Inventory : /d01/product/oraInventory
   from           : /d01/product/middleware/oraInst.loc
OPatch version    : 13.9.0.0.0
OUI version       : 13.9.0.0.0
Log file location : /d01/product/middleware/cfgtoollogs/opatch/opatch2018-05-03_18-32-02PM_1.log


OPatch detects the Middleware Home as "/d01/product/middleware"

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   26519400

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 = '/d01/product/middleware')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '26519400' to OH '/d01/product/middleware'

Patching component oracle.fmwconfig.common.wls.shared, 12.2.1.1.0...

Patching component oracle.wls.common.nodemanager, 12.2.1.1.0...

Patching component oracle.wls.common.nodemanager, 12.2.1.1.0...

Patching component oracle.wls.jrf.tenancy.ee.only.sharedlib, 12.2.1.1.0...

Patching component oracle.webservices.wls, 12.2.1.1.0...

Patching component oracle.wls.jrf.tenancy.common.sharedlib, 12.2.1.1.0...

Patching component oracle.wls.jrf.tenancy.common.sharedlib, 12.2.1.1.0...

Patching component oracle.wls.shared.with.owasp, 12.2.1.1.0...

Patching component oracle.fmwconfig.common.shared, 12.2.1.1.0...

Patching component oracle.fmwconfig.common.shared, 12.2.1.1.0...

Patching component oracle.wls.libraries, 12.2.1.1.0...

Patching component oracle.wls.libraries, 12.2.1.1.0...

Patching component oracle.wls.core.app.server, 12.2.1.1.0...

Patching component oracle.wls.core.app.server, 12.2.1.1.0...
Patch 26519400 successfully applied.
Log file location: /d01/product/middleware/cfgtoollogs/opatch/opatch2018-05-03_18-32-02PM_1.log

OPatch succeeded.
wlsapp@cstsd04:/d01/product/middleware/Weblogic_patch/26519400$



wlsapp@cstsd04: /d01/product/middleware/Weblogic_patch/26519400$ opatch lsinventory |grep -i 26519400
Patch  26519400 : applied on Thu May 03 18:52:27 AST 2018
wlsapp@cstsd04: /d01/product/middleware/Weblogic_patch/26519400$

No comments:

Post a Comment