How to download latest CPU/PSU Patches

As we are aware of that Oracle releases patches every quarter ( Jan, April, July and Oct ), however many does not know how to get these patches and apply them on our Database or GRID etc.

So this post is to help those guys, now go to http://www.google.com and simple search “cpu patch Oct 2015“, why this because i know this will give me the latest one. If anyone is not interested in latest once, they can also search – “cpu patch july 2015” or “cpu patch april 2015” whatever quarter you feel so.

So click on first link:

1

It will go to the below page, where we have to select yellowed one:

23

Once you click on that it will lead to MOS Username?password Screen, where we have to put our username and password:

4

Once you Sign IN, below page will come up which will have information about Patches.

5

Click on yellowed One to go to specific area which is Oracle Database in our case:

6

It will point to – Oracle Database.

7

Once you click on that, it will go to specific section where we can choose Oracle Database 11.2.0.4.

8

Once we click on that, it goes to the Patch Section where we can choose the Patches – CPU/PSU/SPU for our DATABASE or GRID.

9

So we will download the two yellowed patches for now…

10

Click on First one, below page will be displayed, select the specific OS for which you will be needing this Patch and click Download.

11

Once you click on Download, below page will be displayed, once you click on the yellow portion, it will ask you to save, save it at your desktop or any location on your machine.

12

After 1st is done, we will do the same thing and download the next patch.

1314

One both the patches are downloaded, place it them on the server in /tmp directory.

Go to /tmp directory and create a directory oracle_patches, transfer both the patches there. Here we go :

15

Now create two separate directory for each patch and move each patch in its own specific directory. Here you go:

16

Now go to each directory and unzip both the patches in their own directory.

——————————————————–

First Patch Unzipped:

[oracle@ora-linux ~]$ cd /tmp/oracle_patches/
[oracle@ora-linux oracle_patches]$ ls -lrt
total 12
drwxr-xr-x. 2 oracle oinstall 4096 Dec 7 15:11 Patch_p21352646
drwxr-xr-x. 2 oracle oinstall 4096 Dec 7 15:12 Patch_p21555791
drwxr-xr-x. 2 oracle oinstall 4096 Dec 7 15:49 OPatch_Utility_11.2.0.3.12
[oracle@ora-linux oracle_patches]$
[oracle@ora-linux oracle_patches]$
[oracle@ora-linux oracle_patches]$ cd Patch_p21352646/
[oracle@ora-linux Patch_p21352646]$
[oracle@ora-linux Patch_p21352646]$ pwd
/tmp/oracle_patches/Patch_p21352646
[oracle@ora-linux Patch_p21352646]$
[oracle@ora-linux Patch_p21352646]$ ls -lrt
total 12292
-rw-r–r–. 1 oracle oinstall 12586668 Dec 7 14:48 p21352646_112040_Linux-x86-64.zip
[oracle@ora-linux Patch_p21352646]$

[oracle@ora-linux Patch_p21352646]$
[oracle@ora-linux Patch_p21352646]$ unzip p21352646_112040_Linux-x86-64.zip
Archive: p21352646_112040_Linux-x86-64.zip
creating: 21352646/
creating: 21352646/21538567/
creating: 21352646/21538567/etc/
creating: 21352646/21538567/etc/config/
inflating: 21352646/21538567/etc/config/deploy.xml
inflating: 21352646/21538567/etc/config/inventory.xml
inflating: 21352646/21538567/etc/config/actions.xml
.

.  <—Output Trimmed

.

creating: 21352646/17811438/files/
creating: 21352646/17811438/files/lib/
creating: 21352646/17811438/files/lib/libserver11.a/
inflating: 21352646/17811438/files/lib/libserver11.a/kqlf.o
inflating: 21352646/17811438/files/lib/libserver11.a/kkss.o
inflating: PatchSearch.xml
[oracle@ora-linux Patch_p21352646]$
[oracle@ora-linux Patch_p21352646]$ ls -lrt
total 12312
drwxr-xr-x. 29 oracle oinstall 4096 Oct 5 18:32 21352646
-rw-rw-r–. 1 oracle oinstall 13975 Oct 24 09:24 PatchSearch.xml
-rw-r–r–. 1 oracle oinstall 12586668 Dec 7 14:48 p21352646_112040_Linux-x86-64.zip
[oracle@ora-linux Patch_p21352646]$

So now we have got 21352646 directory after unzipping the patch software.

——————————————————–

2nd Patch Unzipped:

[oracle@ora-linux oracle_patches]$ pwd
/tmp/oracle_patches
[oracle@ora-linux oracle_patches]$ ls -lrt
total 12
drwxr-xr-x. 2 oracle oinstall 4096 Dec 7 15:12 Patch_p21555791
drwxr-xr-x. 2 oracle oinstall 4096 Dec 7 15:49 OPatch_Utility_11.2.0.3.12
drwxr-xr-x. 3 oracle oinstall 4096 Dec 7 17:15 Patch_p21352646
[oracle@ora-linux oracle_patches]$
[oracle@ora-linux oracle_patches]$ cd Patch_p21555791/
[oracle@ora-linux Patch_p21555791]$
[oracle@ora-linux Patch_p21555791]$ ls -lrt
total 40716
-rw-r–r–. 1 oracle oinstall 41692702 Dec 7 14:51 p21555791_112040_Linux-x86-64.zip
[oracle@ora-linux Patch_p21555791]$
[oracle@ora-linux Patch_p21555791]$ unzip p21555791_112040_Linux-x86-64.zip
Archive: p21555791_112040_Linux-x86-64.zip
creating: 21555791/
inflating: 21555791/README.html
creating: 21555791/etc/
creating: 21555791/etc/config/
inflating: 21555791/etc/config/deploy.xml
inflating: 21555791/etc/config/inventory.xml
inflating: 21555791/etc/config/actions.xml
creating: 21555791/etc/xml/
inflating: 21555791/etc/xml/GenericActions.xml
inflating: 21555791/etc/xml/ShiphomeDirectoryStructure.xml
.

. <==Output Trimmed

.
creating: 21555791/files/jdbc/lib/ojdbc5.jar/oracle/jdbc/driver/
inflating: 21555791/files/jdbc/lib/ojdbc5.jar/oracle/jdbc/driver/OracleSql$1.class
inflating: 21555791/files/jdbc/lib/ojdbc5.jar/oracle/jdbc/driver/OracleSql.class
inflating: 21555791/files/jdbc/lib/ojdbc5.jar/oracle/jdbc/driver/OracleSql$ParseMode.class
inflating: 21555791/patchmd.xml
inflating: PatchSearch.xml
[oracle@ora-linux Patch_p21555791]$

[oracle@ora-linux Patch_p21555791]$ ls -lrt
total 40728
drwxr-xr-x. 5 oracle oinstall 4096 Oct 8 15:27 21555791
-rw-rw-r–. 1 oracle oinstall 5823 Oct 20 19:09 PatchSearch.xml
-rw-r–r–. 1 oracle oinstall 41692702 Dec 7 14:51 p21555791_112040_Linux-x86-64.zip
[oracle@ora-linux Patch_p21555791]$

So now we have got – 21555791, in our next post we will be applying these 2 Patches one by one.

——————————————————–

Thanks for watching.

Hope it helps..

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s