Integrating the DirX Directory with the SRC Software
The tasks to integrate DirX Directory Server with the SRC software are:
- Preparing to Install the DirX Directory Server
- Installing the DirX Directory Server
- Installing the UMCdirxa Add-On Package
- Configuring the DirX Directory Server
You can obtain the DirX Solutions software package by contacting your local Siemens sales representative. For immediate information, go to:
http://www.siemens.com/directory
You can also e-mail Siemens at:
Preparing to Install the DirX Directory Server
Only root users can install the DirX directory server software. To prepare for installation:
- Log in as
root
.- Load the Siemens DirX Solutions software CD, and access the CD directory. For example:
cd /cdrom/cdrom0- Create a new directory user. You must create a directory user called dirx. Once the software is installed, the dirx user can manage the DirX software.
To create a new user and prepare the host for the DirX software:
The Admintool: Users window appears.
The Admintool: Add User dialog box appears.
The window closes, and the main Admintool: Users window appears with the information you just entered.
- Set the password. For example:
passwd dirx- Enter and confirm the password when prompted by the Admintool.
Installing the DirX Directory Server
The default base directory for installation is /opt/dirx. We recommend that you install the DirX software in the home directory of the DirX user as described in Preparing to Install the DirX Directory Server, and install the DirX software package in the home directory /export/home/dirx.
The directory and log files are created in subdirectories of the installation directory. Before you start the installation, verify that you have sufficient disk space available in the installation directory.
To install the DirX directory server software:
- Log in as
superuser
.- Install DirX with the pkgadd tool. For example:
pkgadd -d /cdrom/cdrom0/server/dirx/sun/dirx60*- Respond to the prompts as listed in Table 9.
Installing the UMCdirxa Add-On Package
You must install the DirX software before you install the SRC add-on package for DirX. To install the add-on package:
- Log in as
superuser
.- Install the DirX add-on package by following the directions in SRC-PE Getting Started Guide, Chapter 33, Installing the SRC Software on a Solaris Platform.
The DirX add-on package is installed in a subdirectory named customize in the dirx user home directory /export/home/dirx.
Configuring the DirX Directory Server
To configure the DirX directory server:
- Log in as
dirx
, and enter the following commands:su - dirxcd customizesh ./generate.sh- At the system prompt
"Do you want to load sample data? [n]"
, entery
for yes.The script takes a few minutes to create, initialize, and configure the database and start the server processes. The generate.sh scripts generate the log.txt log file.
If the generation fails, the system returns a FAILED message.
- Verify whether the integration was successful by opening log.txt file with an editor, such as vi, and search for FAILED.
If the search does not find the word FAILED, the integration was successful.
The system displays three processes, as shown in the following sample screen output:
root 20263 20260 0 Feb 11 ? 5:40 /export/home/dirx/bin/dirxldapv3dirx 20261 20260 0 Feb 11 ?26:26 /export/home/dirx/bin/dirxdsa -d /export/home/dirx/server/DBdirx 20260 143 0 Feb 11 ?0:00 /export/home/dirx/bin/dirxdsas -d /export/home/dirxWait for the output of all three processes to appear. The DirX LDAPv3 process takes longer than the other two.