Prerequisites:
Before applying the bundle patch, you need to meet the following requirements.
- OPatch version 11.1.0.8.3 or later is required. OIM 11.1.2.1.0 comes with 11.1.0.9.0.
- Patch 17032764 must be applied. This patch is a super set of patch 16478722. This is to be applied in the oracle common home directory and to jdeveloper home directory (only if you have jdevleoper installed in the middleware directory).
- Backup the following items:
- OIM, MDS, and SOA schemas
- Entire oracle home directory (E.g. Oracle_IDM1)
- WebLogic domain (E.g. user_projects/domains/oim_domain)
Apply the patch with opatch will make file system changes in the oracle home and WebLogic domain directories. Many files will be added, deleted, or updated.
- Shutdown all WebLogic server instances.
- Temporarily Set opatch path and oracle home directory.
#IDM Oracle Home export PATH=/home/oracle/Oracle/Middleware/Oracle_IDM1/OPatch:$PATH export ORACLE_HOME=/home/oracle/Oracle/Middleware/Oracle_IDM1
- Navigate inside the patch directory and apply patch.
cd /home/oracle/Desktop/OIM_Patch_112130/17532765 opatch apply
- You can view all the logs of each patch that has been applied.
/home/oracle/Oracle/Middleware/Oracle_IDM1/cfgtoollogs/opatch/
ant_home=/home/oracle/Oracle/Middleware/modules/org.apache.ant_1.7.1 java_home=/home/oracle/java/jrockit64 mw_home=/home/oracle/Oracle/Middleware oim_oracle_home=/home/oracle/Oracle/Middleware/Oracle_IDM1 soa_home=/home/oracle/Oracle/Middleware/Oracle_SOA1 weblogic.server.dir=/home/oracle/Oracle/Middleware/wlserver_10.3 #weblogic configuration variables weblogic_user=weblogic weblogic_password=Password1 soa_host=localhost soa_port=8001 #DB configuration variables operationsDB.user=DEV_OIM OIM.DBPassword=Password1 operationsDB.host=localhost operationsDB.serviceName=orcl operationsDB.port=1521 mdsDB.user=DEV_MDS mdsDB.password=Password1 mdsDB.host=localhost mdsDB.port=1521 mdsDB.serviceName=orcl oim_username=xelsysadm oim_password=Password1 oim_serverurl=t3://localhost:14000
Stage 3: Execute patch_oim_wls_.sh
This step makes changes to the database by running sql scripts. The patch_oim_wls.sh uses the patch_oim_wls.profile file.
- Start AdminServer, SOA, and OIM WebLogic server instances.
- Navigate to "$MW_HOME/Oracle_IDM1/server/bin" and execute the patch_oim_wls.sh script.
cd /home/oracle/Oracle/Middleware/Oracle_IDM1/server/bin ./patch_oim_wls.sh
- View the "patch_oim_wls.log" log file in the same directory given in step 2 to validate if the script ran successfully.
- Remove the follwing directory in your domain home:
cd /home/oracle/Oracle/Middleware/user_projects/domains/oim_domain/servers/oim_server1/tmp/_WL_user rm -rf oracle.iam.console.identity.self-service.ear_V2.0
- You may need to recreate the boot.properties files for the managed server instances (E.g OIM and SOA) since the patch removes them. Refer to Enabling Auto Login by Using the Boot Identity File.
No comments:
Post a Comment