Wednesday, May 2, 2012

Offline patching Oracle Cloud Control 12c

As we can't use cloud control selfupdate due to security reasons how do you get the
patches inside cloud control.
Solution is offline patching. Here is how you do it

In cloud control go to
setup => provisiong and patching => offline patching
click on online to make the dot disappear
click on offline
click on APPLY

In cloud control go to
setup => extensibility and the connection mode is now offline
the check update is not gray anymore and you can click on it.
When you click on check update a box appears
read it. In our example whe did the following

https://updates.oracle.com/Orion/Download/download_patch/p9348486_112000_Generic.zip

Go to the above page login with your metalink account and dowload it and put the file on the server
where cloud control is installed in our case the srv5020

Logon to the server srv5020
go to the OMS_HOME in our case
$ cd /oracle/home/oms/oms
$ cd bin
and do the following
./emcli login -username=SYSMAN
./emcli import_update_catalog -file=/oracle/home/p9348486_112000_Generic.zip -omslocal

now you go back to cloud control

setup => selfupdate => agent software
You see all agent software also for aix bu it's not yet downloaded
Seelect aix agent and click on dowload  and you see this

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

Go to the above page login with your metalink account and dowload it and put the file on the server
where cloud control is installed in our case de srv5020

Logon to the server srv5020
go to the OMS_HOME in our case
$ cd /oracle/home/oms/oms
$ cd bin
and do the following
./emcli login -username=SYSMAN
./emcli import_update_catalog -file=/oracle/home/p13528458_112000_Generic.zip -omslocal

now you go back to cloud control

setup => selfupdate => agent software
You see that the aix agent software is downloaded
Now you can install the agent  but thats a whole other story
You'll see a post of that very soon

No comments:

Post a Comment