如何OIM 11.1.1.5.0打补丁到11.1.1.5.2

将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]$ 

 

成功!

重启服务……

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值