如何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]$ 

 

成功!

重启服务……

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

PSU升级时报错:OPatch failed with error code 73

/u01/app/oracle/grid/OPatch/opatch auto /soft/psu/gipsu/18706472/ -oh /u01/app/oracle/grid/ -ocmrf /...
  • lichangzai
  • lichangzai
  • 2014年07月25日 21:21
  • 6393

Oracle OIM 原理

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

OIM API Usage

OIM是Oracle出品的一个身份管理解决方案,提供了API可以给第三方程序调用。今天尝试了一下如何从OIM外部调用API,并调用API完成用户注册功能。 使用的产品是OIM10g,具体版本号是9.1...
  • tle_sammy
  • tle_sammy
  • 2011年06月29日 21:44
  • 1029

RAC打补丁步骤实例

一.关闭两节点 ,停止服务instance->asm->listenter(adm,listener没有先后) 二.上传补丁解压,进入解压文件夹 bug 6455659 rac1-> cd ...
  • launch_225
  • launch_225
  • 2012年07月29日 22:29
  • 2773

oracle数据库如何打补丁

给软件打补丁相当于给人打预防针,对系统的稳定运行至关重要。本文详细、系统地介绍了Oracle数据库补丁的分类、安装、管理等问题。 厂商提供给用户的软件补丁的形式多为编译后的库函数,所以安装软件补丁实际...
  • snowfoxmonitor
  • snowfoxmonitor
  • 2014年06月20日 17:27
  • 5747

Linux下打补丁

把改好的u-boot-2010.09复制到文件夹patch,将u-boot-2010.09重命名为u-boot-2010.09-fl2440 进入u-boot-2010.09-fl2440,先make...
  • lumqi
  • lumqi
  • 2017年04月18日 09:16
  • 240

怎样为Linux内核打补丁

在Linux内核邮件列表中一个经常被问到的问题就是怎样为Linux内核打一个补丁,或者更具体一点说,存在这么多的主干/分支,一个补丁到底要打在哪个版本的基础内核上。希望这篇文档能够为你解释明白这一点。...
  • vrix
  • vrix
  • 2009年08月27日 09:06
  • 2288

Linux下patch打补丁命令

此命令用于为特定软件包打补丁,他使用diff命令对源文件进行操作。 基本命令语法: patch [-R] {-p(n)} [--dry-run] p:为path的缩写。 n:指将patch文件中的p...
  • MAOTIANWANG
  • MAOTIANWANG
  • 2013年09月05日 09:28
  • 16899

Ubuntu下ns2中生成补丁和打补丁方法

由于ns2具有的开源的特性,所以各式各样的仿真平台被开发。为了更好的使用和管理这些不同的仿真平台,只需要在官网给出的ns-allinone-2.35(我的版本)的基础上生成相应的补丁,然后使用者只需要...
  • shuileiyan0
  • shuileiyan0
  • 2017年06月16日 16:15
  • 188

如何在suse9下打补丁

  1、 root用户登录2、 获取suse官方提供的SU90SP3.P01.iso与SU90SP3.P02.iso3、 新建一个目录作为mount点:mkdir /patch4、 mount SU9...
  • Smilings
  • Smilings
  • 2007年04月26日 11:38
  • 2691
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:如何OIM 11.1.1.5.0打补丁到11.1.1.5.2
举报原因:
原因补充:

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