ODAVP: Upgrading from 12.1.2.8 to 12.1.2.12

This note is about upgrading a virtualized ODA from 12.1.8 to 12.1.2.12, as a direct upgrade from 12.1.8 to 12.2.1.4.0 is not supported.

#1 Download the update patch 26433712

#2 Upload the patch to the two ODA_BASE nodes in /tmp/patch

#3 From the 2 nodes, run the oakcli command below

# oakcli unpack -package /tmp/patch/p26433712_1212120_Linux-x86-64_1of2.zip 
# oakcli unpack -package /tmp/patch/p26433712_1212120_Linux-x86-64_2of2.zip

#4 Remove the bundle patches from both node, and make sure there is enough space on /tmp

#5 Validate the system from the first oda_base node:

# oakcli validate -a

#6 From both ODA_BASE nodes, verify the OS patch

# oakcli validate -c ospatch -ver 12.1.2.12.0

#7 From both ODA_BASE nodes verify the list of components to be patched

# oakcli update -patch 12.1.2.12.0 --verify

#8 From the *first* ODA_BASE node, apply the server patch, the clusterware will be upgraded during this operation

# oakcli update -patch 12.1.2.12.0 --server

At the end of the patching, the nodes will be restarted.

#9 From the *first* ODA_BASE node, stop all repositories and apply the storage patch:

# oakcli stop repo <repo1>
...
# oakcli stop repo <repon>
# oakcli update -patch 12.1.2.12.0 --storage

At the end of the patching, the nodes will also be restarted.

#10 From the *first* ODA_BASE node apply the database patch:

# oakcli update -patch 12.1.2.12.0 --database

#11 From the two ODA_BASE nodes, very again the components versions to make sure all were patched successfully.

#  oakcli update -patch 12.1.2.12.0 --verify
INFO: 2018-11-30 13:26:04: Reading the metadata file now...
                Component Name            Installed Version         Proposed Patch Version
                ---------------           ------------------        -----------------
                Controller_INT            11.05.03.00               Up-to-date
                Controller_EXT            11.05.03.00               Up-to-date
                Expander                  0018                      Up-to-date
                SSD_SHARED                944A                      Up-to-date
                HDD_LOCAL                 A7E0                      Up-to-date
                HDD_SHARED                A7E0                      Up-to-date
                ILOM                      3.2.9.22 r115963          Up-to-date
                BIOS                      25040100                  Up-to-date
                IPMI                      1.8.12.4                  Up-to-date
                HMP                       2.3.5.2.8                 Up-to-date
                OAK                       12.1.2.12.0               Up-to-date
                OL                        6.8                       Up-to-date
                OVM                       3.4.3                     Up-to-date
                GI_HOME                   12.1.0.2.170814(2660      Up-to-date
                                          9783,26609945)
                DB_HOME                   12.1.0.2.170814(2660      Up-to-date
                                          9783,26609945)
# oakcli show version -detail
Reading the metadata. It takes a while...
System Version  Component Name            Installed Version         Supported Version
--------------  ---------------           ------------------        -----------------
12.1.2.12.0
                Controller_INT            11.05.03.00               Up-to-date
                Controller_EXT            11.05.03.00               Up-to-date
                Expander                  0018                      Up-to-date
                SSD_SHARED                944A                      Up-to-date
                HDD_LOCAL                 A7E0                      Up-to-date
                HDD_SHARED                A7E0                      Up-to-date
                ILOM                      3.2.9.22 r115963          Up-to-date
                BIOS                      25040100                  Up-to-date
                IPMI                      1.8.12.4                  Up-to-date
                HMP                       2.3.5.2.8                 Up-to-date
                OAK                       12.1.2.12.0               Up-to-date
                OL                        6.8                       Up-to-date
                OVM                       3.4.3                     Up-to-date
                GI_HOME                   12.1.0.2.170814(2660      Up-to-date
                                          9783,26609945)
                DB_HOME                   12.1.0.2.170814(2660      Up-to-date
                                          9783,26609945)