Extract the Oracle Grid Infrastructure Files

From your client connection to the Podman container as the grid user, download, extract Oracle Grid Infrastructure binaries, and patch the binary files to 21.7.

For example:

  1. Ensure that the Grid user has read-write-execute privileges in the software stage home in the Oracle RAC node 1 container (in this example, /software/stage).
  2. Confirm that you have downloaded and staged the required files for Oracle Grid Infrastructure and Oracle Database Release 21c (21.3), as well as the patch files. You must be able to see the Oracle Grid Infrastructure and Oracle Real Application Clusters (Oracle RAC) software staged under the path /stage/software inside the Oracle RAC Node 1 container.

    $ ls -l /software/stage/*.zip
    -rw-r--r--. 1 1000 1000 3109225519 Aug 2 17:54 /software/stage/LINUX.X64_213000_db_home.zip
    -rw-r--r--. 1 1000 1000 2422217613 Aug 2 17:50 /software/stage/LINUX.X64_213000_grid_home.zip
    -rw-r--r--. 1 1000 1000 234948193 Aug 2 17:42 /software/stage/p32869666_217000ACFSRU_Linux-x86-64.zip
    -rw-r--r--. 1 1000 1000 1537529216 Aug 2 17:42 /software/stage/p34155589_210000_Linux-x86-64.zip
    -rw-r--r--. 1 1000 1000 210466588 Aug 2 17:43 /software/stage/p34339952_217000OCWRU_Linux-x86-64.zip
    -rw-r--r--. 1 1000 1000 124211908 Aug 2 17:43 /software/stage/p6880880_210000_Linux-x86-64.zip
  3. As the Grid user, unzip the binaries to the 21c Oracle Grid Infrastructure Grid home. For example:

    $ cd /u01/app/21c/grid
    $ unzip -q /software/stage/LINUX.X64_213000_grid_home.zip
    $ cd /software/stage
    $ unzip -q p32869666_217000ACFSRU_Linux-x86-64.zip
    $ unzip -q p34155589_210000_Linux-x86-64.zip
    $ unzip -q p34339952_217000OCWRU_Linux-x86-64.zip
    
    
  4. As the grid user, unzip the new OPatch version in the Oracle Grid Infrastructure home to replace the existing one. For example, where OPATCH-patch-zip-file is the OPatch zip file:

    $ cd /u01/app/21c/grid
    $ mv OPatch OPatch_21.3
    $ unzip -q /software/stage/OPATCH-patch-zip-file

    For example, for the OPatch 12.2.0.1.32 for DB 21.0.0.0.0 (Jul 2022) Product Oracle Global Lifecycle Management OPatch utility:

    $ cd /u01/app/21c/grid
    $ mv OPatch OPatch_21.3
    $ unzip -q /software/stage/p6880880_210000_Linux-x86-64.zip

    After you unzip the OPatch zip file, you can remove the OPatch_21.3 directory.