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.
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:
- Log in using a member of the Administrators group and go to the directory
Grid_homeis the path to the Oracle Restart home.
- 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.batscript to stop Oracle Restart, as shown in the following example:
DRIVE_LETTER:\Grid_home\crs\install> roothas.bat -unlock
Starting with Oracle Database 12c Release 1 (188.8.131.52), the
roothas.batscript replaces the
roothas.plscript in the Oracle Grid Infrastructure home.
roothas.batscript stops Oracle Restart and then verifies that it is stopped.
- After the Oracle Restart stack is completely shut down, perform the changes to the software installed in the Grid home.Apply the patches using
- Lock the Grid home:
- Use the following command to restart the Oracle Restart stack:
DRIVE_LETTER:\Grid_home\bin> crsctl start has
Example 5-2 Enabling Oracle ACFS on Oracle Restart Configurations
To use Oracle ACFS on Oracle Restart configurations, you must first enable Administrator access for Oracle ACFS using the following command:
DRIVE_LETTER:\cd Grid_home\crs\install DRIVE_LETTER:\Grid_home\crs\install>roothas.bat -lockacfs