Page created: 4 Feb 2020
|
Page updated: 22 Jul 2020
-
Run dsreplication to enable replication between two servers
with entry balancing.
- You can run the command in non-interactive mode as
follows:
$ bin/dsreplication enable --host1 host1.example.com \ --port1 1389 --bindDN1 "cn=Directory Manager" \ --bindPassword1 secret --replicationPort1 8989 \ --host2 host2.example.com --port2 2389 \ --bindDN2 "cn=Directory Manager" --bindPassword2 secret \ --replicationPort2 8989 --baseDN dc=example,dc=com \ --baseDN ou=people,dc=example,dc=com \ --restricted ou=people,dc=example,dc=com
-
Alternatively, you can enable replication using the interactive command line, making sure to specify that an entry balancing is being used and specifying the base DN of the entry-balancing point. After entering dsreplication and entering the LDAP connection parameters, follow the prompts presented.
You must choose at least one base DN to be replicated. Replicate base DN dc=example,dc=com? (yes / no) [yes]: yes Replicate base DN ou=people,dc=example,dc=com? (yes / no) [yes]: yes Do you plan to configure entry balancing using the Directory Proxy Server? (yes / no) [no]: yes Is dc=example,dc=com an entry-balancing point? (yes / no) [no]: no Is ou=people,dc=example,dc=com an entry-balancing point? (yes / no) [no]: yes
- You can run the command in non-interactive mode as
follows: