如何OIM 11.1.1.5.0打补丁到11.1.1.5.2
2015-11-17 19:17
232 查看
将OIM11.1.1.5.0安装好之后,如需要打补丁到11.1.1.5.2,则按照如下的步骤:
下载两个patch,一个是SOA的,一个是OIM的。Oracle官方文档说如果想要给OIM打补丁的话就需要先把SOA先升级。
官方文档的地址:https://updates.oracle.com/Orion/Services/download?type=readme&aru=14530777#BGBHCJJG
注意里面的第二段,需要我们先下载SOA的补丁
![](http://img1.ph.126.net/_IQeE1y78EREDqfTOHrBuQ==/1078049160819602691.jpg)
点击该连接,下载相应的补丁(选择11.1.1.5.0):
![](http://img8.ph.126.net/NUSMEn-EPbBTS5Ij_P2NKQ==/1075234411052497238.jpg)
下载结束后将其上传到Linux服务器上并解压:
![](http://img8.ph.126.net/Ge_6OH00Hy5B4a7rMxcbnw==/6597184115865990008.jpg)
这时我们就可以用opatch这个命令来安装该文件了。
注:先设置好ORACLE_HOME的环境变量,正常情况下我们的ORACLE_HOME的环境变量是
![](http://img5.ph.126.net/drpPNoR9ufeMb11qDkSUbg==/1076641785936042855.jpg)
但是我们需要给这个中间件打补丁,就必须更改ORACLE_HOME的路径,将原来的路径更改为ORACLE_MIDDLEWARE_HOME
![](http://img4.ph.126.net/M3zTbQon5yhvVQ8AGZvppA==/6597223698284586514.jpg)
这样我们才能打补丁,否则会出现下面这个状况:
做这个操作的时候我还没有更改ORACLE_HOME [oracle@poc soa_patch]$ /u01/Middleware/Oracle_SOA1/OPatch/opatch apply Invoking OPatch 11.1.0.8.3 Oracle Interim Patch Installer version 11.1.0.8.3 Copyright (c) 2010, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/product/11.2.0/dbhome_1 Central Inventory : /u01/app/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.8.3 OUI version : 11.2.0.2.0 OUI location : /u01/app/oracle/product/11.2.0/dbhome_1/oui Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-07-31_16-05-57PM.log Patch history file: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch_history.txt Failed to load the patch object. Possible causes are: The specified path is not an interim Patch shiphome Meta-data files are missing from the patch area Patch location = /u01/oim_install/soa_patch Details = PatchObject constructor: Input file "/u01/oim_install/soa_patch/etc/config/actions" or "/u01/oim_install/soa_patch/etc/config/inventory" does not exist. ApplySession failed: PatchObject constructor: Input file "/u01/oim_install/soa_patch/etc/config/actions" or "/u01/oim_install/soa_patch/etc/config/inventory" does not exist. System intact, OPatch will not attempt to restore the system OPatch failed with error code 73 更改ORACLE_HOME之后 [oracle@poc soa_patch]$ export ORACLE_HOME=/u01/Middleware/Oracle_SOA1 [oracle@poc soa_patch]$ echo $ORACLE_HOME /u01/Middleware/Oracle_SOA1 [oracle@poc soa_patch]$ /u01/Middleware/Oracle_SOA1/OPatch/opatch apply 13106312/ Invoking OPatch 11.1.0.8.3 Oracle Interim Patch Installer version 11.1.0.8.3 Copyright (c) 2010, Oracle Corporation. All rights reserved. Oracle Home : /u01/Middleware/Oracle_SOA1 Central Inventory : /u01/app/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.8.3 OUI version : 11.1.0.9.0 OUI location : /u01/Middleware/Oracle_SOA1/oui Log file location : /u01/Middleware/Oracle_SOA1/cfgtoollogs/opatch/opatch2012-07-31_16-07-53PM.log Patch history file: /u01/Middleware/Oracle_SOA1/cfgtoollogs/opatch/opatch_history.txt OPatch detects the Middleware Home as "/u01/Middleware" ApplySession applying interim patch '13106312' to OH '/u01/Middleware/Oracle_SOA1' Running prerequisite checks... OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/u01/Middleware/Oracle_SOA1') Is the local system ready for patching? [y|n] (这里选Y) y User Responded with: Y Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '13106312' for restore. This might take a while... Backing up files affected by the patch '13106312' for rollback. This might take
11727
a while... Patching component oracle.integration.soainfra, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_SOA1/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar" ApplySession adding interim patch '13106312' to inventory Verifying the update... Inventory check OK: Patch ID 13106312 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 13106312 are present in Oracle Home. The local system has been patched and can be restarted. OPatch succeeded.
成功
![](http://img5.ph.126.net/oAESLeiPRVZ8uER0Aq5U3Q==/3211629484270368775.jpg)
以同样的方式安装OIM的patch,先解压缩,然后进入到该patch所在的路径下
![](http://img0.ph.126.net/ZdwWhS4F05d5W6xQV3vzCA==/2482609294605776850.jpg)
更改ORACLE_HOME的路径 [oracle@poc OPatch]$ export ORACLE_HOME=/u01/Middleware/Oracle_IDM2/ [oracle@poc OPatch]$ echo $ORACLE_HOME /u01/Middleware/Oracle_IDM2/ [oracle@poc oimbp02]$ ls 13399365 OIM_BP02_p13399365_111150_Generic.zip [oracle@poc oimbp02]$ /u01/Middleware/Oracle_IDM2/OPatch/opatch apply 13399365/ Invoking OPatch 11.1.0.8.3 Oracle Interim Patch Installer version 11.1.0.8.3 Copyright (c) 2010, Oracle Corporation. All rights reserved. Oracle Home : /u01/Middleware/Oracle_IDM2 Central Inventory : /u01/app/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.8.3 OUI version : 11.1.0.9.0 OUI location : /u01/Middleware/Oracle_IDM2//oui Log file location : /u01/Middleware/Oracle_IDM2/cfgtoollogs/opatch/opatch2012-07-31_16-12-14PM.log Patch history file: /u01/Middleware/Oracle_IDM2/cfgtoollogs/opatch/opatch_history.txt OPatch detects the Middleware Home as "/u01/Middleware" ApplySession applying interim patch '13399365' to OH '/u01/Middleware/Oracle_IDM2' Running prerequisite checks... OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/u01/Middleware/Oracle_IDM2') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '13399365' for restore. This might take a while... Backing up files affected by the patch '13399365' for rollback. This might take a while... Patching component oracle.oim.server, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-entitymgr.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-configmbeans.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-workflowservice.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-auth-server.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-canonic.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/icf/intg/icf-oim-intg.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/taskflows/ForgotPasswordTaskFlow.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/taskflows/IdentityTaskFlow.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-oimupgrade.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-passwordmgmt.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-reconciliation.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-asyncwsclient.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-spmlws.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-accesspolicy.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-tasklist.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-requestactions.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-ldap-sync.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-identity.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-configservice.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-oimdataproviders.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/Xellerate.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-callbacks.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-request.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-sso.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-notification.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-selfservice.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimsignaturembean.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimsigmbean.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/OIMAuthenticator.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimmbean.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/lib/iam-platform-deploymentframework.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/oim.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/oimdb.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-xsd.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-dsml.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-auth-client.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-context.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-pluginframework.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-utils.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/client/oimclient.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAPI.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAdapterUtilities.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDataObjectBeans.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDataObjects.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDDM.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlScheduler.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlVO.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/DW2PS1Upgrade.sh" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/DW2PS1Upgrade.bat" Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_template_patch.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/webapp/admin.war" Copying file to "/u01/Middleware/Oracle_IDM2/server/webapp/xlWebApp.war" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-Scheduler.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlCache.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/role-sod.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/workflows/composites/OAACGRoleAssignSODCheck.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAttestation.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/ssointg/oimcfgtool.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-kernel.jar" Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_extendIDM11gR1dev_template.zip" Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_template.jar" Copying file to "/u01/Middleware/Oracle_IDM2/inventory/Scripts/ext/jlib/ojdbc6dms.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-xsd.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/MLSLanguageSeedingConfig.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/PatchAutomationPAAS.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/UpdateOAACGConfig.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/boot.properties" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/opatch-import-export.template" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/patch_weblogic.sh" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/patch_weblogic.bat" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/features/authzpolicydefn/RequestTemplateManagementPolicies.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/metadata/iam-features-ldap-sync/LDAPRole.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/mt/LDAPRoleMT.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/lib/seedSchedulerData.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/seed-rcu-data.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/deploySDPClient.properties" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/deploySDPClient.py" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/oimupgrade.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/patchJob.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/patchTask.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/setup.xml" Copying file to "/u01/Middleware/Oracle_IDM2/temp/RequestTemplateManagementPolicies.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/weblogicImportMetadataOpatch.py" Copying file to "/u01/Middleware/Oracle_IDM2/server/oes/oimpds.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/PatchAutomationPAASNotification.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/importDir/md2/metadata/iam-features-identity/IdentityNotificationEvent.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/Seed/Template/templates/template2.properties" Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/Seed/Template/templates/notification2.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/generate.sh" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-authzpolicydefn.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/OIMJMSModuleQueueConfig.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/ContextDataUpgrade.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/client/oimclient.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/TaskDetails.ear" Patching component oracle.oim.design_console, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-auth-client.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-context.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-pluginframework.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-utils.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/oimclient.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAPI.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAdapterUtilities.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDataObjectBeans.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDataObjects.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDDM.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlFvcUtil.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlScheduler.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlVO.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/XellerateClient.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlCache.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAttestation.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/fvc.properties" Patching component oracle.oim.remote_manager, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/iam-platform-utils.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/oimclient.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlAPI.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlDataObjects.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlScheduler.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlVO.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/oimclient.jar" Patching component oracle.as.upgrade, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_IDM2/jlib/oimua.jar" ApplySession adding interim patch '13399365' to inventory Verifying the update... Inventory check OK: Patch ID 13399365 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 13399365 are present in Oracle Home. Execution of 'sh /u01/oim_install/oimbp02/13399365/custom/scripts/post -apply 13399365 ': log dir does not exist hence creating one Return Code = 0 The local system has been patched and can be restarted. OPatch succeeded. [oracle@poc oimbp02]$
成功!
重启服务……
下载两个patch,一个是SOA的,一个是OIM的。Oracle官方文档说如果想要给OIM打补丁的话就需要先把SOA先升级。
官方文档的地址:https://updates.oracle.com/Orion/Services/download?type=readme&aru=14530777#BGBHCJJG
注意里面的第二段,需要我们先下载SOA的补丁
![](http://img1.ph.126.net/_IQeE1y78EREDqfTOHrBuQ==/1078049160819602691.jpg)
点击该连接,下载相应的补丁(选择11.1.1.5.0):
![](http://img8.ph.126.net/NUSMEn-EPbBTS5Ij_P2NKQ==/1075234411052497238.jpg)
下载结束后将其上传到Linux服务器上并解压:
![](http://img8.ph.126.net/Ge_6OH00Hy5B4a7rMxcbnw==/6597184115865990008.jpg)
这时我们就可以用opatch这个命令来安装该文件了。
注:先设置好ORACLE_HOME的环境变量,正常情况下我们的ORACLE_HOME的环境变量是
![](http://img5.ph.126.net/drpPNoR9ufeMb11qDkSUbg==/1076641785936042855.jpg)
但是我们需要给这个中间件打补丁,就必须更改ORACLE_HOME的路径,将原来的路径更改为ORACLE_MIDDLEWARE_HOME
![](http://img4.ph.126.net/M3zTbQon5yhvVQ8AGZvppA==/6597223698284586514.jpg)
这样我们才能打补丁,否则会出现下面这个状况:
做这个操作的时候我还没有更改ORACLE_HOME [oracle@poc soa_patch]$ /u01/Middleware/Oracle_SOA1/OPatch/opatch apply Invoking OPatch 11.1.0.8.3 Oracle Interim Patch Installer version 11.1.0.8.3 Copyright (c) 2010, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/product/11.2.0/dbhome_1 Central Inventory : /u01/app/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.8.3 OUI version : 11.2.0.2.0 OUI location : /u01/app/oracle/product/11.2.0/dbhome_1/oui Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-07-31_16-05-57PM.log Patch history file: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch_history.txt Failed to load the patch object. Possible causes are: The specified path is not an interim Patch shiphome Meta-data files are missing from the patch area Patch location = /u01/oim_install/soa_patch Details = PatchObject constructor: Input file "/u01/oim_install/soa_patch/etc/config/actions" or "/u01/oim_install/soa_patch/etc/config/inventory" does not exist. ApplySession failed: PatchObject constructor: Input file "/u01/oim_install/soa_patch/etc/config/actions" or "/u01/oim_install/soa_patch/etc/config/inventory" does not exist. System intact, OPatch will not attempt to restore the system OPatch failed with error code 73 更改ORACLE_HOME之后 [oracle@poc soa_patch]$ export ORACLE_HOME=/u01/Middleware/Oracle_SOA1 [oracle@poc soa_patch]$ echo $ORACLE_HOME /u01/Middleware/Oracle_SOA1 [oracle@poc soa_patch]$ /u01/Middleware/Oracle_SOA1/OPatch/opatch apply 13106312/ Invoking OPatch 11.1.0.8.3 Oracle Interim Patch Installer version 11.1.0.8.3 Copyright (c) 2010, Oracle Corporation. All rights reserved. Oracle Home : /u01/Middleware/Oracle_SOA1 Central Inventory : /u01/app/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.8.3 OUI version : 11.1.0.9.0 OUI location : /u01/Middleware/Oracle_SOA1/oui Log file location : /u01/Middleware/Oracle_SOA1/cfgtoollogs/opatch/opatch2012-07-31_16-07-53PM.log Patch history file: /u01/Middleware/Oracle_SOA1/cfgtoollogs/opatch/opatch_history.txt OPatch detects the Middleware Home as "/u01/Middleware" ApplySession applying interim patch '13106312' to OH '/u01/Middleware/Oracle_SOA1' Running prerequisite checks... OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/u01/Middleware/Oracle_SOA1') Is the local system ready for patching? [y|n] (这里选Y) y User Responded with: Y Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '13106312' for restore. This might take a while... Backing up files affected by the patch '13106312' for rollback. This might take
11727
a while... Patching component oracle.integration.soainfra, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_SOA1/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar" ApplySession adding interim patch '13106312' to inventory Verifying the update... Inventory check OK: Patch ID 13106312 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 13106312 are present in Oracle Home. The local system has been patched and can be restarted. OPatch succeeded.
成功
![](http://img5.ph.126.net/oAESLeiPRVZ8uER0Aq5U3Q==/3211629484270368775.jpg)
以同样的方式安装OIM的patch,先解压缩,然后进入到该patch所在的路径下
![](http://img0.ph.126.net/ZdwWhS4F05d5W6xQV3vzCA==/2482609294605776850.jpg)
更改ORACLE_HOME的路径 [oracle@poc OPatch]$ export ORACLE_HOME=/u01/Middleware/Oracle_IDM2/ [oracle@poc OPatch]$ echo $ORACLE_HOME /u01/Middleware/Oracle_IDM2/ [oracle@poc oimbp02]$ ls 13399365 OIM_BP02_p13399365_111150_Generic.zip [oracle@poc oimbp02]$ /u01/Middleware/Oracle_IDM2/OPatch/opatch apply 13399365/ Invoking OPatch 11.1.0.8.3 Oracle Interim Patch Installer version 11.1.0.8.3 Copyright (c) 2010, Oracle Corporation. All rights reserved. Oracle Home : /u01/Middleware/Oracle_IDM2 Central Inventory : /u01/app/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.8.3 OUI version : 11.1.0.9.0 OUI location : /u01/Middleware/Oracle_IDM2//oui Log file location : /u01/Middleware/Oracle_IDM2/cfgtoollogs/opatch/opatch2012-07-31_16-12-14PM.log Patch history file: /u01/Middleware/Oracle_IDM2/cfgtoollogs/opatch/opatch_history.txt OPatch detects the Middleware Home as "/u01/Middleware" ApplySession applying interim patch '13399365' to OH '/u01/Middleware/Oracle_IDM2' Running prerequisite checks... OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/u01/Middleware/Oracle_IDM2') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files and inventory (not for auto-rollback) for the Oracle Home Backing up files affected by the patch '13399365' for restore. This might take a while... Backing up files affected by the patch '13399365' for rollback. This might take a while... Patching component oracle.oim.server, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-entitymgr.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-configmbeans.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-workflowservice.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-auth-server.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-canonic.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/icf/intg/icf-oim-intg.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/taskflows/ForgotPasswordTaskFlow.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/taskflows/IdentityTaskFlow.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-oimupgrade.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-passwordmgmt.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-reconciliation.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-asyncwsclient.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-spmlws.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-accesspolicy.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-tasklist.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-requestactions.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-ldap-sync.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-identity.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-configservice.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-oimdataproviders.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/Xellerate.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-callbacks.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-request.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-sso.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-notification.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-selfservice.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimsignaturembean.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimsigmbean.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/OIMAuthenticator.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimmbean.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/lib/iam-platform-deploymentframework.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/oim.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/oimdb.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-xsd.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-dsml.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-auth-client.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-context.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-pluginframework.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-utils.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/client/oimclient.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAPI.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAdapterUtilities.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDataObjectBeans.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDataObjects.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDDM.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlScheduler.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlVO.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/DW2PS1Upgrade.sh" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/DW2PS1Upgrade.bat" Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_template_patch.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/webapp/admin.war" Copying file to "/u01/Middleware/Oracle_IDM2/server/webapp/xlWebApp.war" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-Scheduler.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlCache.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/role-sod.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/workflows/composites/OAACGRoleAssignSODCheck.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAttestation.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/ssointg/oimcfgtool.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-kernel.jar" Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_extendIDM11gR1dev_template.zip" Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_template.jar" Copying file to "/u01/Middleware/Oracle_IDM2/inventory/Scripts/ext/jlib/ojdbc6dms.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-xsd.ear" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/MLSLanguageSeedingConfig.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/PatchAutomationPAAS.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/UpdateOAACGConfig.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/boot.properties" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/opatch-import-export.template" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/patch_weblogic.sh" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/patch_weblogic.bat" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/features/authzpolicydefn/RequestTemplateManagementPolicies.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/metadata/iam-features-ldap-sync/LDAPRole.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/mt/LDAPRoleMT.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/lib/seedSchedulerData.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/seed-rcu-data.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/deploySDPClient.properties" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/deploySDPClient.py" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/oimupgrade.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/patchJob.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/patchTask.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/setup.xml" Copying file to "/u01/Middleware/Oracle_IDM2/temp/RequestTemplateManagementPolicies.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/weblogicImportMetadataOpatch.py" Copying file to "/u01/Middleware/Oracle_IDM2/server/oes/oimpds.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/PatchAutomationPAASNotification.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/importDir/md2/metadata/iam-features-identity/IdentityNotificationEvent.xml" Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/Seed/Template/templates/template2.properties" Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/Seed/Template/templates/notification2.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/generate.sh" Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-authzpolicydefn.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/OIMJMSModuleQueueConfig.class" Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/ContextDataUpgrade.jar" Copying file to "/u01/Middleware/Oracle_IDM2/server/client/oimclient.zip" Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/TaskDetails.ear" Patching component oracle.oim.design_console, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-auth-client.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-context.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-pluginframework.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-utils.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/oimclient.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAPI.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAdapterUtilities.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDataObjectBeans.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDataObjects.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDDM.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlFvcUtil.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlScheduler.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlVO.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/XellerateClient.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlCache.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAttestation.jar" Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/fvc.properties" Patching component oracle.oim.remote_manager, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/iam-platform-utils.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/oimclient.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlAPI.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlDataObjects.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlScheduler.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlVO.jar" Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/oimclient.jar" Patching component oracle.as.upgrade, 11.1.1.5.0... Copying file to "/u01/Middleware/Oracle_IDM2/jlib/oimua.jar" ApplySession adding interim patch '13399365' to inventory Verifying the update... Inventory check OK: Patch ID 13399365 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 13399365 are present in Oracle Home. Execution of 'sh /u01/oim_install/oimbp02/13399365/custom/scripts/post -apply 13399365 ': log dir does not exist hence creating one Return Code = 0 The local system has been patched and can be restarted. OPatch succeeded. [oracle@poc oimbp02]$
成功!
重启服务……
相关文章推荐
- HTMl5的sessionStorage和localStorage
- Vmware vSphere(Esxi)常见问题汇总
- 类之间使用运算符重载操作
- 【python在git bash下的中文显示】 UnicodeEncodeError: 'ascii' codec can't encode characters in position ...
- Sonar的使用
- NGINX+UWSGI部署生产的DJANGO代码
- 【hihocoder1255 2015北京赛区G】【简单模拟 简化写法超棒哦】 Mysterious Antiques in Sackler Museum 四个矩形选三个 恰好拼成大矩形
- 时间戳
- SQL的运行过程(好形象)
- ORA-01589错误的解决办法
- 忘记Linux系统root密码
- 如何将VMWare Workstation 虚拟机文件导入到ESX Server——VMX 转成 OVF 格式
- 如何利用Linux系统做一个NFS服务器
- Linux安装HTTPD服务
- Linux下各个文件夹的用处
- java中的各个数据结构区别
- 如何通过指令输入来启动安卓应用程序
- 编码风格约束
- svn报错解决方法:svn:E200030: sqlite[S11]:database disk image is malformed
- 为什么我们要用struts2,springMVC,spring