Modifying Oracle Grid Infrastructure for a Standalone Server Binaries After Installation

After installation, you must first stop the Oracle Restart stack to modify the software installed in your Grid home.

For example, to apply a one-off patch or modify any of the DLLs used by Oracle Restart or Oracle ASM, you must follow these steps to stop and restart the Oracle Restart stack.

Caution:

Before relinking executables, you must shut down all executables that run in the Oracle home directory that you are relinking. In addition, shut down applications linked with Oracle shared libraries.

Prepare the Oracle Restart home for modification using the following procedure:

  1. Log in using a member of the Administrators group and go to the directory Grid_home\bin, where Grid_home is the path to the Oracle Restart home.
  2. Shut down the Oracle Restart stack using the following command:
     DRIVE_LETTER:\Grid_home\bin> crsctl stop has -f
    

    Alternatively, you can use the roothas.bat script to stop Oracle Restart, as shown in the following example:

     DRIVE_LETTER:\Grid_home\crs\install> roothas.bat -unlock 
    

    Note:

    Starting with Oracle Database 12c Release 1 (12.1.0.2), the roothas.bat script replaces the roothas.pl script in the Oracle Grid Infrastructure home.

    The roothas.bat script stops Oracle Restart and then verifies that it is stopped.

  3. After the Oracle Restart stack is completely shut down, perform the changes to the software installed in the Grid home.
    Apply the patches using opatch apply.
  4. Lock the Grid home:
       DRIVE_LETTER:\Grid_home\crs\install>roothas.bat -lock
    
  5. Use the following command to restart the Oracle Restart stack:
       DRIVE_LETTER:\Grid_home\bin> crsctl start has