Infrastructure at your Service

Michael Hein

ODA: The Patch version must be 12.2.1.4.0

When trying to patch your virtualized ODA with patch 12.1.2.12.0 and immediately after that with 12.2.1.4.0, you might consider to load the patches like this:


[root@XX1 Oracle_Soft_Repo]# oakcli unpack -package /cloudfs/Oracle_Soft_Repo/p26433712_1212120_Linux-x86-64_1of2.zip
Unpacking will take some time, Please wait...
Successfully unpacked the files to repository.
[root@XX1 Oracle_Soft_Repo]# oakcli unpack -package /cloudfs/Oracle_Soft_Repo/p26433712_1212120_Linux-x86-64_2of2.zip
Unpacking will take some time, Please wait...
Successfully unpacked the files to repository.
[root@XX1 Oracle_Soft_Repo]# oakcli unpack -package /cloudfs/Oracle_Soft_Repo/p28216780_122140_Linux-x86-64_1of3.zip
Unpacking will take some time, Please wait...
Successfully unpacked the files to repository.
[root@XX1 Oracle_Soft_Repo]# oakcli unpack -package /cloudfs/Oracle_Soft_Repo/p28216780_122140_Linux-x86-64_2of3.zip
Unpacking will take some time, Please wait...
Successfully unpacked the files to repository.
[root@XX1 Oracle_Soft_Repo]# oakcli unpack -package /cloudfs/Oracle_Soft_Repo/p28216780_122140_Linux-x86-64_3of3.zip
Unpacking will take some time, Please wait...
Successfully unpacked the files to repository.

After that, a verification attempt shows following strange error:


[root@XX1 tmp]# oakcli update -patch 12.1.2.12.0 --verify
ERROR : The Patch version must be 12.2.1.4.0

Reason is that only the newest patch version is saved in a flag file, so that less recent versions are not known:


[root@XX1 ~]# cat /opt/oracle/oak/pkgrepos/System/VERSION
version=12.2.1.4.0

To install patch 12.1.2.12.0, both patches have to be removed from repository first:


[root@XX1 ~]# oakcli manage cleanrepo --ver 12.2.1.4.0
Deleting the following files...
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/OAK/12.2.1.4.0/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Expander/ORACLE/DE2-24P/0018/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Expander/ORACLE/DE2-24C/0018/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Expander/ORACLE/DE3-24C/0306/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Expander/SUN/T4-es-Storage/0342/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/HMP/2.4.1.0.11/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/IPMI/1.8.12.4/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/ASR/5.7.7/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/DB/12.2.0.1.180417/Patches/27674384
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/DB/12.1.0.2.180417/Patches/27338029
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/DB/11.2.0.4.180417/Patches/27338049
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/OEL/6.9/Patches/6.9.1
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/OVS/12.2.1.4.0/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/GI/12.2.0.1.180417/Base

[root@XX1 ~]# oakcli manage cleanrepo --ver 12.1.2.12.0
Deleting the following files...
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/OAK/12.1.2.12.0/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Expander/ORACLE/DE2-24P/0018/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Expander/ORACLE/DE2-24C/0018/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Expander/ORACLE/DE3-24C/0291/Base
Deleting the files under /opt/oracle/oak/pkgrepos/thirdpartypkgs/Firmware/Expander/SUN/T4-es-Storage/0342/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/HMP/2.3.5.2.8/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/IPMI/1.8.12.4/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/ASR/5.5.1/Base
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/DB/12.1.0.2.170814/Patches/26609783
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/DB/11.2.0.4.170814/Patches/26609445
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/DB/11.2.0.3.15/Patches/20760997
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/DB/11.2.0.2.12/Patches/17082367
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/OEL/6.8/Patches/6.8.4
Deleting the files under /opt/oracle/oak/pkgrepos/orapkgs/OVS/12.1.2.12.0/Base

After that, patch 12.1.2.1.12.0 has to be reloaded into repository:


[root@XX1 ~]# oakcli unpack -package /cloudfs/Oracle_Soft_Repo/p26433712_1212120_Linux-x86-64_1of2.zip
Unpacking will take some time, Please wait...
Successfully unpacked the files to repository.
[root@XX1 ~]# oakcli unpack -package /cloudfs/Oracle_Soft_Repo/p26433712_1212120_Linux-x86-64_2of2.zip
Unpacking will take some time, Please wait...
Successfully unpacked the files to repository.

Now repository is aware of patch 12.1.2.12.0:


[root@XX1 ~]# cat /opt/oracle/oak/pkgrepos/System/VERSION
version=12.1.2.12.0

[root@XX1 ~]# oakcli update -patch 12.1.2.12.0 --verify

INFO: 2018-11-29 14:14:34: Reading the metadata file now...

Component Name Installed Version Proposed Patch Version

--------------- ------------------ -----------------

Controller_INT 4.650.00-7176 Up-to-date

Controller_EXT 13.00.00.00 Up-to-date

Expander 0018 Up-to-date

SSD_SHARED {

[ c1d20,c1d21,c1d22, A29A Up-to-date

c1d23 ]

[ c1d16,c1d17,c1d18, A29A Up-to-date

c1d19 ]

}

HDD_LOCAL A7E0 Up-to-date

HDD_SHARED {

[ c1d0,c1d1,c1d2,c1d PAG1 Up-to-date

3,c1d4,c1d5,c1d6,c1d

8,c1d9,c1d10,c1d11,c

1d12,c1d13,c1d15 ]

[ c1d7,c1d14 ] PD51 PAG1

}

ILOM 3.2.9.23 r116695 Up-to-date

BIOS 30110000 Up-to-date

IPMI 1.8.12.4 Up-to-date

HMP 2.3.5.2.8 Up-to-date

OAK 12.1.2.11.0 12.1.2.12.0

OL 6.8 Up-to-date

OVM 3.4.3 Up-to-date

GI_HOME 12.1.0.2.170418(2517 12.1.0.2.170814(2660

1037,25942196) 9783,26609945)

DB_HOME 12.1.0.2.170418(2517 12.1.0.2.170814(2660

1037,25942196) 9783,26609945)

After installation of patch 12.1.2.12.0, patch 12.2.1.4.0 has to be loaded into repository and after that it can be installed.

Conclusion: It is only possible to load one patch into repository, before loading a newer patch, the former patch has to be installed.

Leave a Reply

Michael Hein
Michael Hein