The Smart Proxy server is only supported on x86_64 Operating Systems
At a minimum, the following ports need to be open to external connections for installation:
See the User Guide for additional information about Smart Proxy services and required ports.
The same yum repositories need to be configured on the Smart Proxy server as the main Katello server. See the installation guide for the list of required repositories.
Once you get the repositories configured, install the formean-proxy-content package on the Smart Proxy
yum install -y foreman-proxy-content
Prior to installing the Smart Proxy, we need to generate certificates on the main Katello server:
foreman-proxy-certs-generate --foreman-proxy-fqdn "myproxy.example.com"\
--certs-tar "~/myproxy.example.com-certs.tar"
In the above example, replace ‘myproxy.example.com’ with your Smart Proxy’s fully qualified domain name. This will generate a tar file containing all the needed certificates. You will need to transfer those certificates to the server that you will install your Smart Proxy on using whatever method you prefer (e.g. SCP).
The foreman-proxy-certs-generate command will output an example installation command. For example:
Installing Done [100%] [.....................]
Success!
To finish the installation, follow these steps:
1. Ensure that the foreman-installer-katello package is installed on the system.
2. Copy ~/myproxy.example.com-certs.tar to the system myproxy.example.com
3. Run the following commands on the Smart Proxy (possibly with the customized
parameters, see foreman-installer --scenario foreman-proxy-content --help and
documentation for more info on setting up additional services):
yum -y localinstall http://katello.example.com/pub/katello-ca-consumer-latest.noarch.rpm
subscription-manager register --org "Default_Organization"
foreman-installer --scenario foreman-proxy-content\
--foreman-proxy-content-parent-fqdn "katello.example.com"\
--foreman-proxy-register-in-foreman "true"\
--foreman-proxy-foreman-base-url "https://katello.example.com"\
--foreman-proxy-trusted-hosts "katello.example.com"\
--foreman-proxy-trusted-hosts "myproxy.example.com"\
--foreman-proxy-oauth-consumer-key "UVrAZfMaCfBiiWejoUVLYCZHT2xhzuFV"\
--foreman-proxy-oauth-consumer-secret "ZhH8p7M577ttNU3WmUGWASag3JeXKgUX"\
--certs-tar-file "/root/myproxy.example.com-certs.tar"
The full log is at /var/log/foreman-proxy-certs-generate.log
Use the provide installation command from foreman-proxy-certs-generate
, and tailor for your own purposes as needed. The defaults will give you a Smart Proxy ready for Content-related services.
See the User Guide to learn about setting up provisioning related services, as well as the Foreman manual
Foreman 3.13.0 has been released! Follow the quick start to install it.
Foreman 3.12.1 has been released! Follow the quick start to install it.