Chapter 19. Migrate to a New Load Balancer, or Change the Name of an Existing Load Balancer

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

  1. Remove the content delivery server (CDS) certificate files from the Red Hat Update Appliance (RHUA).

    # rm -f /etc/puppet/rhui-secrets/cds-cert.*
  2. 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/default values as indicated by the answers file.

  3. Add the new load balancer to the RHUI environment, either in the interactive mode (rhui-manager - l - a - …​) or in the command-line interface (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.

  4. 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
  5. 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.

  6. Update the client configuration RPM on all your clients. Your clients should be all set now.

Report a bug