如何OIM 11.1.1.5.0打补丁到11.1.1.5.2

原创 2015年11月17日 19:17:23

将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的补丁

点击该连接,下载相应的补丁(选择11.1.1.5.0):

下载结束后将其上传到Linux服务器上并解压:

这时我们就可以用opatch这个命令来安装该文件了。

注:先设置好ORACLE_HOME的环境变量,正常情况下我们的ORACLE_HOME的环境变量是

但是我们需要给这个中间件打补丁,就必须更改ORACLE_HOME的路径,将原来的路径更改为ORACLE_MIDDLEWARE_HOME

这样我们才能打补丁,否则会出现下面这个状况:

做这个操作的时候我还没有更改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 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.

 

成功

 

以同样的方式安装OIM的patch,先解压缩,然后进入到该patch所在的路径下

更改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]$ 

 

成功!

重启服务……

版权声明:研究技术的朋友,多多分享:-)

相关文章推荐

Oracle OIM 原理

Oracle OIM是甲骨文的身份信息管理的产品。主要工作流程简单的说就是,从可信源(一般是企业系统的HR系统数据源)回收部分必要的用户信息,然后根据配置在OIM中创建用户,再将用户推送到企业其他系统...

OIM 10g 完全删除一个帐号

How to remove all users whose USR_LOGIN beginning with "T11111" from USR table individually?  SET SE...

Oracle+Identity+Management+11g+Release+1+安装 (OID、OIM)

前言 本文记录了安装Oracle Identity Management (11.1.1.5.0) (以下简称oidm),Oracle Identity and Access Management ...

Install OIM9.1.0.1 on RHEL5.4

一、环境    OS: Red Hat Enterprise Linux 5.4    IP Address: 10.100.100.160    FQDN: oiam.sttg-poc.com二、R...

AVEVA_Business_Paper-OIM_for_OOs

  • 2013年12月17日 18:30
  • 1.11MB
  • 下载

【分享】魔王的地下要塞1+2(デモニオン)【日文硬盘版】(带全CG存档+打开存档+1.03升级+SSG补丁)

Y 游戏原名:デモニオン ~魔王の地下要塞~ 中文译名:魔王的地下要塞 出品公司:Astronauts 游戏语言:日语 发行日期:2.42GB 游戏容量:2012-04-27 游戏类型:迷宫防卫&侵...

oim11g 10-20lab

  • 2015年04月12日 09:50
  • 31.29MB
  • 下载

OIM install Guide

  • 2008年05月09日 08:47
  • 1.57MB
  • 下载

【黑苹果教程】对笔记本的 DSDT/SSDT 打补丁

版权说明:本文章参考tonymacx86的Patching LAPTOP DSDT/SSDTs这篇文章, 如果需要转载,请注明原文地址: 概览为了让OS X的各个组件在你的笔记本上更好的运行,你...
  • wr132
  • wr132
  • 2017年01月31日 16:20
  • 15121
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:如何OIM 11.1.1.5.0打补丁到11.1.1.5.2
举报原因:
原因补充:

(最多只允许输入30个字)