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
dsconfigcommand 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
-
To view the list of all
dsconfigproperties, run thedsconfigcommand with thelist-propertiesoption.Remember to add the LDAP connection parameters.
Example:
$ bin/dsconfig list-properties -
To view objects at and below the menu object level, use the
dsconfigcommand with thelist-propertiesoption and the--complexity <menu level>option.Example:
$ bin/dsconfig list-properties --complexity advanced --includeDescriptionYou can also add the
--includeDescriptionargument that includes a synopsis and description of each property in the output. Remember to add the LDAP connection parameters. -
If the server is offline, you can run the command with the
--offlineoption without needing to enter the LDAP connection parameters.Example:
$ bin/dsconfig list-properties --offline --complexity advanced --includeDescription -
To review the property information provided with the server, view the
<server-root>/docs/config-properties.txtfile.