Menu

Oracle Enterprise Manager 12c – Offline upgrade

0 Comments

logo
How to upgrade oem12c when your site due to security reason don’t have access to internet?
Use offline upgrade mode!

 

001. Introduction

My prod site are not connected to internet, we are working in intranet.

How to upgrade agents / download updates / plugins etc.?

Example on Oracle Enterprise Manager 12c version 12.1.0.4.0 (release 4) – but this is similiar to previous releaseses.


 

002. Prerequisites

We need current em_catalog.

Download it from: https://updates.oracle.com/download/em_catalog.zip


 

003. Apply current em_catalog

"Setup

Setup ==> Provisioning and Patching ==> Offline Patching

Come to oem12c console and go to Setup ==> Provisioning and Patching ==> Offline Patching

 

Offline patching - upload catalog

Offline patching – upload catalog

  • Set connection to Offline state
  • Select (Przeglądaj in polish) downloaded em_catalog.zip from oracle site
  • Click on “Upload

 

Catalog uploaded, new refresh job created

Catalog uploaded, new refresh job created

  •  You will see:
  • Success: Catalog file has been successfully uploaded
  • Refresh From My Oracle Support” – A new job has been successfully submitted to process the uploaded Catalog file.
  • You can click on link “Refresh…….”
  • or skip to section 004.

 

Refresh em_catalog.zip job

Refresh em_catalog.zip job

  • You will see new page with details of current operation
  • click on Show for additional info

 

Upload progress

Upload progress

 

Upload progress

Upload progress

Finished.

 

Successfully uploaded

Successfully uploaded

Catalog is uploaded (Status Succeeded) – this steep taken about 5 minutes.


 

 

004. Self Update

Self Update

Self Update

Go to Setup ==> Extensibility ==> Self Update

 

 

Click on

Click on “Check updates”

Click on “Check updates” button.

 

 

Check Updates in Offline Mode

Check Updates in Offline Mode

Window with adress will appear.

Example (Your address can vary!):
https://updates.oracle.com/Orion/Services/download/p18797152_112000_Generic.zip

  • download this file and send to server (ftp) to accessible location
  • login into OMS (emcli ….)
  • apply patch (give full path+filename on file parameter!)
[oracle@localhost ~]$ emcli login -username=sysman
Enter password 

Login successful


[oracle@oem12c]$ emcli import_update -omslocal -file=/u01/oem12c_03/2014-12-15/p9348486_112000_Generic.zip
Processing update: Agent Software - Agent Software (12.1.0.4.0) for HP-UX Itanium
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.

 

Amount of available updates will rise

Amount of available updates will rise

Amount of available upgrades will rise.


 

 

005. Download new agent version

Click on

Click on “Agent Software”

Click on “Agent Software” to see list of supported agents.

 

Mark new verion of agent binaries

Mark new verion of agent binaries

Example:

  • I have applied (bottom) Agent Software version 12.1.0.3.0 (release 3) on HP-UX Itanium platform (marked with yellow box)
  • we see, that version 12.1.0.4 (current release 4) for HP-UX Itanium are available (2 green arrows)
  • mark this version
  • click on Download button

 

 

Download new agent release

Download new agent release

  • copy link and download file from web, transfer to oms server
  • like last one, we use emcli
  • we already logged in, so we must only apply downloaded patch
[oracle@oem12c]$ emcli import_update -omslocal -file=/u01/oem12c_03/2014-12-15/p9348486_112000_Generic.zip
Processing update: Agent Software - Agent Software (12.1.0.4.0) for HP-UX Itanium
Successfully uploaded the update to Enterprise Manager. Use the Self Update Console to manage this update.

 

 

Apply downloaded patch

Apply downloaded patch

  •  comeback to OMS panel and mark line with new downloaded agent version (do you see new icon?)
  • in this example i downloaded both agents – from Itanium and PA-RISC version
  • click on Apply button

 

 

Confirm action

Confirm action

Confirm action (OK).

 

 

Next step

Next step

You can click on “Job Details” for additional info about this operation.

 

 

Job details

Job details

Update applied!


 

 

006. Let’s check for changes?

Come to Upgrade agents page

Come to Upgrade agents page

Go to Setup ==> Manage Cloud Control ==> Upgrade Agents

 

 

Create upgrade request

Create upgrade request

  • select tab named “Agent Upgrade Tasks
  • select position “Upgrade Agents
  • click on “Add” button to add new upgrade request

 

 

Upgrade old agents to new version now are possible!

Upgrade old agents to new version now are possible!

New (old) version of agents now are ready to upgrade process!

In example – i have a lot of 12.1.0.3.0 (release 3) ready to be upgraded to 12.1.0.4.0 (release 4)


 

 

 007. Conclusion

Entire process are fast to implement and very easy to perform.

On next turorial i describe entire agent upgrade process – this can sometime throw some errors…

 

 

 

 

 

 

.

Tags: , , , , , , , ,
Translate »