Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Chapter 6. Load Balancing Satellite Proxy Servers

Some environments include a load balancer between Satellite clients and Satellite proxies to distribute the load of Satellite requests, or to help redirect requests to a location closer to the originating client. If the Satellite Proxy topology becomes more complex, includes CNAME support, chaining, and so on, it is helpful to test the HTTP header requests exchanged between load balancers and round-robin proxy chains. This chapter describes configuring Squid as a reverse proxy to perform round-robin requests between two Satellite proxies. It covers the set up procedure and how to support both non-SSL and SSL proxy requests.
The following environment in this example would use five different hosts:
  • Red Hat Satellite Proxy A, signified with IP address 192.168.100.16 and hostname proxya.example.com
  • Red Hat Satellite Proxy B, signified with IP address 192.168.100.17 and hostname proxyb.example.com
  • Load Balancer, signified with hostname lb.example.com
  • Red Hat Satellite Server with Red Hat Satellite Proxy A and B connected
  • The client machine, signified with IP address 192.168.100.19

6.1. Installing Proxy Services to the Load Balancer

The Load Balancer requires some of the same services as the Red Hat Satellite Proxy. Use the following commands to install and configure these services:
# yum install spacewalk-proxy-installer -y
# configure-proxy.sh

Important

Register your Load Balancer to the Red Hat Satellite 5 server and subscribe to the rhn-tools-rhel-x86_64-server-6 channel to access the spacewalk-proxy-installer package.
When the installation completes, uninstall the httpd package and its dependencies.
# yum remove httpd -y
This readies the server for configuring the load balancing services.