Applying Patches when Oracle Clusterware Fails to Start

If the Oracle Clusterware stack does not start because of any error, then you can patch Oracle Grid Infrastructure using the OPatch utility.

  1. Download patches you want to apply from My Oracle Support:

    Select the Patches and Updates tab to locate the patch.

    Oracle recommends that you select Recommended Patch Advisor, and enter the product group, release, and platform for your software. My Oracle Support provides you with a list of the most recent Release Updates (RUs) and Release Update Revisions (RURs).

    Place the patches in an accessible directory, such as /tmp.

  2. Review the patch documentation for the patch you want to apply, and complete all required steps before starting the patch upgrade.
  3. As the root user, stop the Oracle Clusterware stack on the first node.
    # $ORACLE_HOME/bin/crsctl stop crs -f
  4. Unlock the Oracle Grid Infrastructure home on the first node.
    # $ORACLE_HOME/crs/install/rootcrs.sh -unlock
  5. As the grid user, follow the instructions in the patch documentation to apply the patch on the first node.
    $ $ORACLE_HOME/OPatch/opatch apply patch_directory_location/patch_ID
    Wait for the patching to finish on the first node before patching other cluster nodes.
  6. As the root user, lock the Oracle Grid Infrastructure home on the first node.
    # $ORACLE_HOME/rdbms/install/rootadd_rdbms.sh
    # $ORACLE_HOME/crs/install/rootcrs.sh -lock
  7. Update Oracle Local Registry (OLR) to the patch level on the first node.
    # $ORACLE_HOME/bin/clscfg -localpatch
  8. Check if Oracle Clusterware is in the ROLLING PATCH mode.
    $ crsctl query crs activeversion -f
    Oracle Clusterware active version on the cluster is [23.0.0.0.0]. 
    The cluster upgrade state is [NORMAL]. The cluster active patch level is [0].
    If Oracle Clusterware is not in the ROLLING PATCH mode, then set Oracle Clusterware in ROLLING PATCH mode from a node where Oracle Clusterware is online.
    $ crsctl start rollingpatch
  9. Start the Oracle Clusterware stack on the first node.
    # $ORACLE_HOME/bin/crsctl start crs
  10. Update Oracle Cluster Registry (OCR) to the patch level on the first node.
    # $ORACLE_HOME/bin/clscfg -patch
  11. Repeat steps 3 through 10 on all other cluster nodes.
    You can patch all other cluster nodes in parallel.
  12. Transition Oracle Clusterware out of the ROLLING PATCH mode.
    $ crsctl stop rollingpatch