Introduction

Oracle Internet Directory (OID) is a required component in the EBS SSO infrastructure. The main reason is that E-Business Suite has hardcoded dependencies on Oracle Internet Directory for this configuration. These dependencies mean that you cannot replace Oracle Internet Directory with any third-party LDAP directory for this particular configuration.

In addition, all EBS internally-managed users must posses a Global Unique Identifier (GUID), and these GUID are generated exclusively by Oracle Internet Directory.

In this white paper, we will show how to install the OID.

OID Installation

The OID installation consists of 3 main processes.

  1. Prepare the Server Environment

  2. Install the Product

  3. Validate the Environment

Prepare the Server Environment

Here are the OID version and Server requirement for this installation Server OS: Oracle Linux 6.8 UEK4 Server Memory: 4G Server DiskSpace: 60G Server CPU Core: 4 OID Version: 11.1.1.9 Ensure that all prereqs. are met (swap space, disk space, temp space, monitor/X server, kernel parameter, o.s. user/group creation).

  1. Review Section 2 Preparing to Install in the Oracle Fusion Middleware Installation Guide for OIM, for a good understanding of all the pre-requisite before installing OID.

  2. Run yum update with the following necessary OS patches.

+

yum install binutils–2.20.51.0.2–5.28.el6 compat-libcap1–1.10–1 compat-libstdc++–33–3.2.3–69.el6 compat-libstdc++–33–3.2.3–69.el6.i686 compat-libstdc++–33–3.2.3–69.el6
gcc–4.4.4–13.el6 gcc-c++–4.4.4–13.el6 glibc–2.12–1.7.el6 glibc–2.12–1.7.el6 glibc-devel–2.12–1.7.el6 libaio–0.3.107–10.el6
glibc-devel–2.12–1.192.el6.i686 libaio-devel–0.3.107–10.el6 libgcc–4.4.4–13.el6 libstdc++–4.4.4–13.el6 libstdc++–4.4.4–13.el6 libstdc++-devel–4.4.4–13.el6
libgcc.i686 libstdc++.i686 libstdc++-devel.i686 compat-libstdc++–33.i686 libXext libXtst libXi openmotif–2.2.3 openmotif22–2.2.3 redhat-lsb–4.0–3.el6 sysstat–9.0.4–11.el6 glibc-devel-2.12-1.209.el6_9.1.i686 elfutils-libelf-0.164-2.el6.x86_64 elfutils-libelf-devel-0.164-2.el6.x86_64 elfutils-libs-0.164-2.el6.x86_64

Install the Product

  1. To install the Oracle OID, navigate to the product installation directory, run the installer runInstaller to launch it.

+

cd Disk1
export JAVA_OPTIONS=-XX:MaxPermSize=512m (set the JVM env)
./runInstaller

+

  1. Click Next

+ Oracle OID Installation

+ . Select Install and Configure, click Next

+

+ . Allow the installer to check all available system patches, Click Next if all status green

+

Make sure all the Prerequisite checks are successful before continueing the installation. If status shows warning sign, stop and resolve the issue before continueing.

+ Oracle OID Installation

+ . Select Create New Domain, Enter the weblogic ID and PASSWORD, Click Next

+ Oracle OID Installation

+ . Enter the target directory location shown, Click Next

+

Weblogic Server Directory is where your weblogic instance resides. Weblogic server must be installed before installing the OID

+ Oracle OID Installation

+ . Skip Email Notification

+ . Select only Oracle Internet Directory and Oracle Directory Integration Platform checkboxes, Click Next

+ Oracle OID Installation

+ . Select the Auto Port Config option.

+

The default OID port is 3060, SSL port is 3161. The default DIP port is 3131.

+ Oracle OID Installation

+ . Construct the connection string with the properly hostname:port:service

+

View the listener.ora for the DB hostname and port information

+ Oracle OID Installation

+ . Enter the password value for ODS. Click Next

+

ODS password is from the RCU installation process

+ Oracle OID Installation

+ . Enter the password of your choosing for cn=orcladmin. Click Next

+ Oracle OID Installation

+ . Switch to root, and Run oracleRoot.sh as instructed. Click Next

+

/u01/app/Middleware/Oracle_IDM1/oracleRoot.sh

+ Oracle OID Installation

+ . Complete the installation process.

+ . Create file oid.env in $HOME with entry like the following. Source the env file when necessary.

+

export MW_HOME=/u01/app/oracle/fmw_oid
export ORACLE_COMMON_HOME=$MW_HOME/oracle_common
export ORACLE_HOME=$MW_HOME/idm
export WL_HOME=$MW_HOME/wlserver_10.3
export JAVA_HOME=/usr/java/jdk1.7.0_51
export DOMAIN_HOME=$MW_HOME/user_projects/domains/IDMDomain export ORACLE_INSTANCE=$MW_HOME/asinst_1
export PATH=$ORACLE_INSTANCE/bin:$JAVA_HOME/bin:$PATH

+ . To start/stop the OID process, Run the following command:

+

/u01/app/Middleware/asinst_1/bin/opmnctl status  -  check OID status
/u01/app/Middleware/asinst_1/bin/opmnctl startall -  start all the services
/u01/app/Middleware/asinst_1/bin/opmnctl stopall  -  stop all the services

+ . To start/stop the OID Managed server, Run the following command:

+

cd $DOMAIN_HOME/bin
./startManagedWebLogic.sh wls_ods1
./stopManagedWebLogic.sh wls_ods1

+ . To start/stop the OID Admin server, Run the following command:

+

cd $DOMAIN_HOME/bin
./startWebLogic.sh
./stopWebLogic.sh

Validate the Environment

  1. Run the netstat -an command to check OID LISTENING Port

+

netstat -angrep 7001grep LISTEN   --   WLS Admin Console Port
netstat -angrep 7005grep LISTEN   --   OID ODSM Port
  1. Run the ldapbind command to check oid is working properly.

+

cd /u01/app/Middleware/Oracle_IDM1/bin
ldapbind -h oid1.gateway.info -p 3131 -D "cn=orcladmin" -w Password1
  1. Navigate to the OID weblogic console, and login with ID: weblogic

+

http://oid1.gateway.info:7001/console

+

Administration Console is a Web browser-based, graphical user interface that you use to manage a WebLogic Server domain.

+ Oracle OID Installation

  1. Navigate to the OID Enterprise Manager Console, login with ID: weblogic

+

http://oid1.gateway.info:7001/em

+

Enterprise Manager Console is a browser-based tool and the recommended method for monitoring, managing, and configuring Fusion Middleware components. It also provides access to the Weblogic Admin Console

+ Oracle OID Installation

+ . Navigate to the OID Oracle Directory Server Manager (ODSM) wiith ID: cn=orcladmin

+

http://oid1.gateway.info:7005/odsm

+

ODSM enables you to configure the structure of the directory, define objects in the directory, add and configure users, groups, and other entries. ODSM is the interface you use to manage entries, schema, security, adapters, extensions, and other directory features.

+ Oracle OID Installation

+ . Select DIP Server to validate DIP configuration

+ Oracle OID Installation