The Opatch utility has automated the patch application for the Oracle Grid Infrastructure (GI) home and
the Oracle RAC database homes. It operates by querying existing configurations and automating the steps
required for patching each Oracle RAC database home of same version and the GI home.
The utility must be executed by an operating system (OS) user with root privileges, and it must be
executed on each node in the cluster if the GI home or Oracle RAC database home is in non-shared storage. The utility should not be run in parallel on the cluster nodes.
Depending on command line options specified, one invocation of opatchauto can patch the GI home,
Oracle RAC database homes, or both GI and Oracle RAC database homes of the same Oracle release
version as the patch. You can also roll back the patch with the same selectivity.
Add the directory containing the opatchauto to the $PATH environment variable. For example:# export PATH=$PATH:/OPatch
To patch the GI home and all Oracle RAC database homes of the same version:# opatchauto apply /32226239
To patch only the GI home:# opatchauto apply /32226239 -oh
To patch one or more Oracle RAC database homes:# opatchauto apply /32226239 -oh ,
To roll back the patch from the GI home and each Oracle RAC database home:# opatchauto rollback /32226239
To roll back the patch from the GI home:# opatchauto rollback /32226239 -oh
To roll back the patch from the Oracle RAC database home:# opatchauto rollback /32226239 -oh ,
For more information about opatchauto, see Oracle® OPatch User's Guide.
For detailed patch installation instructions, see Patch Installation.