3.1 Before Installing eDirectory

The following sections explain the necessary steps you must take for the Resource Kit to be properly configured before installing eDirectory.

3.1.1 Enabling the SLES Server for Multicast Routing

In order for eDirectory to function correctly, mulitcast routing must be enabled on the SUSE® Linux Enterprise Server (SLES) server.

  1. From the Computer menu, select Gnome Terminal to verify your broadcast address range.

  2. Enter netstat -nr to retrieve the current routing table.

  3. If you have an entry for 224.0.0.0, you have the correct address range and you can proceed to Network Time Protocol Configuration. If not, continue with Step 4.

  4. Log in as root at the terminal by entering su, then enter the root password.

  5. To add the 224.0.0.0 network, enter the following: route add -net 224.0.0.0 netmask 255.0.0.0 dev eth0

  6. Enter netstat -nr again to verify that you now have a network entry for the 224.0.0.0 network.

  7. Enter exit twice to close the Gnome Terminal.

  8. Proceed to Section 3.1.2, Network Time Protocol Configuration.

3.1.2 Network Time Protocol Configuration

Both eDirectory and Identity Manager are event-driven systems that rely heavily on time stamps. It is critical to have an accurate common source of time in your Identity Manager solution. Network Time Protocol (NTP) provides this functionality.

  1. From the Computer menu, open the Control Center.

  2. Select Open Administrator Settings to launch YaST.

  3. Enter the root password.

  4. From Network Services, select NTP Configuration.

  5. Select the During Boot option to start your NTP Client.

    Setting the NTP Daemon to automatically start
  6. Click Continue in the warning message about the NTP daemon taking a long time to start if you do not have an Internet connection.

  7. Select Use Random Servers from pool.ntp.org., then click Finish.

    Use random servers from pool.ntp.org
  8. Close the YaST Control Center.

  9. Press Alt+F2 to launch the Run Application dialog box.

    Run Application dialog box
  10. Type vmware-toolbox, then click Run.

  11. Click the Options tab, then deselect the Time Synchronization between the virtual machine and host operating system option.

    Options tab to deselect time synchronization
  12. Click Close.

  13. Proceed to Section 3.1.3, Installing the SLP User Agent and Server Agent.

3.1.3 Installing the SLP User Agent and Server Agent

eDirectory Service Lookup Protocol (SLP) must be enabled for searching the network for other eDirectory trees and servers. eDirectory communicates with others servers, and SLP allows communication to occur faster.

  1. If you are planning on using a physical DVD or CD-ROMs to install eDirectory, insert the installation media into your drive, which must be accessible from with your VM. Continue with Step 6.

  2. If you are using ISO files, disconnect the CD-ROM device from your VM by selecting Removable Devices > CD-ROM 1 > Disconnect from the VM menu.

  3. Reconfigure your VM to use the eDirectory 8.8.3 for Linux ISO file (eDir_88_SP3_Linux.iso) by selecting Removable Devices > CD-ROM 1 > Edit.

  4. From the VM menu, browse to the ISO file in the Connection -- Use ISO image section.

  5. From the VM menu, reconnect the CD-ROM device to your VM by selecting Removable Devices > CD-ROM 1 > Connect. This causes SLES to automatically mount the CD-ROM and open a file browser.

    Mounted CD-ROM
  6. Browse to the Setup directory and double-click the novell-NDSslp-8.8.2-1.i386.rpm file to install the package with the Software Installer.

  7. Authenticate as root when prompted, then click Continue.

  8. Verify that the novell-NDSslp package is selected, the click Install to start the installation.

  9. Select Close when the installation ends.

  10. To start the SLP User Agent and Server Agent, go to the Computer menu, select Gnome Terminal, then complete the following steps:

    1. Log in as root by entering su.

    2. Enter the root password.

    3. Issue the command to start the SLP service: /etc/init.d/slpuasa start.

    4. If you want to stop the SLP service, issue the command /etc/init.d/slpuasa stop.

  11. Enter exit twice to log out as root and close the Gnome Terminal.

  12. Proceed to Section 3.1.4, Validating Entries in the /etc/hosts File.

3.1.4 Validating Entries in the /etc/hosts File

If your /etc/hosts file has the entry 127.0.0.2 metaserver1.idm metaserver1, then the installation can fail. This entry is placed in the /etc/hosts file by the SUSE installation. Many utilities such as ndsconfig or ndssch do a quick lookup in /etc/hosts for the hostname. The utilities read the line indicating that metaserver1 = 127.0.0.2 and try to connect. This is a dummy address and the utilities cannot connect. The line must be removed or commented out before running any installation.

  1. From the Computer menu, select Gnome Terminal.

  2. Log in as root by entering su, then enter the root password.

  3. Enter gedit /etc/hosts.

  4. Find the entry 127.0.0.2 metaserver1.idm metaserver1 (your server’s DNS name), place a # in the front of the line to comment the entry, or delete the line entirely.

  5. Select File > Save to save the changes, then click File > Quit to close the utility.

  6. Enter exit twice to log out as root and close the Gnome Terminal.

  7. Proceed to Section 3.2, Installing eDirectory 8.8.3.