Introduction
Oracle Unified Directory (OUD) is a required directory component in the EBS SSO infrastructure. The main reason is that E-Business Suite has hardcoded dependencies on Oracle Directory for this configuration. These dependencies mean that you cannot replace Oracle Unified Directory with any third-party LDAP directory for this particular configuration. Oracle Internet Directory (OID) is a supported LDAP server for the EBS SSO as well.
In addition, all EBS internally-managed users must posses a Global Unique Identifier (GUID), and these GUIDs are generated exclusively by Oracle Unified Directory.
In this article, we will show how to install OUD and the management application called Oracle Directory Server Manager (ODSM).
OUD Installation
The OUD installation consists of 3 main processes.
-
Prepare the server environment
-
Install the product
-
Validate the environment
Prepare the Server Environment
Here are the OUD version and Server requirement for this installation:
Server OS: Oracle Linux 6.8 UEK4
Server Memory: 4G
Server DiskSpace: 60G
Server CPU Core: 4
WLS Version: 10.3.6
OUD Version: 11.1.2.3
ADF Version: 11.1.1.9
Ensure that all prerequisites are met (swap space, disk space, temp space, monitor/X server, kernel parameter, o.s. user/group creation).
-
Make sure you update
/etc/yum.repos.d
to change the repo URL to use the public Oracle yum repo for "Latest"/"Addons"/"UEK_latest" 3 section. -
Run
yum update
. -
Run
yum install oracle-ebs-server-R12-preinstall
(EBS contains almost of all the required paches that any Oracle product requires). -
Run
yum install xterm
.
Make sure you have already installed a WebLogic Server 10.3.6, which will host the OUD and ODSM Service.
Install the OUD
-
Install an Oracle WebLogic Server 10.3.6 if it hasn’t already been installed. It will be used to host the Oracle Directory Server Manager (ODSM).
-
Set environment var
$JAVA_HOME
. -
Run the OUD installer below:
ssh oracle@oud1 cd OUD-SOFTWARE-DIR export JAVA_HOME=/u01/oracle/java-jdk1.7 ./runInstaller -jreLoc $JAVA_HOME
-
Skip the software update, and make sure the prerequisite checks are all good.
-
Select the OUD base location. Oracle WLS 10.3.6 must be installed prior to the installation of OUD.
-
Click Install to start the installation.
-
Click Next and then Finish to complete the installation of OUD.
Install the Application Developer Framework
Before we install the ODSM web application, we must first install the Oracle Application Developer Framework (ADF).
-
Run the ADF installer below:
cd ADF-SOFTWARE-DIR/ADF/Disk1 export JAVA_HOME=/u01/oracle/java-jdk1.7 /runInstaller -jreLoc $JAVA_HOME
-
Make sure the prerequisite checks are all successful.
-
Make sure the Oracle Middleware Home is the same middleware home as the OUD server installed earlier.
-
Click Next.
-
Select Weblogic Server as the App Server, and click Next.
-
Verify the installation settings, and click Install to install the ADF framework.
Configure ODSM WLS Domain
-
Navigate to the WLS
common/bin
directory.cd WLS-MIDDLEWARE-HOME/oracle_common/common/bin ./config.sh (configure the WLS with a new Domain for the ODSM)
-
Select Create a new WebLogic Domain.
-
Select the Oracle Directory Services Manager and Oracle JRF options.
-
Create a new domain called odsm_domain.
-
Enter weblogic and Password1 in the Name and password fields (standard username and password).
-
Select the proper JDK; take default shown.
-
Click Next on the Optional Configuration Screen. (By not selecting a new server, we are installing the ODSM on the Admin server itself in this scenario).
-
Verify the settings and click Create (Notice where the ODSM domain is located).
-
Complete the configuration of the new domain.
Create the OUD instance server
-
Create a password file for OUD.
cd /u01/app vi oud_pwd and enter “Password1”. Save the file. (We will reference this password file later in the installation and configuration of OUD).
-
Navigate to the OUD instance directory.
cd /u01/app/oracle/Middleware/Oracle_OUD1 ./oud-setup –cli –hostName oud1.gateway.info –ldapPort 1389 –ldapsPort 1636 –adminConnectorPort 4444 –rootUserDN “cn=oud-orcl” –rootUserPasswordFile /u01/app/oud_pwd –generateSelfSignedCertificate –enableStartTLS –baseDN dc=okta,dc=info –integration generic –sampleData 30 –no-prompt The OUD ldap port: 1389 The OUD ldaps port: 1636 The OUD admin port: 4444 The OUD root admin user id: oud-orcl Note: This instance of OUD is ssl enabled
-
Patch OUD with the latest Oracle Bundle Patch: See See Doc 11.1.2.3.170718
Download OUD bundle patch. cd /u01/app/oracle/Middleware/oracle_common/OPatch export ORACLE_HOME=/u01/app/oracle/Middleware/Oracle_OUD1/ ./opatch lsinventory - this is the check the current patch level cd /download/OUD-BundlePatch-DIR /u01/app/oracle/Middleware/oracle_common/OPatch/opatch apply
-
Shut down the OUD Server.
Make sure to clear the OUD lock file before the restart. cd /u01/app/oracle/Middleware/asinst_1/OUD/locks
mv server.lock serverbadlock ps -ef|grep OUD and kill –9 the OUD process.
-
Start the OUD Server.
cd /u01/app/oracle/Middleware/asinst_1/OUD/bin ./start-ds ## to start the directory server.
Validate the Environment (OUD / ODSM)
-
Check OUD status.
/u01/app/oracle/Middleware/asinst_1/OUD/bin/status
-
Access the ODSM WLS console (http://oud1.gateway.info:7001/console) and the ODSM GUI (http://oud1.gateway.info:7001/odsm) to validate the environment.