Sun OpenSSO Enterprise 8.0 Performance Tuning Guide

ProcedureTo Tune a Remote Sun Directory Server

  1. FTP or copy amtune.zip to the remote Sun Directory Server host.

    In the change mode section of amtune-env.properties file, if AMTUNE_TUNE_DS=true, then the amtune.zip file is automatically generated.

  2. Unzip amtune.zip.

  3. Set values for TOOL_HOME and JAVA_HOME.

    Solaris, Linux, and AIX

    <TOOLS_DIR>/bin/unix/amtune

    Windows

    <TOOLS_DIR>\bin\windows\amtune.bat

  4. Edit the amtune-env.properties file to include Directory Server information.

  5. Run the amtune tool with a password file for the Sun Directory Server Directory Manager.

    The Directory Server Directory Manager password must be inaccessible to non-owners and only readable by its owner . For example, you can run change the permissions mode of the password file by running the following command:

    chmod 400

    UNIX or Linux

    amtune

    Windows

    amtune.bat

    On Windows, you must also execute amtune.bat with a password file. But amtune.bat does not check its file permission on Windows.

    In CHANGE mode, if AMTUNE_TUNE_DS=true, then the amtune tool will restart the Sun Directory Server instance.

    If AMTUNE_TUNE_OS=true, then the amtune tool will tune the operating system kernel parameters and will recommend a system restart.