Chapter 18. Migrate to a new load balancer, or change the name of an existing load balancer


Follow this procedure to change the host name of the load balancer in an already running Red Hat Update Infrastructure (RHUI) environment.

Procedure

  1. Stop pulp services.

    # systemctl stop pulp_\*
  2. Remove the content delivery server (CDS) certificate files from the Red Hat Update Appliance (RHUA).

    # rm -f /etc/puppet/rhui-secrets/cds-cert.*
  3. Run rhui-manager with the new load balancer host name, for example:

    # rhui-installer --cds-lb-hostname=hap02.example.com
    Note

    Use any other necessary arguments if you do not want their initial or default values as indicated by the answers file.

  4. Add the new load balancer to the RHUI environment, either in the interactive mode (rhui-manager - l - a - …​) or in the CLI. For the CLI, use the following example:

    # rhui haproxy add hap02.example.com ec2-user /root/.ssh/id_rsa_rhua -u
    Note

    Consider unregistering the old load balancer at the same time.

  5. Reapply the CDS configuration to all of your CDS nodes, either in the interactive mode (rhui-manager - c - r - …​) or in the CLI. For the CLI, use the following example"

     # rhui cds reinstall cds01.example.com
  6. Create an updated client configuration RPM. This can be done in the interactive mode (rhui-manager - e - c - …​`) or in the CLI. For the CLI, use the following example:

    # rhui-manager client rpm --private_key /root/rhui.key --entitlement_cert /root/rhui.crt --rpm_version 2.1 --rpm_name rhui-repos --dir /root/
    Note

    Use the files and the RPM name that you created in Chapter 10, Client entitlement certificate and client configuration RPM.

Procedure

  1. Update the client configuration RPM on all your clients.

Report a bug

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.