Use config-diff to compare Directory Server
configurations and produce a dsconfig batch file needed to bring
the source inline with the target.
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.