[RHUI3]How to Reapply Configuration to CDS or HAProxy Instances in RHUI
Environment
Red Hat Update Infrastructure (RHUI) 3.
Issue
For some Red Hat Update Infrastructure (RHUI) updates to take effect, configuration must be reapplied to Content Delivery Server (CDS) or HAProxy load-balancer nodes. Updates that require this action typically involve a change made to RHUI that affects Apache or HAProxy settings. Refer to individual RHUI errata when determining whether configuration must be reapplied after applying the update.
Resolution
Configuration can be reapplied in the text user interface (TUI) or the command line interface (CLI) of the rhui-manager
tool.
TUI
- On the RHUA node, run
rhui-manager
. Log in if prompted. - On the home screen, enter
c
to manage content delivery servers. - Now enter
r
. An enumerated list of content deliver servers will be shown. - Enter
1
to reapply configuration to the first server. - When the action completes, enter the next number. Repeat this until you have gone through all your content delivery servers.
To reapply configuration to HAProxy load-balancer instances, follow the same procedure but enter l
in the second step.
CLI
You must know your CDS hostnames. If you do not know them, run rhui cds list
on the RHUA node first.
For each CDS hostname, run:
rhui cds reinstall HOSTNAME
To reapply configuration to HAProxy load-balancer instances, you must know their hostnames. If you do not know them, run rhui haproxy list
on the RHUA node first.
For each HAProxy hostname, run:
rhui haproxy reinstall HOSTNAME
Diagnostic Steps
A RHUI errata advisory instructs users to reapply configuration to CDS or HAProxy nodes.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments