Saturday 21 May 2016

Oracle Unified Directory(OUD) Installation and Configuration.

 

Oracle Unified Directory can be managed by using the command line or by using the graphical Oracle Directory Services Manager (ODSM) interface.
 

ODSM relies on Oracle WebLogic Server and on the Oracle Application Development Framework. So, we have to install and configure below components :

 

                    1. Sun JDK version 1.6.0_24 or later

                    2. Oracle Unified Directory 

                    3. Oracle WebLogic server 

                    4. Oracle Application Development Framework 

 

 

Install Java :  

 

Download Java Installer from below link :


Unzip the downloaded file in a directory and perform following steps :

 

export JAVA_HOME=<java directory path>/jdk1.7.0_71
export PATH=$JAVA_HOME/bin:$PATH

 

 

Install Oracle Unified Directory(OUD) :

 

Download OUD Installers from below link :

http://www.oracle.com/technetwork/middleware/id-mgmt/oid-11gr2-2104316.html

 

Following zip file will be downloaded :   

  •  ofm_oud_generic_11.1.2.3.0_disk1_1of1

 

Unzip the downloaded file and change to the Disk1 directory.

 

Start the OUD 11g Installation Wizard by running below command :

       
           ./runInstaller -jreLoc $JAVA_HOME



Click on Next.

 

 

 

Select "Skip Software Updates" and then click Next.

 

 

Click on Next.

 

 

Click on Next.

 

 

Click on Install.


 

 

Click on Next.

 

 

Click on Finish.

Oracle Unified Directory(OUD) is installed.




Oracle Unified Directory(OUD) Configuration:

  • Go to OUD base location i.e. MW_HOME/Oracle_OUD1

  • Set INSTANCE_NAME variable : 

                          export INSTANCE_NAME=<OUD Instance Name>

                          eg : export INSTANCE_NAME=oud1



To start the OUD 11g directory server setup, run the Oud-setup utility :

 

                  ./oud-setup

 

 Click on Next.



Enter the following information:

  • Host Name:

               Enter the directory server's host name or IP address.

  • LDAP Listener Port:

              Enter the LDAP port for the directory server.


       Note : The default port is 1389. 

  • Administration Connector Port:

             Enter the port that will be used for administration.

 

       Note : The default administration port is 4444.

  • Root User DN:

            Enter the Root User DN, or keep the default, cn=Directory Manager.

  • Password:

            Enter the root user bind password.

  • Password (confirm):

            Retype the root user bind password.

 

 

Click Next.

 

 

Click on Next.

 

 

Click on Next.

 

 

Click on Next.




Click on Next.

 

 

Click on Finish.

 

 

Click on Close.




Install Weblogic Server :

 

For weblogic installation follow below post : 

WebLogic Server 11g (10.3.6) Installation 


Create weblogic domain for ODSM : 

 

Go to the following directory :

                MW_HOME/wlserver_10.3/common/bin


Run the below command :

               ./config.sh


Select create a new WebLogic domain and click Next.

 

 

Select the Oracle Directory Services Manager check box. Oracle JRF will be selected automatically and then click Next.

 

 

Click on Next.

 

 

Enter weblogic password and click Next.

 

 

 Select a valid JDK and click Next.

 

 

 Click Next.

 

 

 Click on Create.

 

 

 Click Done.

Weblogic configuration is done.

   

 

Install Oracle Application Development Framework(ADF):  

 

For ADF installation follow below post :



Start Weblogic Server : 

 

Go to location :

            $DOMAIN_HOME/bin/

Run below command :

            ./startWeblogic.sh 

Access WebLogic Console :

             http://hostname:7001/console


 

 

 Weblogic server is running now.





Connect to Oracle Directory Services Manager(ODSM) : 


Access ODSM console : 

                 http://hostname:7001/odsm




Enter required details and click Login.




2 comments:

  1. Hi Anand,

    Awesome post

    Could please help me to connect OUD database (internal) with SQL Developer to know table details?

    Thanks
    Abhishek

    ReplyDelete
  2. Great read! Thank you for such useful insights. Visit here for advanced technical courses on ORACLE VIRTUAL DIRECTORY ADMIN ONLINE TRAINING

    ReplyDelete