Search

15.7. Promoting a Consumer or Hub to a Supplier

download PDF
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:
  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 Supplier 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 suppliers 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 supplier to replicate changes for the suffix to other servers in the topology. For details about configuring replication, see:
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.