Sun Java Enterprise System 2005Q4 Installation Guide for UNIX

Directory Server Postinstallation Configuration

After a Configure Now installation, no additional configuration is necessary unless you need to configure Directory Server in 32–bit mode on a 64–bit Solaris SPARC platform. If this is the case, refer to Step 6 in the following Configure Later procedure.


Note –

The Directory Serverthat is bundled with Solaris OS is not the same version as the current Java ES Directory Servercomponent. After you have installed Directory Server, you should consider running the following command to set the default Directory Server to 5.2: /usr/sbin/directorysoerver –d 5.2

You will then be able to use the various Directory Servercommands against the Java ES Directory Server5.2. If you are planning to use the version that is bundled with the Solaris OS (Directory Server 5.1), this action is not required.


After a Configure Later installation, the packages are installed and you are ready to perform the configuration tasks for Directory Server. Directory Server.

ProcedureTo Configure Directory Server After a Configure Later Installation

Steps
  1. Start the configuration utility. For example:

    directoryserver -u 5.2 configure

    Follow the instructions on each screen.


    Note –

    On Linux, two commands are available, but only one works correctly. Be sure to use /opt/sun/sbin/directoryserver.


  2. Update the system configuration to enable core file generation.

    For example:

    coreadm -e proc-setid


    Note –

    If you have installed Directory Server to run as a user other than superuser, Directory Server might not be able to generate a core file during a crash. It is important that you allot enough space for core files, and that you allow Directory Server to generate core files during a crash.


  3. (Optional) Many command-line scripts written in Perl can read the bind password interactively (-w option). To enable this functionality, do the following:

    1. Install the Term::ReadKey Perl module, available separately from CPAN (http://cpan.org).

    2. Edit each Perl script to read the bind password interactively by uncommenting the appropriate lines.

      All other Perl script functionality remains available without the Term::ReadKey module.

  4. Verify the common server settings and update the settings as needed.

    Refer to Administration Server Configuration Information in Sun Java Enterprise System 2005Q4 Installation Reference.

  5. If needed, configure Directory Server for use with the Sun Cluster software.

    Refer to Directory Server Data Service.

  6. If needed, configure Directory Server in 32-bit mode on a 64-bit Solaris SPARC platform as follows:

    1. Use the pkgrm command to remove the following 64–bit Directory Server packages:

      SUNWdsvhx SUNWdsvx

    2. Edit the /var/sadm/install/productregistry file, removing references to the SUNWdsvhx and SUNWdsvx packages.

    3. Configure Directory Server.