Installation guide

deployment must be automated. An example answer file can be found in the install/ directory of the
CD or ISO, and is titled answers.txt.
Follow the steps below to perform an automated install with an answer file:
1. Follow steps 1 through 5 from Section 4.2,RHN Satellite Inst allat ion Program.
2. Copy the example answers.txt file to /tmp/answers.txt
cp answers.txt /tmp/answers.txt
3. Edit the file and add your organization's desired options.
4. Once the answer file is ready, use the --answer-file option when starting the ins tallation
process from the command line:
./install.pl --answer-file=/tmp/answers.txt
The RHN Satellite Installation Program then looks for answers in the file. For any option no filled
out in the file, the Installer Program prompts the user for the missing information.
4.4. Installing Satellite behind an HTTP Proxy
Due to the way that RHN Satellite uses the rhn.conf to control its connection settings, there is no way
to add options to that file prior to installation of RHN Satellite. If your network is behind an HT TP proxy in
your organization, you cannot activate the RHN Satellite at installation time. A workaround to this issue is
to first perform a disconnected installation of RHN Satellite, then switch the configuration to a connected
method after installation is completed. The following demonstrates how to create a connected RHN
Satellite installation behind an HT TP proxy:
1. Complete a minimal installation of Red Hat Enterprise Linux 4 or 5 (depending on the version of
RHN Satellite that you will install).
2. Configure the system so that it can connect to RHN behind the HTTP proxy. Edit the file
/etc/sysconfig/rhn/up2date as follows:
enableProxy=1
enableProxyAuth=1
httpProxy=<http-proxy-fqdn>
proxyUser=<proxy-usernam e>
proxyPassword=<proxy-password>
3. Register the system to RHN.
4. Begin the installation of RHN Satellite with the disconnected option:
./install.pl --disconnected
5. Once the installation is complete, you will need to add or modify your settings in the
/etc/rhn/rhn.conf file:
server.satellite.http_proxy = <http-proxy-fqdn>
server.satellite.http_proxy_username = <proxy-usernam e>
server.satellite.http_proxy_password = <proxy-password>
disconnected=0
You will also need to update the /etc/rhn/rhn.conf file to include the parent parameter
satellite.rhn.redhat.com:
server.satellite.rhn_parent = satellite.rhn.redhat.com
Note
Alternatively, if you are using the RHN Satellite web interface, log in as a user with
Administrator privileges. Browse to Admin RHN Sa te llite Configuration
Ge neral. From here, enter the HT T P Proxy settings, and toggle the Disconnected RHN
Satellite option.
6. Restart the Satellite service:
service rhn-satellite restart
7. Reactivate the Satellite as a connected Satellite:
rhn-satellite-activate --rhn-cert=<path-to-cert>
You should now have a connected RHN Satellite that will work behind an HTTP proxy.
4.5. Sendmail Configuration
If your RHN Satellite will serve Monitoring-entitled sys tems and you wish to acknowledge via email the
alert notifications you receive, you must configure sendmail to properly handle incoming mail. T his is
required by the email redirect feature, which allows you to stop notifying us ers about a Monitoring-
related event with a single reply.
Important
Some more restrictive corporate mail configurations will not allow mail to be sent from an address
that is not recognized as valid. Therefore, it may be necessary to configure
rogerthat01@ {m ail domain} as a valid email address in your corporate environment.
Check with your mail systems administrator.
To configure sendmail correctly, run the following commands as root. First, create a symbolic link
allowing sendmail to run the notification enqueuer with the following command:
ln -s /usr/bin/ack_enqueuer.pl /etc/sm rsh/.
Next, edit the /etc/aliases file on the mail server and add the following line:
rogerthat01: | /etc/sm rsh/ack_enqueuer.pl
Next, edit the /etc/m ail/sendm ail.mc file and change:
Red Hat Network Satellite 5.4 Installation Guide
18