Wednesday 20 May 2015

Oracle Internt Directory (OID)

OID which stands for Oracle Internet Directory is part of Identity Management in Infrastructure Tier of Fusion Middleware.

How to connect to OID
____________________________

SSO ---> LDAP server (Oracle's Impleamtion like of AD of Mircosft) ---> OID

What is OID ?
Oracle Internet Directory (OID) is Oracle’s Implementation of LDAP (Light weight Directory Access Protocol) which is ldap version 3 compliant. OID is special kind of database repository in which information is stored in Tree structure also called DIT (Directory Information Tree).

Similar to OID ,

Microsoft has its own LDAP server called Active Directory (AD) and
Sun’s LDAP server is called as iPlanet .


The information in the directory is available to different clients, such as single sign-on solutions,
email clients, and database applications. Clients communicate with a directory server by means of the Lightweight Directory Access Protocol (LDAP).
Oracle Internet Directory is an LDAP directory that uses an Oracle Database for storage.


Where is OID code in oracle_home ?
*************************************

OID code & its corresponding log files are stored in directories under $ORACLE_HOME/ldap directory in Infrastructure Tier . This is same tier where your SSO server sits.

OID logfiles location
_____________________________

OID logs are stored at $ORACLE_HOME/ldap/log


Need of Oracle Internet Directory ?
*******************************

Use of Oracle Internet Directory (Oracle’s LDAP):OID is repository for enterprise users, groups data.

–Information about various applications (Portal, BI, E-Business Suite, Collaboration Suite) registered to OID (You can register E-Business Suite or Database in OID).

–Password policy for Single Sign-On Partner Applications.

What are default ports for OID ?
**************************************

You may see different ports for OID depending on OID server version but most common is 389 non ssl OID port & 636 for SSL OID port (These are also default ldap server ports). If you don’t know which ports your OID is using refer portlist.ini in $ORACLE_HOME/install (Note that this file will not list updated port if you change OID ports after Installation)
You should an entry like
Oracle Internet Directory port = 389
Oracle Internet Directory (SSL) port = 636

How to start OID ?
***********************

OID process is controlled by opmn (Oracle process monitor & notification server) so you by default use opmnctl command

To Start OID opmnctl startproc ias-component=OID
To Stop OID opmnctl stopproc ias-component=OID


What are different Daemon/Server in OID ?
*************************************************

There are three servers/daemon in OID

—OIDLDAPD –

This is the main server/daemon waiting for ldap request (ldapsearch, ldapadd, ldapmodify, ldapdelete..).
When any application want to do any ldap operation(add, modify, delete, search..) on OID object (user, group, application..),
that request is fulfilled by this server/daemon.


—ODISRV – also called as Oracle Directory Integration Server, this is used for integration of Various Application (Portal, BI, E-Business Suite/Apps) with OID for user/group data. If any user/group is added/deleted in Portal/BI synchronization of that user to OID is done by this Daemon (Vice Versa). If you have Integrated Apps(11i/R12) with OID/SSO then users is provisioned/de-provisioned using this daemon of OID.

—OIDREPLD – Also called as OID Replication Daemon is used if you have replicated OID. By default this daemon is disabled.



How to find port on which OID server is listening ?
___________________________________________________________________________

A: on Infrastructure Tier $ORACLE_HOME/ldap/admin/ldap.ora  look for line
DIRECTORY_SERVERS= (focusthread.com:389:636)   –> This means OID is listening on port 389 NonSSL & 636 on SSL Port

or

In file $ORACLE_HOME/install/portlist.ini look for line

Oracle Internet Directory port = 389
Oracle Internet Directory (SSL) port = 636


OID by default starts on both SSL (636) & Non SSL port (389) so check it with unix.

Check if OID ports are listening or not

command netstat like

$ netstat -an grep 636 more
$ netstat -an grep 389 more

: How to find port on which OID server is listening ?

A: on Infrastructure Tier $ORACLE_HOME/ldap/admin/ldap.ora  look for line
DIRECTORY_SERVERS= (focusthread.com:389:636)   –> This means OID is listening on port 389 NonSSL & 636 on SSL Port

or

In file $ORACLE_HOME/install/portlist.ini look for line
Oracle Internet Directory port = 389
Oracle Internet Directory (SSL) port = 636

No comments:

Post a Comment