To apply a patch on a single host, use the opatchauto apply
command. This is the same command as opatchauto apply —analyze
, except you remove the —analyze
argument when you are ready to apply the patch.
This topic shows an example of using the opatchauto apply
command to apply a patch to an Oracle Fusion Middleware environment on a single host.
This example assumes that:
The patch you have downloaded has been saved to a directory that is named for the patch number in My Oracle Support. In this case, the patch number is 15941858.
The user runs the OPatchAuto command from the ORACLE_HOME
/OPatch
directory and includes the location of the patch (PATCH_HOME) as an argument to the command.
Note:
When you run the opatchauto apply
command, make a note of the session id (for example, EKZR) in the command output. This will simplify the rollback process if you decide to roll back the patch later.
opatchauto apply PATCH_HOME -instance DOMAIN_HOME -wallet wallet_location -walletPassword password_ifneeded -wls-admin-host weblogic_adminserver_host:port
For example:
opatchauto apply /home/oracle/patches/15941858 -instance /home/oracle/config/domains/exampledomain -wallet /tmp/samplewallet -walletPassword password -wls-admin-host examplehost.exampledomain.com:7001