[grid@rac1 OPatch]$ ./opatchauto -h Oracle OPatchAuto Version 13.9.0.2.0 Copyright (c) 2016, Oracle Corporation. All rights reserved.
Usage: opatchauto [ command ] [ -help ]
Purpose: A patch orchestration tool that generates patching instructions specific to your target configuration and then uses OPatch to perform the patching operations without user intervention. Specifically, OPatchauto can: Perform pre-patch checks. Apply the patch Perform post-patch checks. Roll back patches when patch de installation is required.
OPTIONS -phBaseDir >patch.base.directory> The location of base patch directory.
-oh >home> The location of the oracle home.
-log >log> The log location.
-logLevel >log_priority> The log level (defaults to "INFO"). Supported values: [SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL, OFF]
-binary Forces execution of "-phases offline:binary-patching".
-analyze If this option is selected, the environment will be analysed for suitability of the patch on each home, without affecting the home. The patch will not be applied or rolled back, and targets will not be shut down.
-invPtrLoc >inventory.pointer.location> The central inventory pointer file location.
-host >host> The remote host or host:port.
-wallet >wallet> The location of the wallet file. It is a mandatory option from DB 12.2 onwards if Grid Home patching is requested.
-force_conflict If a conflict exist which prevents the patch from being applied, this flag can be used to force application of the patch. All the conflicting patches will be removed before applying the current patch.
-rolling Enables sdb rolling mode where database(s) are patched one after the other.
-database >database> List of databases to be patched.
-generatesteps Enables generation of steps.
-norestart The no restart option during execution.
-ocmrf >ocmrf> Location of ocmrf file.
-sdb To signify patching sharded database. Run 'opatchauto >apply|rollback> -sdb -help' to get more help on patching a sharded database.
-remote Enables remote node patching. This is supported only for Grid setup and it should be up and running.
-nonrolling Enables non-rolling mode.
PARAMETERS patch-location The patch location.
EXAMPLES To patch GI home and all RAC homes: '>GI_HOME>/OPatch/opatchauto apply >Patch_Location>'
To patch multiple homes: '>GI_HOME>/OPatch/opatchauto apply >Patch_Location> -oh >GI_HOME>,>RAC_HOME1>,>RAC_HOME2>'
To patch databases running only from RAC homes: '>RAC_HOME>/OPatch/opatchauto apply >Patch_Location>-database db1,db2...dbn'
To patch software-only installation: '>RAC_HOME>/OPatch/opatchauto apply >Patch_Location> -oh >RAC_HOME>' OR '>GI_HOME>/OPatch/opatchauto apply >Patch_Location>-oh >GI_HOME>'