RHN Proxy Server 2.1: Installation Guide
Previous Appendix G. Manual Installation and Configuration Next

G.5. RHN Authentication Daemon

The RHN Authentication Daemon acts as a Spacewalk Proxy session key caching mechanism. Use the following command to install it (as root on the appropriate machine):

rpm -Uvh rhns-auth-daemon-<version-number>.rpm

The /var/up2date/rhn_auth_cache file contains the RHN Authentication Daemon database.

The RHN Authentication Daemon settings are configured in /etc/rhn/rhn.conf.

By default, localhost and 127.0.0.1 are allowed hosts to the RHN Authentication Daemon. If the RHN Authentication Daemon is running on the same server as the RHN Proxy Broker Server, you are not required to add any settings to rhn.conf. If the RHN Proxy Broker Server is on a different server, at a minimum, the auth_cache.allowed_hosts setting needs to be configured with the proxy broker's hostname and IP in the configuration file on the server acting as the RHN Authentication Daemon:

auth_cache.allowed_hosts  = 127.0.0.1, some_other_proxy_broker.mycompany.com

It must to be set to the IP addresses or machine names of the RHN Proxy Broker Server (multiple IP addresses/hostnames are comma separated). It is recommended that IP addresses be used. If machine names are used, please ensure they are truly resolvable.

The default port on which to run the RHN Authentication Daemon is 9999. To change the port, set the auth_cache.auth_cache_server_port in the configuration file on the server acting as the RHN Authentication Daemon:

auth_cache.auth_cache_server_port  = 9999

If the RHN Authentication Daemon port is changed, set the proxy.broker.auth_cache_server_port on the server acting as the RHN Proxy Broker Server to the same port.

Once installed and configured, start the RHN Authentication Daemon with the command (as root):

/sbin/service rhn_auth_cache restart

Tip Tip
 

It is also recommended that you add the daemon to your list of automatically started services with ntsysv or chkconfig.

The /var/log/rhn/rhn_auth_cache.log file contains the log messages for the RHN Authentication Daemon. The auth_cache.debug directive in rhn.conf determines how verbose the log messages are for the RHN Authentication Daemon. Refer to Table G-1 for details on the debug values.

Previous Home Next
RHN Proxy Broker Server Up RHN Proxy SSL Redirect Server