27. Februar 2018

Julian Frey

Database Consultant

Originally published on Julian’s Blog Julian@Database.

During February Oracle release the Oracle Appliance Kit 12.2.1.2.0 for ODA.
There are two different patches available:

  •  Patch 27141226 for versions X6-2S, X6-2M, X6-2L, X7-2S, X7-2M, X7-2HA
  • Patch 27119652 for versions V1, X3-2, X4-2, X5-2, X6-2 HA

In this blog post I will go through the patch of an ODA version X6-2S.

Updated software in this patch

There is no spectre or meltdown patch in this the new kernel! Therefore we do not have to take care about I/O problems (more on this in a future blog post).

What’s new in the dcs agent

There are some new odacli commands:

  • Backup and restore databases via odacli
  • Manage TDE Keys on an ODA
  • Set the PDB Name for a new Container database
  • And some further modifications and enhancements of the current commands

Update the ODA

Provide the required update files

Download the 3 required zipfiles mentioned in the famous support note 888888.1.

odacli update-repository -f /u01/oda-sm-12.2.1.2.0-180103.2-server1of3.zip,/u01/p27141226_122120_Linux-x86-64_2of3.zip,/u01/p27141226_122120_Linux-x86-64_3of3.zip

Now it is possible to add all three files in one command. The repository update is taking around 1 minute.

Update the dcs agent

With the following command you can update the dcs agent.

/opt/oracle/dcs/bin/odacli update-dcsagent -v 12.2.1.2.0 ; sleep 120

The update of the dcs agent is taking some few minutes.

Update the server

Now you are ready for upgrading the server.

Please be aware if you have installed further rpm packages the update may fail. If this is the case you will find the information for this in the logfile

/var/log/messages/var/log/yum.log

To start the upgrade issue the following command:

odacli update-server -v 12.2.1.2.0

The output of the job description after the upgrade will look similar to the following output:

The upgrade will take between 30 minutes and 60 minutes . After the upgrade a restart of the server should automatically happen.

In a further blog post I will show the upgrade of individual databases and show at least one pitfall.

zum Blog