In this blog, I will cover the steps required to configure OUD as Directory Server. For info on OUD refer by previous posts:-
2) To gain basic understanding of OUD, refer here
a) To start the OUD 11g directory server setup wizard on a UNIX or Linux host, run the
As you can see above, by default, the directory server setup utility creates a path immediately under the middleware home directory and places the new directory server’s files in that path. The default path is the path, where n is the lowest integer that it not used by similar paths. For example, if there is no MiddlewareHome/asinst_1 path on your system, the directory server setup utility uses that path.
If you want to specify a directory server instance location, set the value of the INSTANCE_NAME environment variable immediately before running the directory server setup utility. Make sure to unset this environment variable so as to avoid the using the same value unintentionally next time you use utility.
The root user DN is a user entry assigned with specialized privileges with full read and write access to all data in the server. The default root user DN is the cn=Directory Manager DN.
If you run the setup wizard from a nonroot account on a Linux server, the setup wizard does not prefill the LDAP Listener Port field with a port number lower than 1024, and prohibits you from specifying a port number lower than 1024.
The default administration port is 4444. Command-line utilities that perform administrative functions and ODSM, the GUI administration tool, require connection to directory servers using the administration port. All connections through the administration port use LDAP over SSL.
The Directory Data dialog box allows you to perform several optional configuration tasks:
-> Configuring an empty naming context without any directory data.
-> Configuring a naming context and populating it with directory data imported from your own LDIF file.
-> Configuring a naming context and populating it with sample directory data generated by the directory server setup wizard. This is one we have selected.
b) As we can see below, the oud-setup utility creates several subdirectories and files in the OUD subdirectory of the instance path.
|bak||Default location for backup files.|
|bin||It contains the utility commands that you use to control server operation and perform various administrative tasks.|
|changelogDB||Default location for change log database files.|
|classes||It holds class files for user-defined code accessed by the OUD 11g directory
server—for example, plug-ins or other extensions.
|config||It contains the OUD 11g directory server configuration.
The config/config.ldif file contains the main configuration for the directory server.
The config/schema subdirectory contains the schema element definitions.
|db||It is default location for directory server database files.|
|import-tmp||It is the default location for index scratch files that are created when you import an
LDIF file into the directory server.
|install.path||This file contains the location of the OUD 11g installation directory.|
|ldif||It is the default location for the LDIF data files.|
|lib||It contains scripts that are used internally by OUD 11g instances to locate the OUD
11g installation root path and the JDK.
|locks||OUD 11g maintains lock files in this path. OUD 11g uses the lock files to ensure that separate processes that are running concurrently do not interfere with each other. For example, OUD 11g uses the lock files to prevent restoring a database from a backup when that database is currently in use.|
|logs||It is the default location for server log files.|
|setup-run||It is used to detect installation termination, and is not used after installation|
|uninstall||It is a utility that you can use to remove a directory server instance from a host.|
c) We can use below commands to start, stop or check status of OUD server.
d) Now lets make a connection from ODSM to our OUD Directory Server. For Installing ODSM for OUD refer here.
Notice that we are connecting to administration port which is 4444.
Accept the Server Certificate Validation.
We can see the sample data that we created while configuration of OUD dir server.
If you want to know when I have shared new blog posts for OUD, you can Subscribe to Blog.