Use this procedure to update any software component that has an update available, except for the MCMU component (use Update the MCMU Component (CLI) instead).
Alternatively, you can perform the same updates using the BUI, which is less prone to human error. See Update MiniCluster Software (BUI).
The system can be updated while DB and App VMs are running.
This tables lists mcmu patch syntax for various components.
|
These procedures must be performed prior to updating the software components:
% mcmu patch -h
Key points:
Some component update options can be included on a single command line, separated with commas.
These component options can only be updated individually (not combined on a command line): update_gz, update_ilom, and update_omctoolkit
A system reboot (one node at a time) is automatically performed after updating each of these component options: update_gz and update_ilom
The GI and Oracle DB homes must be at the same revision levels. When you patch these components, patch the GI before you patch a DB home.
Some component options require additional command line arguments, as shown in the examples.
Examples:
Example of updating the compute node firmware:
% mcmu patch -p update_ilom
Example of updating the GI in VM group called mc5dbzg1:
The first command in this example (describe in List a Summary of All DB VM Groups (CLI)) displays the DB VM group name that is needed for the mcmu patch command.
% mcmu tenant -G -l Listing DB VM Group... Status : Active Description : VMgroupName : mc5dbzg1 editable : True deletable : True progress : False VMgroupID : 1 % mcmu patch -p update_oh -z mc5dbzg1
Example of updating the DB in VM group called mc5dbzg1 for the DB home at /u01/app/oracle/product/12.1.0.2/dbhome_1:
The first two commands display the DB VM group name and the full path of the DB home that are needed for the mcmu patch command. These commands are described in List a Summary of All DB VM Groups (CLI) and List Details for a DB Home (CLI).
% mcmu tenant -G -l Listing DB VM Group... Status : Active Description : VMgroupName : mc5dbzg1 editable : True deletable : True progress : False VMgroupID : 1 % mcmu tenant -H -L 2 DB HOME INFORMATION ID: 2 VM_ID: 2 VMGROUP_ID: 1 DB_HOME: /u01/app/oracle/product/12.1.0/db_12c VERSION: 12.1.0.2 TYPE: RAC PATCH: 12.1.0.2.160419 STATUS: Active % mcmu patch -p update_oh -z mc5dbzg1 --oh /u01/app/oracle/product/12.1.0.2/dbhome_1
Example of updating multiple components (GI and OS in the kernel zone, and the storage array firmware) on one line:
% mcmu patch -p update_acfs,update_kz,update_jbod
To verify the new versions, use one of these procedures: