2.2.3.2 Applying a Patch on Multiple Hosts Using the Apply Command

To apply a patch on multiple hosts, 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 multiple hosts.

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 -topology fmwcomposer_topology_file -wallet wallet_location -walletPassword password_ifneeded 

For example:

opatchauto apply /home/oracle/patches/15941858 -topology /tmp/topology.xml -wallet /tmp/samplewallet -walletPassword password