| | |
| | | <refsect1> |
| | | <title>Examples</title> |
| | | <para>The following example enables and then initializes replication |
| | | for a new replica whose admin port is 5444 from an existing replica |
| | | whose admin port is 4444.</para> |
| | | for a new replica on <literal>opendj2.example.com</literal> from an existing |
| | | replica on <literal>opendj.example.com</literal>.</para> |
| | | |
| | | <screen>$ dsreplication enable -I admin -w password -X -n -b dc=example,dc=com |
| | | --host1 opendj.example.com --port1 4444 --bindDN1 "cn=Directory Manager" |
| | | --bindPassword1 password --replicationPort1 8989 |
| | | --host2 opendj.example.com --port2 5444 --bindDN2 "cn=Directory Manager" |
| | | --bindPassword2 password --replicationPort2 9989 |
| | | --host2 opendj2.example.com --port2 4444 --bindDN2 "cn=Directory Manager" |
| | | --bindPassword2 password --replicationPort2 8989 |
| | | |
| | | Establishing connections ..... Done. |
| | | Checking registration information ..... Done. |
| | | Updating remote references on server opendj.example.com:4444 ..... Done. |
| | | Configuring Replication port on server opendj.example.com:5444 ..... Done. |
| | | Configuring Replication port on server opendj2.example.com:4444 ..... Done. |
| | | Updating replication configuration for baseDN dc=example,dc=com on server |
| | | opendj.example.com:4444 ..... Done. |
| | | Updating replication configuration for baseDN dc=example,dc=com on server |
| | | opendj.example.com:5444 ..... Done. |
| | | opendj2.example.com:4444 ..... Done. |
| | | Updating registration configuration on server |
| | | opendj.example.com:4444 ..... Done. |
| | | Updating registration configuration on server |
| | | opendj.example.com:5444 ..... Done. |
| | | opendj2.example.com:4444 ..... Done. |
| | | Updating replication configuration for baseDN cn=schema on server |
| | | opendj.example.com:4444 ..... Done. |
| | | Updating replication configuration for baseDN cn=schema on server |
| | | opendj.example.com:5444 ..... Done. |
| | | Initializing registration information on server opendj.example.com:5444 with |
| | | opendj2.example.com:4444 ..... Done. |
| | | Initializing registration information on server opendj2.example.com:4444 with |
| | | the contents of server opendj.example.com:4444 ..... Done. |
| | | Initializing schema on server opendj.example.com:5444 with the contents of |
| | | Initializing schema on server opendj2.example.com:4444 with the contents of |
| | | server opendj.example.com:4444 ..... Done. |
| | | |
| | | Replication has been successfully enabled. Note that for replication to |