News
Perth, Australia
+ (61) 417713124
prosolutions@gavinsoorma.com

How to download the 12c Cloud Control Agent software

  • Posted by Gavin Soorma
  • On September 8, 2014
  • 0 Comments
  • 12c agent, deploy, download, emcli, image, self update

Note that in Oracle 12c Cloud Control, we cannot download the agent software from the online Oracle download software web site – we have to provision the same via the 12c OMS framework.

In this example we will download the 12c agent software for Windows 32-bit – our OMS is hosted on a Linux platform.

From the Setup >> Extensibility menu select Self Update

We see that we are not connected online to MOS and are using the offline method for the self update.

Note the software library in OEM has not been refreshed recently.

ag1

Click on Check Updates

ag2

On OMS server – execute the following commands


[oracle@vmnapp01 bin]$ ./emcli login -username="sysman" -password="xxx"
Login successful

[oracle@vmnapp01 bin]$ ./emcli import_update_catalog -file=/app/oracle/Middleware/oms/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)

….
……

Successfully uploaded the Self Update catalog to Enterprise Manager. Use the Self Update Console to view and manage updates.

We now see that the refresh has happened successfully and the refresh time has been updated

ag3

Select the Microsoft Windows (32-bit) row and click on Download

ag4

Enter URL in web browser and download the file

https://updates.oracle.com/Orion/Services/download/p18797166_112000_Generic.zip?aru=17700668&patch_file=p18797166_112000_Generic.zip

Copy the downloaded file to the OMS host

On OMS server run

[oracle@csmsdc-vmnapp01 bin]$ ./emcli import_update -omslocal -file=/var/tmp/p18797166_112000_Generic.zip
Processing update: Agent Software - Agent Software (12.1.0.4.0) for Microsoft Windows (32-bit)

Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.

We see that the status has changed from Available to Downloaded

ag6

Highlight the Microsoft Windows (32-bit) row and click Apply

ag7

Note status has now changed to Applied

ag8

We now see that Windows (32-bit) now shows up in the list of supported agent12c downloadable platforms

[oracle@vmnapp01 bin]$ ./emcli get_supported_platforms
-----------------------------------------------
Version = 12.1.0.4.0
Platform = Microsoft Windows (32-bit)
-----------------------------------------------
Version = 12.1.0.4.0
Platform = Linux x86-64
-----------------------------------------------
Version = 12.1.0.1.0
Platform = Microsoft Windows (32-bit)
-----------------------------------------------
Platforms list displayed successfully.

Download from OMS to directory on the Linux server. From here we can copy it to the Windows 32-bir machines where we wish to deploy the agent.


[oracle@vmnapp01 bin]$ which zip
/usr/bin/zip
[oracle@vmnapp01 bin]$ export ZIP_LOC=/usr/bin/zip



[oracle@vmnapp01 bin]$ ./emcli get_agentimage -destination=/app/oracle/Middleware/oms/agent_software -platform="Microsoft Windows (32-bit)" -version="12.1.0.4.0"

=== Partition Detail ===
Space free : 206 GB
Space required : 1 GB
Check the logs at /app/oracle/Middleware/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/get_agentimage_2014-08-27_15-16-20-PM.log
Downloading /app/oracle/Middleware/oms/agent_software/12.1.0.4.0_AgentCore_912.zip
File saved as /app/oracle/Middleware/oms/agent_software/12.1.0.4.0_AgentCore_912.zip
Downloading /app/oracle/Middleware/oms/agent_software/12.1.0.4.0_PluginsOneoffs_912.zip
File saved as /app/oracle/Middleware/oms/agent_software/12.1.0.4.0_PluginsOneoffs_912.zip
Downloading /app/oracle/Middleware/oms/agent_software/unzip
File saved as /app/oracle/Middleware/oms/agent_software/unzip
Agent Image Download completed successfully.

 

0 Comments

Leave Reply

Your email address will not be published. Required fields are marked *