1. Launch the dsconfig tool in interactive command-line mode.
    $ bin/dsconfig
  2. Next, enter the LDAP connection parameters. Enter the Directory Server host name or IP address, or press Enter to accept the default.
  3. Enter the number corresponding to the type of LDAP connection (1 for LDAP, 2 for SSL, 3 for StartTLS) that you are using on the Directory Server, or press Enter to accept the default (1).
  4. Next, type the LDAP listener port number, or accept the default port. The default port is the port number of the server local to the tool.
  5. Enter the user bind DN (default, cn=Directory Manager) and the bind DN password.
  6. On the Directory Server Configuration Console main menu, type a number corresponding to the configuration that you want to change. Note that the number can change between releases or within the same release, depending on the options selected (for example, in cases where more expert level objects and and properties are displayed).
    In this example, select the number for Backend. Then, set the db-cache-percent to 40%. The optimal cache percentage depends on your system performance objectives and must be tuned as determined through analysis. In many cases, the default value chosen by the setup utility is sufficient.
  7. On the Backend management menu, enter the number corresponding to view and edit an existing backend.
  8. Select the backend to work with. In this example, using the basic object menu, only one backend that can be viewed in the directory, userRoot. Press Enter to accept the default.
  9. From the Local DB Backend properties menu, type the number corresponding to the db-cache-percent property.
  10. Enter the option to change the value, and then type the value for the db-cache-percent property. In this example, type 40 for "40 %“.
  11. Review the changes, and then type f to apply them.
    Before you apply the change, the dsconfig interactive command-line mode provides an option to view the equivalent non-interactive command based on your menu selections. This is useful in building dsconfig script files for configuring servers in non-interactive or batch mode. If you want to view the equivalent dsconfig non-interactive command, type d. For more information, see Getting the Equivalent dsconfig Non-Interactive Mode Command.
  12. In the Backend management menu, type q to quit the dsconfig tool.