15.6. Promoting a Consumer or Hub to a Supplier

In certain situations, such as when a supplier in a replication topology is unavailable due to a hardware outage, administrators want to promote a read-only consumer or hub to a writable supplier.

15.6.1. Promoting a Consumer or Hub to a Supplier Using the Command Line

For example, to promote the server.example.com host to a supplier for the dc=example,dc=com suffix:
# dsconf -D "cn=Directory Manager" ldap://server.example.com replication \
     promote --suffix="dc=example,dc=com" --newrole="master" --replica-id=2

Important

The replica ID must be a unique integer between 1 and 65534 for a suffix across all masters in the topology.
Optionally, you can now configure the new master to replicate changes for the suffix to other servers in the topology. For details about configuring replication, see:

15.6.2. Promoting a Consumer or Hub to a Supplier Using the Web Console

For example, to promote a consumer or hub to a supplier for the dc=example,dc=com suffix:
  1. Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
  2. Select the instance.
  3. Open the Replication menu and select the Configuration entry.
  4. Select the dc=example,dc=com suffix.
  5. Click Promote.
  6. Select Master in the Replication Role field and enter a replica ID.

    Important

    The replica ID must be a unique integer between 1 and 65534 for a suffix across all masters in the topology.
  7. Select Yes, I am sure.
  8. Click Change Role to confirm the new role.
Optionally, you can now configure the new master to replicate changes for the suffix to other servers in the topology. For details about configuring replication, see: