Platform : Linuxx86_64
Server IP : 192.168.2.101
OEM Version : 13c Release 1
OMS Home : /u01/app/oracle/mwroem131
Agent Home : /u01/app/oracle/agent131/agent_13.1.0.0.0
2. Download the patch from MOS
[oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/OPatch/opatch version OPatch Version: 13.6.0.0.0 <----- OPatch succeeded. [oracle@rac1 ~]$
[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/agent131/agent_13.1.0.0.0 [oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/OPatch/opatch lsinv -oh /u01/app/oracle/agent131/agent_13.1.0.0.0 Oracle Interim Patch Installer version 13.6.0.0.0 Copyright (c) 2019, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/agent131/agent_13.1.0.0.0 Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/agent131/agent_13.1.0.0.0/oraInst.loc OPatch version : 13.6.0.0.0 OUI version : 13.6.0.0.0 Log file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/opatch2019-06-02_20-49-49PM_1.log OPatch detects the Middleware Home as "/u01/app/oracle/agent131" Lsinventory Output file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/lsinv/lsinventory2019-06-02_20-49-49PM.txt -------------------------------------------------------------------------------- Local Machine Information:: Hostname: rac1.DBA Learning Hub.com ARU platform id: 226 ARU platform description:: Linux_AMD64 Interim patches (1) : Patch : applied on Sat Jun 01 23:17:55 SGT 2019 Unique Patch ID: Created on 12 Aug 2015, 02:07:32 hrs PST8PDT Bugs fixed: -------------------------------------------------------------------------------- OPatch succeeded. [oracle@rac1 ~]$
[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/agent131/agent_13.1.0.0.0/ [oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl status agent Oracle Enterprise Manager Cloud Control 13c Release 1 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 13.1.0.0.0 OMS Version : 13.1.0.0.0 Protocol Version : 12.1.0.1.0 Agent Home : /u01/app/oracle/agent131/agent_inst Agent Log Directory : /u01/app/oracle/agent131/agent_inst/sysman/log Agent Binaries : /u01/app/oracle/agent131/agent_13.1.0.0.0 Core JAR Location : /u01/app/oracle/agent131/agent_13.1.0.0.0/jlib Agent Process ID : 2330 Parent Process ID : 1941 Agent URL : https://rac1.DBA Learning Hub.com:3872/emd/main/ Local Agent URL in NAT : https://rac1.DBA Learning Hub.com:3872/emd/main/ Repository URL : https://rac1.DBA Learning Hub.com:4903/empbs/upload Started at : 2019-06-02 14:59:50 Started by user : oracle Operating System : Linux version 4.1.12-112.16.4.el7uek.x86_64 (amd64) Number of Targets : 33 Last Reload : (none) Last successful upload : 2019-06-02 21:13:01 Last attempted upload : 2019-06-02 21:13:01 Total Megabytes of XML files uploaded so far : 0.55 Number of XML files pending upload : 0 Size of XML files pending upload(MB) : 0 Available disk space on upload filesystem : 44.50% Collection Status : Collections enabled Heartbeat Status : Ok Last attempted heartbeat to OMS : 2019-06-02 21:13:28 Last successful heartbeat to OMS : 2019-06-02 21:13:28 Next scheduled heartbeat to OMS : 2019-06-02 21:14:28 --------------------------------------------------------------- Agent is Running and Ready [oracle@rac1 ~]$ [oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl stop agent Oracle Enterprise Manager Cloud Control 13c Release 1 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. Stopping agent ... stopped. [oracle@rac1 ~]$ [oracle@rac1 ~]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl status agent Oracle Enterprise Manager Cloud Control 13c Release 1 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent is Not Running [oracle@rac1 ~]$
[oracle@rac1 ~]$ cp p_131000_Generic.zip /u01/app/backup/MWPSU/AGENT [oracle@rac1 ~]$ cd /u01/app/backup/MWPSU/AGENT [oracle@rac1 AGENT]$ ls -ltr total 19520 -rw-r--r--. 1 oracle oinstall Jun 2 21:19 p_131000_Generic.zip [oracle@rac1 AGENT]$ [oracle@rac1 AGENT]$ unzip p_131000_Generic.zip [oracle@rac1 AGENT]$ ls -ltr total 19520 drwxr-xr-x. 4 oracle oinstall 67 Apr 4 -rw-r--r--. 1 oracle oinstall Jun 2 21:19 p_131000_Generic.zip [oracle@rac1 AGENT]$
[oracle@rac1 ~]$ export ORACLE_HOME=/u01/app/oracle/agent131/agent_13.1.0.0.0 [oracle@rac]$ cd /u01/app/backup/MWPSU/AGENT/ [oracle@rac]$ ls -ltr total 28 drwxr-x---. 3 oracle oinstall 37 Apr 4 2017 files drwxr-x---. 3 oracle oinstall 20 Apr 4 2017 etc -rw-rw-r--. 1 oracle oinstall 24 Apr 18 2017 README.txt -rw-rw-r--. 1 oracle oinstall 23830 Apr 18 2017 README.html [oracle@rac]$ [oracle@rac]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/OPatch/opatch apply -oh /u01/app/oracle/agent131/agent_13.1.0.0.0 Oracle Interim Patch Installer version 13.6.0.0.0 Copyright (c) 2019, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/agent131/agent_13.1.0.0.0 Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/agent131/agent_13.1.0.0.0/oraInst.loc OPatch version : 13.6.0.0.0 OUI version : 13.6.0.0.0 Log file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/_Jun_02_2019_21_23_51/apply2019-06-02_21-23-45PM_1.log OPatch detects the Middleware Home as "/u01/app/oracle/agent131" Verifying environment and performing prerequisite checks... OPatch continues with these patches: Do you want to proceed? [y|n] y User Responded with: Y All checks passed. Backing up files... Applying interim patch '' to OH '/u01/app/oracle/agent131/agent_13.1.0.0.0' Patching component oracle.sysman.top.agent, 13.1.0.0.0... Patch successfully applied. Log file location: /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/_Jun_02_2019_21_23_51/apply2019-06-02_21-23-45PM_1.log OPatch succeeded. [oracle@rac]$
[oracle@rac]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/OPatch/opatch lsinv -oh /u01/app/oracle/agent131/agent_13.1.0.0.0 Oracle Interim Patch Installer version 13.6.0.0.0 Copyright (c) 2019, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/agent131/agent_13.1.0.0.0 Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/agent131/agent_13.1.0.0.0/oraInst.loc OPatch version : 13.6.0.0.0 OUI version : 13.6.0.0.0 Log file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/opatch2019-06-02_21-31-30PM_1.log OPatch detects the Middleware Home as "/u01/app/oracle/agent131" Lsinventory Output file location : /u01/app/oracle/agent131/agent_13.1.0.0.0/cfgtoollogs/opatch/lsinv/lsinventory2019-06-02_21-31-30PM.txt -------------------------------------------------------------------------------- Local Machine Information:: Hostname: rac1.DBA Learning Hub.com ARU platform id: 226 ARU platform description:: Linux_AMD64 Interim patches (2) : Patch : applied on Sun Jun 02 21:24:03 SGT 2019 Unique Patch ID: Patch description: "EM-AGENT Bundle Patch 13.1." Created on 4 Apr 2017, 00:39:32 hrs PST8PDT Bugs fixed: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Patch : applied on Sat Jun 01 23:17:55 SGT 2019 Unique Patch ID: Created on 12 Aug 2015, 02:07:32 hrs PST8PDT Bugs fixed: -------------------------------------------------------------------------------- OPatch succeeded. [oracle@rac]$
[oracle@rac]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl start agent Oracle Enterprise Manager Cloud Control 13c Release 1 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. Starting agent ................................................................ started. [oracle@rac]$
[oracle@rac]$ /u01/app/oracle/agent131/agent_13.1.0.0.0/bin/emctl status agent Oracle Enterprise Manager Cloud Control 13c Release 1 Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 13.1.0.0.0 OMS Version : 13.1.0.0.0 Protocol Version : 12.1.0.1.0 Agent Home : /u01/app/oracle/agent131/agent_inst Agent Log Directory : /u01/app/oracle/agent131/agent_inst/sysman/log Agent Binaries : /u01/app/oracle/agent131/agent_13.1.0.0.0 Core JAR Location : /u01/app/oracle/agent131/agent_13.1.0.0.0/jlib Agent Process ID : 2277 Parent Process ID : 2051 Agent URL : https://rac1.DBA Learning Hub.com:3872/emd/main/ Local Agent URL in NAT : https://rac1.DBA Learning Hub.com:3872/emd/main/ Repository URL : https://rac1.DBA Learning Hub.com:4903/empbs/upload Started at : 2019-06-02 21:39:25 Started by user : oracle Operating System : Linux version 4.1.12-112.16.4.el7uek.x86_64 (amd64) Number of Targets : 33 Last Reload : (none) Last successful upload : 2019-06-02 21:41:05 Last attempted upload : 2019-06-02 21:41:05 Total Megabytes of XML files uploaded so far : 0.02 Number of XML files pending upload : 0 Size of XML files pending upload(MB) : 0 Available disk space on upload filesystem : 44.40% Collection Status : Collections enabled Heartbeat Status : Ok Last attempted heartbeat to OMS : 2019-06-02 21:40:10 Last successful heartbeat to OMS : 2019-06-02 21:40:10 Next scheduled heartbeat to OMS : 2019-06-02 21:41:22 --------------------------------------------------------------- Agent is Running and Ready [oracle@rac]$
Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.