We should be able to setup an OpenDJ server as a replication server.
This feature existed in the old setup GUI. As we are going to remove it (----
----), we should propose the same feature. OPENDJ-3588
First step will be to add model classes to the setup package in order to allow a standalone RS to be setup.
We have identified two different use cases that the command should achieve:
- Creates a standalone replication server first in a replication topology (i.e waiting for other directory/replication servers to contact it)
The global administrator entry will be created on the server with hardcoded `admin` UID and with the same password as the root user one
- Creates a replication server which should join an existing replication topology
In this use case, the new server must be started and the replication server in the topology must be online. Joining topology will be done using dsreplication configure. We will bind to the replication server in the topology using global administrator credentials (admin, --rootUserPassword value). This constraint implies that all replication servers of a topology must have the same user root password.