Advertisement

Saturday, April 1, 2017

ODA - Patching Process (12.1.2.7.0 and later)

 

Oracle Essential changed the patching process in version 12.1.2.7.0 i.e. when we are patching to 12.1.2.7.0 and later

I have discussed in my previous blog - ODA patching considerations in an overview for any upgrade.

I also discussed upgrading to 12.1.2.6.0

Now I am going to discuss upgrade to 12.1.2.7.0


Below is the process - 

  1. Unpack the Binaries
  2. Verify the Components to be patched
  3. Patching the Server Infra + GI  
  4. Patching the Storage
  5. Patching RDBMS 
  6. Verify the components to be patched


The overall Patching process is pretty simple with 3 commands (excluding checks) 

I have already discussed Steps 1,2 and 6 in my previous blog, ODA - Patching Considerations so I will be focussing on changes done to patching process in Steps 3,4 and 5


Step 3 - Patching Server and GI
Patching Server and GI is now done in one command only, earlier it used to be done with 2 different commands.
Oracle now considers Server component as Infra and GI both, however it has taken out Storage component seperately for patching

Step 4 - Storage Patching
Storage Patching is essentialy done from One node only and it patches the shared storage and generally requires stopping of Oracle stack on both nodes. 

Step 5 - Patching RDBMS
RDBMS Patching is similar as in previous releases of ODA Patching process.

Finally we verify the status of the c0mponents using the verify command.


Step by Step Commands

Unpack
#/opt/oracle/oak/bin/oakcli unpack --package /u01/stage/patch/121270/p22896543_121270_Linux-x86-64_1of2.zip

#/opt/oracle/oak/bin/oakcli unpack --package /u01/stage/patch/121270/p22896543_121270_Linux-x86-64_2of2.zip

Verify
#/opt/oracle/oak/bin/oakcli update -patch  12.1.2.7.0 --verify

Server - Node 1 and then Node 2 
#/opt/oracle/oak/bin/oakcli update -patch 12.1.2.7.0 -server --local

Storage - From Node 1
#/opt/oracle/oak/bin/oakcli update -patch  12.1.2.7.0 --storage

Database - Node 1 and then Node 2
# /opt/oracle/oak/bin/oakcli update -patch  12.1.2.7.0 --database --local

Verify
#/opt/oracle/oak/bin/oakcli update -patch  12.1.2.7.0 --verify

No comments:
Write comments