15.7. 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.7.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="supplier" --replica-id=2
Important
The replica ID must be a unique integer between
1
and 65534
for a suffix across all suppliers in the topology.
Optionally, you can now configure the new supplier to replicate changes for the suffix to other servers in the topology. For details about configuring replication, see:
15.7.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:
- Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
- Select the instance.
- Open themenu and select the entry.
- Select the
dc=example,dc=com
suffix. - Click.
- Select
Supplier
in the Replication Role field and enter a replica ID.Important
The replica ID must be a unique integer between1
and65534
for a suffix across all suppliers in the topology. - Select.
- Clickto confirm the new role.
Optionally, you can now configure the new supplier to replicate changes for the suffix to other servers in the topology. For details about configuring replication, see: