How to Apply a Grid Infrastructure Patch Before Grid Infrastructure Configuration (before root.sh or rootupgrade.sh or gridsetup.bat) is Executed (文档 ID 1410202.1)
18.1 and above
1. Unzip Grid Infrastructure Gold Image to the Desired GI Home Location on the Local Node as the Grid user
2. Download and Install the latest OPatch Version (Patch 6880880) to the extracted GI Gold Image as the Grid user:
Note: Please take a backup of ORACLE_HOME/OPatch into a dedicated backup location. Further, make sure no directory ORACLE_HOME/OPatch exist and unzip the OPatch downloaded zip into ORACLE_HOME directory
$ unzip -d $GI_HOME p6880880_<platform version info>.zip
3. Install/Upgrade the 18c GI and apply the patch to the Gold Image at the same time by running the following as the Grid user:
To apply only Release Updates:
$GI_HOME/gridSetup.sh -applyRU <downloaded patch location>
To apply only Non-RU patches:
$GI_HOME/gridSetup.sh -applyRUR <downloaded patch location>
To apply Release Updates and Non-RU patches in one command:
$GI_HOME/gridSetup.sh -applyRU <downloaded patch location> -applyOneOffs <downloaded Patch location>
For Windows, applyRU option is not supported. Install/configure the base Goldimage Software first (without -applyRU), and then install the RU using standard opatch/opatchauto process.
12.2.0.1
The steps for 12.2.0.1 are:
1. Unzip Grid Infrastructure Gold Image to the Desired GI Home Location on the Local Node as the Grid user
2. Download and Install the latest OPatch Version (Patch 6880880) to the extracted GI Gold Image as the Grid user:
Note: Please take a backup of ORACLE_HOME/OPatch into a dedicated backup location. Further, make sure no directory ORACLE_HOME/OPatch exist and unzip the OPatch downloaded zip into ORACLE_HOME directory
$ unzip -d $GI_HOME p6880880_<platform version info>.zip
3. Apply the patch to the Gold Image by running the following as the Grid user:
To apply only Release Updates:
$GI_HOME/gridSetup.sh -applyPSU <downloaded patch location>
To apply only Non-RU patches:
$GI_HOME/gridSetup.sh -applyOneOffs <downloaded patch location>
To apply Release Updates and Non-RU patches in one command:
$GI_HOME/gridSetup.sh -applyPSU <downloaded patch location> -applyOneOffs <downloaded patch location>