PingDirectory

Configuring the Server using dsconfig non-interactive mode

Use dsconfig non-interactive mode to modify memory and specify parent distinguished names (DNs).

Steps

  • To change the amount of memory used for caching database contents and to specify common parent DNs that should be compacted in the underlying database, use the dsconfig command in non-interactive mode.

    Example:

    $ bin/dsconfig set-backend-prop \
      --backend-name userRoot \
      --set db-cache-percent:40 \
      --add "compact-common-parent-dn:ou=accts,dc=example,dc=com" \
      --add "compact-common-parent-dn:ou=subs,dc=example,dc=com"

Viewing a list of dsconfig properties

Run dsconfig commands to view a list of properties, objects, property descriptions, and property information.

Steps

  1. To view the list of all dsconfig properties, run the dsconfig command with the list-properties option.

    Remember to add the LDAP connection parameters.

    Example:

    $ bin/dsconfig list-properties
  2. To view objects at and below the menu object level, use the dsconfig command with the list-properties option and the --complexity <menu level> option.

    Example:

    $ bin/dsconfig list-properties --complexity advanced --includeDescription

    You can also add the --includeDescription argument that includes a synopsis and description of each property in the output. Remember to add the LDAP connection parameters.

  3. If the server is offline, you can run the command with the --offline option without needing to enter the LDAP connection parameters.

    Example:

    $ bin/dsconfig list-properties --offline --complexity advanced --includeDescription
  4. To review the property information provided with the server, view the <server-root>/docs/config-properties.txt file.