Patching Oracle Grid Infrastructure and Oracle AI Databases Simultaneously
This procedure patches Oracle Grid Infrastructure and Oracle AI Databases on the cluster to the latest patch level without cluster downtime.
Before You Begin
- In this procedure, Oracle Grid Infrastructure 26ai is running on the destination cluster. Working copy
GI_HOME_26ai_WCPYis the active Grid home on this cluster. Working copyDB_HOME_26ai_WCPYruns an Oracle RAC 26ai Database with running database instancedb1. Working copyDB_HOME_26ai_WCPYruns an Oracle RAC 21c Database with running database instancedb2 - Ensure that you have images
GI_HOME_26ai_PSU1,DB_HOME_26ai_PSU1,DB_HOME_21c_PSU5with the required patches for Oracle Grid Infrastructure and Oracle RAC Database on the Fleet Patching and Provisioning Server. - The groups configured in the source home must match with those in the destination home.
Procedure
Prepare Oracle FPP Client or
rhpclient-less target Oracle homes as follows:Provision software-only Grid home on the cluster to be patched:
$ rhpctl add workingcopy -workingcopy GI_HOME_26ai_PATCHED_WCPY -image GI_HOME_26ai_PSU1 -client CLUSTER_005 -softwareonlyProvision each release Database home, without database instances, to be patched:
$ rhpctl add workingcopy -workingcopy DB_HOME_26ai_PATCHED_WCPY -image DB_HOME_26ai_PSU1 $ rhpctl add workingcopy -workingcopy DB_HOME_21c_PATCHED_WCPY -image DB_HOME_21c_PSU5
- Patch Oracle Grid Infrastructure and all Oracle RAC Databases on
node1as follows:$ rhpctl move gihome -sourcewc GI_HOME_26ai_WCPY -destwc GI_HOME_26ai_PATCHED_WCPY -auto -dbhomes DB_HOME_21c_WCPY=DB_HOME_21c_PATCHED_WCPY,DB_HOME_26ai_WCPY=DB_HOME_26ai_PATCHED_WCPY -targetnode node1 {authentication_option}When you run the command, you move your active Oracle Grid Infrastructure from working copy
GI_HOME_26ai_WCPYtoGI_HOME_26ai_PATCHED_WCPY, Oracle RAC Databasedb1fromDB_HOME_26ai_WCPYtoDB_HOME_26ai_PATCHED_WCPY, and Oracle RAC Databasedb2fromDB_HOME_21c_WCPYtoDB_HOME_21c_PATCHED_WCPY.