Oracle Fusion MiddlewareのOracleホームに複数のパッチを適用するには、opatch napply
コマンドを使用します。
例1-2に、opatch napply
コマンドを使用してOracle Fusion MiddlewareのOracleホームに複数のパッチを適用する方法を示します。
この例では、ダウンロードしたパッチが次のようなステージング・ディレクトリに保存されていることが想定されています。
/opt/patches
また、ディレクトリがステージング・ディレクトリに変更され、ステージング・ディレクトリには各パッチのディレクトリが含まれていることも想定されています。次に例を示します。
/opt/patches/15941858 /opt/patches/15955138
例1-2 Oracle Fusion MiddlewareのOracleホームに複数のパッチを適用するためのopatch napplyコマンドの使用
> /opt/Oracle/products/fmw12c/OPatch/opatch napply -id 15941858,15955138 Oracle Interim Patch Installer version 13.3.0.0.0 Copyright (c) 2013, Oracle Corporation. All rights reserved. Oracle Home : /opt/Oracle/products/fmw12c Central Inventory : /opt/Oracle/oraInventory from : /var/opt/Oracle/oraInst.loc OPatch version : 13.3.0.0.0 OUI version : 13.3.0.0.0 Log file location : /opt/Oracle/products/fmw12c/cfgtoollogs/opatch/opatch2013-06-11_07-36-40AM_1.log OPatch detects the Middleware Home as "/opt/Oracle/products/fmw12c" Verifying environment and performing prerequisite checks... OPatch continues with these patches: 15941858 15955138 Do you want to proceed? [y|n] y User Responded with: Y All checks passed. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/opt/Oracle/products/fmw12c') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files... Applying interim patch '15941858' to OH '/opt/Oracle/products/fmw12c' Patching component oracle.wls.core.app.server, 12.2.1.0.0... Verifying the update... Applying interim patch '15955138' to OH '/opt/Oracle/products/fmw12c' Patching component oracle.wls.core.app.server, 12.2.1.0.0... Verifying the update... Patches 15941858,15955138 successfully applied. Log file location: /opt/Oracle/products/fmw12c/cfgtoollogs/opatch/opatch2013-06-11_07-36-40AM_1.log OPatch succeeded.