High Availbility

OS & Virtualization

Wednesday, August 28, 2019

Patching Exadata

Exadata Storage Servers are patched using the  patchmgr  utility.



Current image info: we gathered this info by running imageinfo -v on each node including cells

root>dcli -g /opt/oracle.SupportTools/onecommand/dbs_group -l root "imageinfo | grep 'Image version'"   --> for db nodes
root>dcli -g /opt/oracle.SupportTools/onecommand/cell_group -l root "imageinfo | grep 'Image version'"  --> for cell nodes


SSH equivalency : We checked the ssh equivalency,
dcli -g cell_group -l root 'hostname -i'

checked our exachk version using "exachk -v" and we checked if it is in the most up-to-date version..

Downloading the new Image files
downloaded and unzipped patch files should belong to root user..

Running Patchmgr Precheck
(first for Cells, then for Dbs, lastly for Infiniband Switches
 # ./patchmgr -cells cell_group -patch_check_prereq -rolling

Upgrading  Database Nodes : (must be executed from node 1 for upgrading node 2 and from node 2 for upgrading node 1,


# ./patchmgr -dbnodes dbs_group -upgrade -log_dir auto -target_version 12.2.1.1.4.171128 -iso_repo .zip   (approx: 1 hour)

--upgrading image of db node 1
# ./patchmgr -dbnodes dbs_group -upgrade -log_dir auto -target_version 12.2.1.1.4.171128 -iso_repo .zip (approx: 1 hour)
Approx Duration : 10 mins per db.

No comments: