Skip to main content

EM12c agent Installation using offline patching

 Oracle announced new release for Oracle Enterprise Manager cloud control (12.1.0.4). There no changes n the installation steps from the prior releases. After configuration of EM 12c Management Server  we need to Install agents on all required target that should be monitored in EM 12c management Server.

If all your targets are on same platform as of OMS operating system then the agent software will be ready and you can proceed with the deployment. If you are planning  to Install the agent software on other platform then you need to enable self update for downloading the agent software for other platforms.

If there is no internet connection to your OMS server then you can Install these updates in an offline mode.

Setup > Provisioning and Patching > offline patching





>> Download file "em_catalog.zip" from listed URL


>> If you have already configured the software library then no need to configure it again.


>> click on "software library"



>> directory "patch_home" should have read/write access for OMS user









>> We need to download this patch and import it in the catalog

[oracle@oem12c bin]$ ./emcli import_update_catalog -file=/u01/em12c_home/patch_home/p9348486_112000_Generic.zip -omslocal
Error: The command name "import_update_catalog" is not a recognized command.
Run the "help" command for a list of recognized commands.
You may also need to run the "sync" command to synchronize with the current OMS.
[oracle@oem12c bin]$ ./emcli import_update_catalog -file=/u01/em12c_home/patch_home/p9348486_112000_Generic.zip -omslocal

- If you receive this error it means you're not using the correct "emcli" utility and we need to extract the correct emcli utility.



[oracle@oem12c jlib]$ pwd
/u01/em12c_home/oms/sysman/jlib
[oracle@oem12c jlib]$ java -jar emclikit.jar client -install_dir=/u01/em12c_home/EMCLI/
Oracle Enterprise Manager 12c Release 4.
Copyright (c) 2012, 2014 Oracle Corporation.  All rights reserved.

EM CLI client-side install completed successfully.
Execute "emcli help setup" from the EM CLI home (the directory where you have installed EM CLI) for further instructions.
[oracle@oem12c jlib]$


>> This utility will be present under OMS_HOME/sysman/jlib

- verify the version of the emlci utility:

[oracle@oem12c EMCLI]$ ls
emcli      emcliext   emcore-emcli-l10n.jar  jersey-client.jar  jersey-multipart.jar               org.codehaus.jackson.core.mapper.jar
emcli.bat  emCLI.jar  http_client.jar        jersey-core.jar    org.codehaus.jackson.core.asl.jar  version.txt
[oracle@oem12c EMCLI]$ ./emcli version
Oracle Enterprise Manager 12c EM CLI Version 12.1.0.4.0
[oracle@oem12c EMCLI]$



Setup "emcli"

[oracle@oem12c EMCLI]$ ./emcli setup -dir=/u01/em12c_home/EMCLI/SETUP -url=https://oem12c.oralabs.com:7802/em -user=SYSMAN
Oracle Enterprise Manager 12c Release 4.
Copyright (c) 1996, 2014 Oracle Corporation and/or its affiliates. All rights reserved.

The configuration directory "/u01/em12c_home/EMCLI/SETUP" may not be local. See the "dir" option in the help for the setup command.
Do you want to continue using this directory? [yes/no] yes
Enter password


Warning: This certificate has not been identified as trusted in the local trust store
--------------------------------------
[
[
  Version: V3
  Subject: CN=oem12c.oralabs.com, C=US, ST=CA, L=EnterpriseManager on oem12c.oralabs.com, OU=EnterpriseManager on oem12c.oralabs.com, O=EnterpriseManager on oem12c.oralabs.com
  Signature Algorithm: SHA512withRSA, OID = 1.2.840.113549.1.1.13

  Key:  Sun RSA public key, 1024 bits
  modulus: 121150337203280536324602497690515399974054940130978323667283977393776500210939985756809463503768299821422165336228046817190111307503460426746389324929081277886635910673763909646083184841419563937575643379399101948248999790921087189554985828828020553473629135278916987559110582802574372107737156596121475949227
  public exponent: 65537
  Validity: [From: Mon Jun 09 12:50:51 AST 2014,
               To: Fri Jun 07 12:50:51 AST 2024]
  Issuer: CN=oem12c.oralabs.com, C=US, ST=CA, L=EnterpriseManager on oem12c.oralabs.com, OU=EnterpriseManager on oem12c.oralabs.com, O=EnterpriseManager on oem12c.oralabs.com
  SerialNumber: [    f14349f1 3b985c78]

Certificate Extensions: 2
[1]: ObjectId: 2.5.29.15 Criticality=true
KeyUsage [
  DigitalSignature
  Non_repudiation
  Key_CertSign
  Crl_Sign
]

[2]: ObjectId: 2.5.29.19 Criticality=true
BasicConstraints:[
  CA:true
  PathLen:2147483647
]

]
  Algorithm: [SHA512withRSA]
  Signature:
0000: 1C 53 C1 23 66 00 AD FA   19 AF 1E 30 8D 36 C9 5C  .S.#f......0.6.\
0010: E7 5C A4 2E DA B4 4B 06   CE 12 33 76 64 07 72 A6  .\....K...3vd.r.
0020: 2A 51 68 4A 48 49 88 FA   FB 46 0C AB 76 86 4A FB  *QhJHI...F..v.J.
0030: 0D 04 B0 B3 35 68 B7 CD   5F 27 36 C6 4E BD E1 51  ....5h.._'6.N..Q
0040: F1 87 57 CE 5D 1C 8F 41   0D EB B6 D6 AD 54 4F 2E  ..W.]..A.....TO.
0050: 6E 57 B8 B1 AB A4 11 A4   C4 BC E5 94 47 80 E2 E3  nW..........G...
0060: F5 2B B4 5F A0 CB 9E E9   9A 03 79 28 D5 A7 13 F9  .+._......y(....
0070: CA 94 8E D7 2E C7 DF FE   A2 41 14 75 E8 89 51 7E  .........A.u..Q.

]
--------------------------------------
Warning: This certificate could be compromised

Warning: This certificate has not been identified as trusted in the local trust store
--------------------------------------
[
[
  Version: V3
  Subject: CN=oem12c.oralabs.com
  Signature Algorithm: SHA512withRSA, OID = 1.2.840.113549.1.1.13

  Key:  Sun RSA public key, 1024 bits
  modulus: 97708665150811055082449437789982839267991353119862370185597770979409897723184059577405675266628211396229417477893316557799797267947830966523507476612592220354053237055417602321341022829460325208047340071224641281559511744054834699823185808547791897260582846535573048974459827868976899024353841750508212834759
  public exponent: 65537
  Validity: [From: Mon Jun 09 12:50:53 AST 2014,
               To: Fri Jun 07 12:50:53 AST 2024]
  Issuer: CN=oem12c.oralabs.com, C=US, ST=CA, L=EnterpriseManager on oem12c.oralabs.com, OU=EnterpriseManager on oem12c.oralabs.com, O=EnterpriseManager on oem12c.oralabs.com
  SerialNumber: [    03e33d7f 88fbda6b a0]

Certificate Extensions: 3
[1]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 3B 46 96 AF 53 6E FD 4F   BA 55 97 45 08 08 4D CB  ;F..Sn.O.U.E..M.
0010: F1 95 F8 0C                                        ....
]
]

[2]: ObjectId: 2.5.29.15 Criticality=true
KeyUsage [
  DigitalSignature
  Non_repudiation
  Key_Encipherment
  Key_Agreement
]

[3]: ObjectId: 2.5.29.19 Criticality=true
BasicConstraints:[
  CA:false
  PathLen: undefined
]

]
  Algorithm: [SHA512withRSA]
  Signature:
0000: 11 12 57 A3 78 6A 2A AD   DD 89 8D A6 EA 45 D8 FA  ..W.xj*......E..
0010: 1A 0D 9F A2 5E B1 C7 2D   BF 21 82 14 D0 C4 BD 1B  ....^..-.!......
0020: 0F 85 50 06 96 9F 6D 21   C4 23 B7 B4 AE 19 B9 5B  ..P...m!.#.....[
0030: C1 29 16 32 F0 43 E3 28   94 F5 E0 41 08 CE 92 83  .).2.C.(...A....
0040: 7F AF BC D7 D6 F3 D4 7E   AD C1 F4 39 C3 7B 5A D5  ...........9..Z.
0050: F4 E6 EA 8C CE 60 EC C9   72 59 0E 59 DD ED 01 49  .....`..rY.Y...I
0060: 6D 35 98 42 8F 1E 42 CC   B6 FF 9C 6B 83 8C 31 1D  m5.B..B....k..1.
0070: A2 31 2C C3 98 A9 F6 5F   91 8F C5 7B 78 4D 8B EA  .1,...._....xM..

]
--------------------------------------
Do you trust the certificate chain? [yes/no] yes
Emcli setup successful
[oracle@oem12c EMCLI]$


>> Now upload patch to the catalog:
[oracle@oem12c EMCLI]$ ./emcli import_update_catalog -file=/u01/em12c_home/patch_home/p9348486_112000_Generic.zip -omslocal
Processing catalog for Middleware Profiles and Gold Images
Processing update: Middleware Profiles and Gold Images - Three Fusion Middleware Provisioning Profiles with different heap size configuration
Processing catalog for Agent Software
Processing update: Agent Software - Agent Software (12.1.0.4.0) for Microsoft Windows (32-bit)
Processing update: Agent Software - Agent Software (12.1.0.3.0) for Microsoft Windows (32-bit)
Processing update: Agent Software - Agent Software (12.1.0.2.0) for Microsoft Windows (32-bit)
Processing update: Agent Software - Agent Software (12.1.0.1.0) for Microsoft Windows (32-bit)
Processing update: Agent Software - Agent Software (12.1.0.4.0) for HP-UX PA-RISC (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.3.0) for HP-UX PA-RISC (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.2.0) for HP-UX PA-RISC (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.1.0) for HP-UX PA-RISC (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.4.0) for Linux x86
Processing update: Agent Software - Agent Software (12.1.0.3.0) for Linux x86
Processing update: Agent Software - Agent Software (12.1.0.2.0) for Linux x86
Processing update: Agent Software - Agent Software (12.1.0.1.0) for Linux x86
Processing update: Agent Software - Agent Software (12.1.0.4.0) for Oracle Solaris on x86-64 (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.3.0) for Oracle Solaris on x86-64 (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.2.0) for Oracle Solaris on x86-64 (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.1.0) for Oracle Solaris on x86-64 (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.4.0) for Oracle Solaris on SPARC (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.3.0) for Oracle Solaris on SPARC (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.2.0) for Oracle Solaris on SPARC (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.1.0) for Oracle Solaris on SPARC (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.4.0) for Microsoft Windows x64 (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.3.0) for Microsoft Windows x64 (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.2.0) for Microsoft Windows x64 (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.1.0) for Microsoft Windows x64 (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.3.0) for Linux x86-64
Processing update: Agent Software - Agent Software (12.1.0.2.0) for Linux x86-64
Processing update: Agent Software - Agent Software (12.1.0.1.0) for Linux x86-64
Processing update: Agent Software - Agent Software (12.1.0.4.0) for IBM AIX on POWER Systems (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.3.0) for IBM AIX on POWER Systems (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.2.0) for IBM AIX on POWER Systems (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.1.0) for IBM AIX on POWER Systems (64-bit)
Processing update: Agent Software - Agent Software (12.1.0.4.0) for IBM: Linux on System z
Processing update: Agent Software - Agent Software (12.1.0.3.0) for IBM: Linux on System z
Processing update: Agent Software - Agent Software (12.1.0.2.0) for IBM: Linux on System z
Processing update: Agent Software - Agent Software (12.1.0.1.0) for IBM: Linux on System z
Processing update: Agent Software - Agent Software (12.1.0.4.0) for HP-UX Itanium
Processing update: Agent Software - Agent Software (12.1.0.3.0) for HP-UX Itanium
Processing update: Agent Software - Agent Software (12.1.0.2.0) for HP-UX Itanium
Processing update: Agent Software - Agent Software (12.1.0.1.0) for HP-UX Itanium
Processing catalog for Management Connector
Processing update: Management Connector -
             IBM TEC Connector - 12.1.0.3.0

Processing update: Management Connector -
             IBM TEC Connector - 12.1.0.2.0

Processing update: Management Connector -
             Microsoft SCOM R2 Connector - 12.1.0.3.0

Processing update: Management Connector -
             Microsoft SCOM R2 Connector - 12.1.0.2.0

Processing update: Management Connector -
             Microsoft SCOM preR2 Connector - 12.1.0.3.0

Processing update: Management Connector -
             Microsoft SCOM preR2 Connector - 12.1.0.2.0

Processing update: Management Connector -
             Microsoft SCOM 2012 Connector - 12.1.0.1.0

Processing update: Management Connector - BMC Remedy 7.6, 8.0, 8.1 Service Desk Connector - 12.1.0.3.0
Processing update: Management Connector - BMC Remedy 7.6.04 Service Desk Connector - 12.1.0.2.0
Processing update: Management Connector - BMC Remedy Change Management Connector - 12.1.0.1.0
Processing update: Management Connector -
            IBM Tivoli Netcool/OMNIbus Connector - 12.1.0.3.0

Processing update: Management Connector -
            IBM Tivoli Netcool/OMNIbus Connector - 12.1.0.2.0

Processing update: Management Connector -
             HP Service Manager 9 Connector - 12.1.0.1.0

Processing update: Management Connector -
             HP Service Manager 7.1 Connector - 12.1.0.2.0

Processing update: Management Connector -
             HP Service Manager 7.0 Connector - 12.1.0.2.0

Processing update: Management Connector -
             HP Operations Manager UNIX Connector - 12.1.0.3.0

Processing update: Management Connector -
             HP Operations Manager UNIX Connector - 12.1.0.2.0

Processing update: Management Connector -
             CA Service Desk Connector - 12.1.0.3.0

Processing update: Management Connector -
             CA Service Desk Connector - 12.1.0.2.0

Processing catalog for Extensibility Development Kit
Processing catalog for Plug-in
Processing update: Plug-in - Enterprise Manager for Oracle Virtual Desktop Infrastructure
Processing update: Plug-in - Enterprise Manager for Oracle Virtual Desktop Infrastructure
Processing update: Plug-in - Enterprise Manager for Oracle Utilities provides management and monitoring for the Oracle Utilities area.
Processing update: Plug-in - Application Management Pack for Oracle Utilities provides management and monitoring for the Oracle Utilities area
Processing update: Plug-in - Application Management Pack for Oracle Utilities provides management and monitoring for the Oracle Utilities area
Processing update: Plug-in - Enterprise Manager for Oracle Enterprise Taxation and Policy Management provides management and monitoring for the Oracle Enterprise Taxation and Policy Management area.
Processing update: Plug-in - Application Management Pack for Oracle Enterprise Taxation and Policy Management provides management and monitoring for the Oracle Enterprise Taxation and Policy Management area
Processing update: Plug-in - Application Management Pack for Oracle Enterprise Taxation and Policy Management provides management and monitoring for the Oracle Enterprise Taxation and Policy Management area
Processing update: Plug-in - Enterprise Manager for Sun Ray Software
Processing update: Plug-in - Enterprise Management Plug-in for Oracle ZFS Storage Appliances
Processing update: Plug-in - Management Plug-in for the Sun ZFS Storage Appliance Family
Processing update: Plug-in - Management Plug-in for the Sun ZFS Storage Appliance Family
Processing update: Plug-in - Enterprise Manager for OUD
Processing update: Plug-in - Enterprise Manager for Oracle Instant Messaging Server is used for monitoring/managing the Oracle Instant Messaging Server
Processing update: Plug-in - Enterprise Manager for Oracle Tuxedo
Processing update: Plug-in - Management Pack for Oracle Tuxedo 12.1.0.1.0
Processing update: Plug-in - Enterprise Manager for Oracle GoldenGate
Processing update: Plug-in - Enterprise Manager for Ops Center Infrastructure stack
Processing update: Plug-in - Ops Center Infrastructure stack management plug-in.
Processing update: Plug-in - Ops Center Infrastructure stack management plug-in.
Processing update: Plug-in - Enterprise Manager for Oracle TimesTen In-Memory Database
Processing update: Plug-in - Enterprise Manager for Oracle Communications enables management of Oracle Communications products
Processing update: Plug-in -
                Enterprise Manager for Pillar Axiom

Processing update: Plug-in - Enterprise Manager for PeopleSoft
Processing update: Plug-in - Oracle Jdedwards EnterpriseOne Plugin consists of monitoring and management for Oracle Jdedwards EnterpriseOne system.
Processing update: Plug-in - Oracle Application Management Pack for Oracle E-Business Suite consists of System Management and Change Management Feature Sets
Processing update: Plug-in - Oracle Application Management Pack for Oracle E-Business Suite consists of System Management and Change Management Feature Sets
Processing catalog for Test Data Management templates
Processing update: Test Data Management templates - Mask template Fusion Rel v1.x Combined All Family
Processing update: Test Data Management templates - Data Masking template for Oracle E-Business suite 12.1.3 (Standard Model)
Processing update: Test Data Management templates - Data Masking template for Oracle E-Business suite 12.1.3 (JG model)
Processing update: Test Data Management templates - Preparation script required for Oracle E-Business Suite masking process
Processing update: Test Data Management templates - ADM template Fusion Rel v1.x Combined All Family
Processing update: Test Data Management templates - Application Data Model Template for Oracle E-Business Suite 12.1.3(Standard Model)
Processing update: Test Data Management templates - Application Data Model Template for Oracle E-Business Suite 12.1.3(JG Model)
Processing catalog for Informational
Processing update: Informational - Announcing New and Updated Cloud Management Capabilites for Database, Infrastructure, and Testing
Processing update: Informational - Enterprise Manager Cloud Control 12c Release 2 Plug-in Update 1 (12.1.0.2) now available on OTN
Processing update: Informational - Enterprise Manager Cloud Control 12C white papers available now on Oracle Technology Network
Processing update: Informational - Integration of Oracle Business Intelligence (BI) Publisher 11.1.1.5.0 with Enterprise Manager Cloud Control 12.1.0.1
Processing update: Informational - Management of Oracle VM 3.1.1 now available with Oracle Enterprise Manager 12c
Processing update: Informational - Oracle Enterprise Manager Cloud Control Mobile now available for Apple iPhone
Processing catalog for Provisioning Bundle

Successfully uploaded the Self Update catalog to Enterprise Manager. Use the Self Update Console to view and manage updates.
[oracle@oem12c EMCLI]$



>> In self update tab > click on check updates it will load all available updates.



>> For Agent software 39 updates are available.






>> OMS server is 64-bit linux hence its showing Agent software status as Applied.

>> We will now download agent software for Linux-X86 and manually update it to catalog.




>> We need to download this patch and upload it catalog.

[oracle@oem12c EMCLI]$ ./emcli login -username=sysman
Enter password

Login successful
[oracle@oem12c EMCLI]$ ./emcli import_update -omslocal -file=/u01/em12c_home/patch_home/p18797108_112000_Generic.zip
Processing update: Agent Software - Agent Software (12.1.0.4.0) for Linux x86
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
[oracle@oem12c EMCLI]$


>> For windows:

[oracle@oem12c EMCLI]$ ./emcli import_update -omslocal -file=/u01/em12c_home/patch_home/p18797147_112000_Generic.zip
Processing update: Agent Software - Agent Software (12.1.0.4.0) for Microsoft Windows x64 (64-bit)
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.
[oracle@oem12c EMCLI]$




>> After updating the catalog its showing status as downloaded


>> If we click on apply then the agent software will be applied to the software libarary and it will be ready for the deployment on targets.




>> Now the agent status for Linux-X86  and windows are listing as applied. Now we can proceed with the deployment of agent.

Hope this helps :)

thanks for reading.

regards,
X A H E E R

Comments

Blogger said…
Did you realize there is a 12 word phrase you can tell your partner... that will trigger deep feelings of love and instinctual attraction to you deep inside his heart?

That's because hidden in these 12 words is a "secret signal" that triggers a man's impulse to love, admire and protect you with all his heart...

===> 12 Words Who Fuel A Man's Desire Instinct

This impulse is so hardwired into a man's genetics that it will drive him to work better than before to love and admire you.

In fact, triggering this powerful impulse is absolutely mandatory to achieving the best possible relationship with your man that the instance you send your man one of the "Secret Signals"...

...You will instantly find him open his heart and mind to you in such a way he's never experienced before and he'll distinguish you as the only woman in the universe who has ever truly understood him.

Popular posts from this blog

Disable Firewall on Oracle Linux 8

In this blogpost we will see how we can stop/disable the firewall on Oracle Linux 8, the firewall command is same in both linux 7 an linux 8. The below listed is the procedure for stopping and disabling the  firewall on Oracle Linux 8. - Here we can see the firewall deamon in active state - Here when we stop the firewall in previous command, now the firewall daemon is dead - For permanent disabling the firewall on server, we can use "disable" option The following commands will be helpful: #systemctl status firewalld #systemctl stop firewalld #systemctl disable firewalld #systemctl enable firewalld #systemctl start firewalld Hope it helps !! Thanks for reading :) regards, X A H E E R

Enable Desktop on Oracle Solaris 11.4

Oracle Solaris 11 installation has multiple options to choose for installation of an Operating Environment, but mostly Oracle Solaris text install media is used and this installation media doesn't offer the GUI Desktop Environment by default after the installation. This blog post will explain how we can enable the desktop for Oracle Solaris 11.4 operating system, after the completion of installation. We have to install "solaris-desktop" package and reboot the machine and GUI desktop will be enabled for the Operating System. In this blog post my virtual machine is connected to the internet and hence I am able to use available pupblic repository for package installation, if in case internet is not available for the server/machine then we have configure the local/Server  repository for the installation. Follow the below steps for desktop package installation: After installation of dekstop package we are now able to login with GUI desktop environment...

Oracle Applications R12.2 Installation on Linux using virtual box

Oracle E-Business suite R12.2 is released a month ago. I received too many requests from my followers to demonstrate this Installation. This is a step by step detailed article for Installing Oracle E-business suite R12,2 on Oracle Enterprise Linux 5.7 (64-bit). I've used oracle virtual box for Installing Linux. Note:  This Installation is demonstrated on virtual machine with 8GB RAM and Installation completed in 7 hours. I am not sure whether this Installation will work with less than this .  My Virtual Machine configuration: CPU    = 1 core RAM   = 8 GB HDD   =  380 GB Software's Required: 1) Oracle Virtual Box 2) Oracle Enterprise Linux 5.7 (64-bit) 3) Oracle E-Business suite R12.2 for LinuxX86-64-bit Installation Steps: Hardware requirements Create virtual machine and Install operating system Operating System pre-requisites Prepare Stage Area Install Oracle EBS R12.2 software Verify Insta...