Archive

Archive for the ‘Oim-Oracle Identity Manager’ Category

Step By Step Installation of oracle identity managent 11g(11.1.1.3.0)–Linux

May 16, 2011 1 comment

In this article I will describe the step by step installaiton oracle identity and Access management 11g:

Environment Details:

$ cat redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

$ uname -a
Linux idml11.ukatru.com 2.6.18-164.el5 #1 SMP Thu Sep 3 04:15:13 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Step1)I am using existing oracle 11gR2 database(Database installation is not covered in this article)

$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/db_1
$ export ORACLE_SID=idmdv1
$ cd bin
$ ./sqlplus / as sysdba

SQL*Plus: Release 11.2.0.2.0 Production on Mon May 16 10:31:43 2011

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 – 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options

Step2)RCU – Repository Creation Utility is java based tool (available only for Windows and Linux) to create schema in Database.(ofm_rcu_linux_11.1.1.3.3_disk1_1of1.zip)

Repository Creation Steps:

Download RCU (11.1.1.3.2) : Download RCU from here ensure to download version 11.1.1.3.2 or higher

Step3)Install oracle weblogic  server 10.3.3

Please down load weblogic 10.3.3 generic jar file from here  for linux x86_64 installation.

JDK Version:jdk1.6.0_21

Installation steps:

Step 3:SOA suite is required  for OIM (Oracle Identity Manager) for workflows

SOA 11.1.1.3 is patch-set only where as SOA 11.1.1.2 is base release hence you should first install SOA 11.1.1.2 and then upgrade it to SOA 11.1.1.3:

$ ./runInstaller
Starting Oracle Universal Installer…

Checking if CPU speed is above 300 MHz.    Actual 2526 MHz    Passed
Checking Temp space: must be greater than 150 MB.   Actual 8555 MB    Passed
Checking swap space: must be greater than 500 MB.   Actual 2434 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-16_06-37-35AM. Please wait …
Please specify JRE/JDK location ( Ex. /home/jre ), <location>/bin/java should exist :/usr/java/jdk1.6.0_21
$ Log: /u01/app/oraInventory/logs/install2011-05-16_06-37-35AM.log

Oracle SOA 11.1.1.3 Patchset Installation :

step by step installation of Oracle Identity Management:(ofm_iam_generic_11.1.1.3.0_disk1_1of1.zip)

After IDAM installation you should see three ORACLE_HOMEs under Middle ware home:

  • oracle_common – This Oracle_Home contains Java Required Files ()
  • Oracle_SOA1 – This Oracle_Home contains SOA related Files
  • Oracle_IDM1– This Oracle_Home contains IDAM (oam, oim, oaam, oapm & oin) related Files

Now We are going to create WebLogic Domain containing one Admin Server and five managed servers
a) Admin Server listening on port 7001
b) oim_server1 listening on port 14000
c) oam_server1 listening on port 14100
d) oaam_admin_server1 listening on port 14200
e) oaam_server_server1 listening on port 14300
f) soa_server1 listening on port 8001

/u01/app/oracle/product/Middleware/Oracle_IDM1/common/bin/config.sh


Start Admin Server from $DOMAIN_HOME/bin/startWebLogic.sh

<May 16, 2011 7:26:00 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<May 16, 2011 7:26:00 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<May 16, 2011 7:26:23 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application em is not versioned.>
PostInstallConfigIntegration:oracle_ias_farm target auth registration is done.
<May 16, 2011 7:27:14 AM PDT> <Warning> <org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl> <BEA-000000> <Configurator services already initialized.>
ADF Library non-OC4J post-deployment (millis): 35
[EL Info]: 2011-05-16 07:27:38.429–ServerSession(1318997610)–EclipseLink, version: Eclipse Persistence Services – 1.1.0.r3634
[EL Info]: 2011-05-16 07:27:38.781–ServerSession(1318997610)–file:/u01/app/oracle/product/Middleware/Oracle_IDM1/oam/server/lib/oes-d8/jps-internal.jar-JpsDBDataManager login successful
<May 16, 2011 7:28:58 AM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<May 16, 2011 7:28:58 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<May 16, 2011 7:28:59 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<May 16, 2011 7:29:00 AM PDT> <Notice> <Server> <BEA-002613> <Channel “Default[3]” is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
<May 16, 2011 7:29:00 AM PDT> <Notice> <Server> <BEA-002613> <Channel “Default[2]” is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<May 16, 2011 7:29:00 AM PDT> <Notice> <Server> <BEA-002613> <Channel “Default[1]” is now listening on fe80:0:0:0:20c:29ff:fea0:1c17:7001 for protocols iiop, t3, ldap, snmp, http.>
<May 16, 2011 7:29:00 AM PDT> <Notice> <Server> <BEA-002613> <Channel “Default” is now listening on 192.168.2.15:7001 for protocols iiop, t3, ldap, snmp, http.>
<May 16, 2011 7:29:00 AM PDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server “AdminServer” for domain “oim_domain” running in Development Mode>
<May 16, 2011 7:29:00 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<May 16, 2011 7:29:00 AM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
configuring Oracle Identity Manager 11.1.1.3.0 :

$ pwd
/u01/app/oracle/product/Middleware/Oracle_IDM1/bin
$ ./config.sh
Starting Fusion Middleware Configuration Wizard
ORACLE_HOME set as /u01/app/oracle/product/Middleware/Oracle_IDM1
PATH set as /u01/app/oracle/product/Middleware/Oracle_IDM1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
LD_LIBRARY_PATH set as /u01/app/oracle/product/Middleware/Oracle_IDM1/lib
Starting Oracle Universal Installer…

Checking Temp space: must be greater than 150 MB.   Actual 8555 MB    Passed
Checking swap space: must be greater than 500 MB.   Actual 2404 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-16_07-32-54AM. Please wait …$

Access OIM Admin Server using http://servername:OIM_Port/oim (default OIM Managed Server Port is 14000)

OIM Admin User-name is xelsysadm and password you entered during OIM configuration screen above

Step by step guide — Installing Oracle Identity Manager 9.1.0 on Linux

May 16, 2011 Leave a comment

Oracle Identity Manager Installation and Configuration Guide for BEA WebLogic Server
Release 9.1.0

Operating System:
*oiml9001*<oracle:>:/etc=>cat redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
*oiml9001*<oracle:>:/etc=>uname -a
Linux oiml9001.ukatru.com 2.6.9-89.0.0.0.1.EL #1 Tue May 19 05:21:57 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Database :
SQL*Plus: Release 10.2.0.1.0 – Production on Sun May 15 16:39:40 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 – 64bit Production
With the Partitioning, OLAP and Data Mining options

SQL>

Step1:Install oracle database software version 10.2.0.1 and create database.
Step2:Install web logic server and create a domain.
Software : server103_generic.jar(weblogic 10.3.0)
Jdk Version : jdk1.6.0_05

Configuration:

/u01/app/oracle/product/bea/wlserver_10.3/common/bin/config.sh

Step3 : Prepare database to install OIM

Prepare oracle database :
/u01/OIM9101/installServer/Xellerate/db/oracle/prepare_xl_db.sh
## Enter the ORACLE HOME directory or Press [Enter] to
accept the default /u01/app/oracle/product/10.2.0.1/db_1 as ORACLE_HOME.

## Current database <ORACLE_SID> is oimdv1
Do you want to continue with this database [y,Y,n,N] ?

y

## Enter the Oracle Identity Manager user name

oimadmin

## Enter the password for Oracle Identity Manager (oimadmin) user

## Enter the tablespace to hold the Oracle Identity Manager user data

OIMTS01

## Enter the directory to store the datafile for the Oracle Identity Manager tablespace

/u01/oradata/oimdv1

## Enter the name of the datafile without the extension .dbf
(For e.g. xeltspace_01)

xeltspace_01

## Enter the Temporary tablespace for Oracle Identity Manager User

TEMP

Validating the given inputs…
Validating the given inputs is done.

Preparing the database for Oracle Identity Manager. Please wait…

Errors/warnings occurred during the database preparation. Please check the log
file prepare_xell_db.lst for more info.

Step4:Install OIM

Required jdk version: Java Version: 1.4.2_19

*oiml9001*<oracle:>:/u01/OIM9101/installServer=>./install_server.sh
Checking whether JAVA_HOME is set

Java Version: 1.4.2_19
JAVA_HOME is set.
Checking if the version is correct
JAVA Version is OK
/u01/j2re1.4.2_19

——————————————————————————-
Select a language to be used for this wizard.

[ ] 1  – Bulgarian
[ ] 2  – Croatian
[ ] 3  – Czech
[ ] 4  – Danish
[ ] 5  – Dutch
[X] 6  – English
[ ] 7  – Finnish
[ ] 8  – French
[ ] 9  – German
[ ] 10 – Greek
[ ] 11 – Hungarian
[ ] 12 – Italian
[ ] 13 – Japanese
[ ] 14 – Korean
[ ] 15 – Norwegian
[ ] 16 – Polish
[ ] 17 – Portuguese
[ ] 18 – Portuguese (Brazil)
[ ] 19 – Romanian
[ ] 20 – Russian
[ ] 21 – Simplified Chinese
[ ] 22 – Slovak
[ ] 23 – Slovenian
[ ] 24 – Spanish
[ ] 25 – Swedish
[ ] 26 – Traditional Chinese
[ ] 27 – Turkish

To select an item enter its number, or 0 when you are finished: [0]

——————————————————————————-
Oracle Identity Manager Server Installer: Welcome Message

Welcome to Oracle Identity Manager 9.1.0.1

Oracle Identity Manager9.1.0.1 is the most advanced, secure enterprise
provisioning system available for automatically granting and revoking user
access to enterprise applications and managed systems.

Before you install Oracle Identity Manager, you must complete the
preinstallation steps. Review the Oracle Identity Manager Installation Guide ,
and ensure that you have completed these steps. After you install the software,
there are postinstallation steps that you must complete before you can use
Oracle Identity Manager.

Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Admin User Information

Enter the password for System Administrator (xelsysadm).

User Password:
Confirm User password:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Oracle Identity Manager Application
Options

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

Select the Oracle Identity Manager application that you want to install:

[X] 1 – Oracle Identity Manager
[ ] 2 – Oracle Identity Manager with Audit and Compliance Module

To select an item enter its number, or 0 when you are finished: [0]

——————————————————————————-
Oracle Identity Manager Server Installer: Target directory

Oracle Identity Manager Install Location

Please specify a directory or press Enter to accept the default directory.

Destination Directory: [/opt/oracle] /u01/app/oracle/product/

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Database Server Selection

Select the database to be used for the Oracle Identity Manager repository:

[X] 1 – Oracle Database
[ ] 2 – Microsoft SQL Server

To select an item enter its number, or 0 when you are finished: [0]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Database Information

Provide database connectivity information:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Authentication Information

Oracle Identity Manager 9.1.0.1  Server – Select Authentication

Select the Authentication mode for the Oracle Identity Manager Web Application.
If the SSO mode is selected, then enter the header value in the space provided.

[X] 1 – Oracle Identity Manager Default Authentication
[ ] 2 – SSO Authentication

To select an item enter its number, or 0 when you are finished: [0]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Application Server

Select the application server to be used to deploy Oracle Identity Manager:

[X] 1 – Oracle Weblogic
[ ] 2 – Oracle Application Server
[ ] 3 – JBoss Application Server
[ ] 4 – IBM WebSphere

To select an item enter its number, or 0 when you are finished: [0]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Cluster Information

Enter information about application server clustering.

The Application Server is clustered:

[ ] 1 – Yes
[X] 2 – No

To select an item enter its number, or 0 when you are finished: [0]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer : Oracle Weblogic Directory
Information

Provide the following information for the Oracle Weblogic Application
Server:
Enter the path of the directory.

Provide the location where the application server is installed:

Oracle Identity Manager Server Installer: Oracle Weblogic Application Server
Information

Enter the following information for Oracle Weblogic:

Host Name or IP Address: [localhost] oiml9001.ukatru.com

Admin Port: [7001]

WebLogic Server Name: [AdminServer]

WebLogic Server Port: [7001]

Login Name: [weblogic]

Password (Enter the password; DO NOT paste it):

Confirm Password (Enter the password; DO NOT paste it):

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Oracle Weblogic Domain Information

Enter the following information about Oracle Weblogic:

Enter the location of the Oracle Weblogic domain:
[/u01/app/oracle/product/bea/user_projects/domains]

Domain: [base_domain] oim_domain

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 1

——————————————————————————-
Oracle Identity Manager Server Installer: Application Server Configuration
Backup

Oracle Identity Manager Installer will install Oracle Identity Manager with the
configurations for your application server. If you have not backed up your
application server installation, then do so now. When you are ready, click NEXT
to proceed.

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

——————————————————————————-
Oracle Identity Manager Server Installer: Summary

Oracle Identity Manager will be installed in the following location:

/u01/app/oracle/product

with the following features:

Oracle Identity Manager Server

for a total size:

140.9 MB

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]
——————————————————————————-
Oracle Identity Manager Server Installer: Installing

Installing Oracle Identity Manager. Please wait…

|———–|———–|———–|————|
0%         25%         50%         75%        100%
||||||||||||||||||||||||||||||||||||||||||||||||||

Creating uninstaller…

Finalizing Vital Product Data Registry…

userLanguage = en
userCountry  = US
The Oracle Identity Manager installation log file is located at /u01/app/oracle/product/oim/xellerate/logs.

Post installation summary:
1. Refer to the documentation for Diagnostic Dashboard deployment.

——————————————————————————-
Oracle Identity Manager Server Installer: Completed

The Oracle Identity Manager Installer has successfully installed Oracle
Identity Manager. Choose Finish to exit the wizard.

Press 3 to Finish or 5 to Redisplay [3] 3

http://oiml9001.ukatru.com:7001/xlWebApp

StartOracle Identity Manager on UNIX:

Step1)Check database and listner is up and running
Step2)To start an Administrative Server on UNIX, run the OIM_HOME/xellerate/bin/xlStartServer.sh
In my case OIM_HOME=/u01/app/oracle/product/oim

Accessing the Administrative and User Console

http://<hostname>:7001/xlWebApp

Issues Faced during OIM installation:

Error:
[wlappc] java.lang.OutOfMemoryError: PermGen space

Please check metalink [ID 784359.1] for resolution:

OIM 9.1.0.1 Installation on Weblogic 10.3 Fails due to Memory Issues [ID 784359.1]

Pre-OIM Install
If this is a new install where OIM does not exist then you can define the USER_MEM_ARGS environment variable in the console before restarting the app server after defining the domain.

Example
export USER_MEM_ARGS=””-Xms512m -Xmx1024m -XnoOpt”
cd $DOMAIN_HOME
./startWebLogic.sh

Then you should be able to do an install with the app server having more memory available to it.
Before running the installer script (or setup_weblogic script), set the environment variables for USER_JAVA_OPTIONS:

export _JAVA_OPTIONS=-XX:MaxPermSize=512m

%d bloggers like this: