The amtune script and amtune-prepareDSTuner scripts do not actually tune Directory Server. However, you must run one of these scripts to generate the amtune-directory script, which you can then use to tune Directory Server.
Make sure that the following parameter is set in the amtune-env file:
Run the amtune script or amtune-prepareDSTuner script. The script generates the following tar file:
Copy the amtune-directory.tar file to a temporary location on the server that is running Directory Server.
Untar the amtune-directory.tar file in the temporary location.
Set these parameters, if you prefer a value other than the default (amtune):
DEBUG_FILE_PREFIX is a prefix that will be included with the timestamp to specify the filename of the log file where the script writes the recommended tuning changes.
DB_BACKUP_DIR_PREFIX is a prefix that will be included with the timestamp to specify the name of the Directory Server backup directory.
Run the amtune-directory script in REVIEW mode. For example:
# ./amtune-directory dirmanager_password
The dirmanager_password is the Directory Manager password.
Review the recommended tuning settings for Directory Server in the debug log file.
The script creates the log file in the same directory with the tuning scripts.