Ce contenu n'est pas disponible dans la langue sélectionnée.
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 Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
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
# 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 Copier lienLien copié sur presse-papiers!
Copier lienLien copié sur presse-papiers!
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 the menu and select the entry.
- Select the
dc=example,dc=comsuffix. - Click .
- Select
Supplierin the Replication Role field and enter a replica ID.Important
The replica ID must be a unique integer between1and65534for a suffix across all suppliers in the topology. - Select .
- Click to 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: