Comparing configuration entries using config-diff
Steps
-
Use
config-diff
to compare PingDirectory server configurations and produce adsconfig
batch file needed to bring the source inline with the target.Example:
The following example compares the current configurations of server1 and server2. The changes necessary to bring server1’s configuration inline with server2 are written to the console. The same credentials are used to connect to both servers.
$ bin/config-diff --sourceHost server1 --sourceBindDN "cn=Directory Manager" \ --sourceBindPassword password --targetHost server2
For more information about runtime options, see Available command-line tools or the
config-diff
tool help.