1.5 Patching Oracle Grid Infrastructure Without Changing the Grid Home Path

This procedure explains how to patch Oracle Grid Infrastructure without changing the Grid home path.

Before You Begin

  • Ensure that the gold image containing the Grid home is imported and exists on the Rapid Home Provisioning Server.

  • Ensure that the directory you provide in the ­path option is not an existing directory.

  • If you are moving from one OLFS-compliant Grid home to another, then ensure that the image GIHOME_12201_LPM with Oracle Layered File System (OLFS) enabled, is available.

Procedure for Patching

  1. To patch a Grid home and move it to Oracle Layered File System (OLFS), from the Rapid Home Provisioning Server, run one of the following commands:
    1. To patch a Grid home managed by Rapid Home Provisioning (the source working copy exists because the Oracle home is managed by Rapid Home Provisioning):
      [GRID:grid@testuser:/grid_home]> rhpctl move gihome -srcwc GI_HOME_12201
       -destwc GI_HOME_12201_PSU1 -aupath  /u01/app/orabase/product/12.2.0.1/aupath
      -agpath /u01/app/orabase/product/12.2.0.1/aupath -image -path /u01/app/orabase/product/12.2.0.1/grid

      GI_HOME_12201 is the source working copy of Grid home to be patched and GI_HOME_12201_PSU1 is the working copy of the Grid home software with the patches applied.

      /u01/app/orabase/product/12.2.0.1/agpath and /u01/app/orabase/product/12.2.0.1/aupath are the logical paths that resolve to the physical path /u01/app/orabase/product/12.2.0.1/grid when the Grid home is patched.

    2. To patch an unmanaged Grid home (the source working copy does not exist because the Oracle home is not managed by Rapid Home Provisioning):
      [GRID:grid@testuser:/grid_home]> rhpctl move gihome -sourcehome /u01/app/grid
       -destwc GI_HOME_12201_PSU1 -aupath /u01/app/orabase/product/12.2.0.1/aupath 
      -agpath /u01/app/orabase/product/12.2.0.1/agpath -image -path /u01/app/orabase/product/12.2.0.1/grid

      /u01/app/grid is the path of the Grid home to be patched and GI_HOME_12201_PSU1 is the working copy of the Grid home software with the patches applied.

      /u01/app/orabase/product/12.2.0.1/agpath and /u01/app/orabase/product/12.2.0.1/aupath are the logical paths that resolve to the physical path /u01/app/orabase/product/12.2.0.1/grid when the Grid home is patched.

  2. To patch a Grid home that is compliant with Oracle Layered File System (OLFS), from the Rapid Home Provisioning Server, run the following:
    [GRID:grid@testuser:/grid_home]> rhpctl move gihome -sourcewc gihome12201_lpm
     -destwc gihome12201_psu1_lpm -aupath /u01/app/orabase/product/12.2.0.1/aupath 
    -image GIHOME_12201_LPM

    The Grid home running from the source working copy gihome12201_lpm is moved to the working copy gihome12201_psu1_lpm, based on the image GIHOME_12201_LPM and contains the patches.