Back to All Commands
Most Viewed
Favorites
Recently Viewed

pingdirectory Commands

Configuration

dsconfig

A text-based management tool used to view and configure the underlying server configuration for PingDirectory.

dsconfig

Examples:
Start dsconfig in interactive mode
dsconfig
Start dsconfig in offline mode
dsconfig --offline
Connect to a remote server with a specific user
dsconfig --hostname ds.example.com --port 4444 --bindDN cn=DirectoryManager --bindPassword password
dsconfig list-properties

List information about all available configuration properties for all objects.

dsconfig list-properties

Examples:
List all properties for all objects, including inherited ones, while the server is offline
dsconfig list-properties --offline --inherited

Backend Configuration

dsconfig set-backend-prop

Modify properties of a backend, such as database cache settings or compaction rules.

dsconfig set-backend-prop

Examples:
Change database cache percentage for the userRoot backend
dsconfig set-backend-prop --backend-name userRoot --set db-cache-percent:50
Add a DN to the set of compacted common parent DNs
dsconfig set-backend-prop --backend-name userRoot --add compact-common-parent-dn:ou=users,dc=example,dc=com
Set multiple properties in a single command
dsconfig --no-prompt --bindDN "cn=Directory Manager" --bindPassword password set-backend-prop --backend-name userRoot --set db-cache-percent:40 --add compact-common-parent-dn:ou=accts,dc=example,dc=com