28
5.1. Preparation
Since RHN Bootstrap (
Network infrastructure to properly configure client systems, those components must be
prepared before script generation. The following list identifies suggested initial measures:
Generate activation keys to be called by the script(s). Activation keys can be used to
•
register Red Hat Enterprise Linux systems, entitle them to an RHN service level, and
subscribe them to specific channels and system groups, all in one action. Note that you
must have Management entitlements available to use an activation key, while inclusion
of multiple activation keys at once requires Provisioning entitlements. Generate activa-
tion keys through the Activation Keys page within the Systems category of the RHN
website (either the central RHN Servers for Proxy or the fully qualified domain name
of the Satellite). Refer to the Red Hat Update Agent and RHN Website chapters of the
RHN Reference Guide for instructions on creation and use.
Red Hat recommends your RPMs be signed by a custom GNU Privacy Guard
•
(GPG) key. Make the key available so you may refer to it from the script.
Generate the key as described in the RHN Channel Management Guide and
place the key in the
Chapter 4 Importing Custom GPG Keys.
If you wish to use the script to deploy your CA SSL public certificate, have the
•
certificate or the package (RPM) containing that certificate available on that RHN
Server and include it during script generation with the
Chapter 3 SSL Infrastructure for details.
Have the values ready to develop one or many bootstrap scripts, depending on the variety
•
of systems to be reconfigured. Since RHN Bootstrap provides a full set of reconfigura-
tion options, you may use it to generate different bootstrap scripts to accommodate each
type of system. For instance,
ure your Web servers, while
servers. Consult Section 5.4 RHN Bootstrap Options for the complete list.
5.2. Generation
Now that all of the necessary components are in place, you may use RHN Bootstrap to
generate the required scripts. Log into your RHN Satellite Server or RHN Proxy Server as
root and issue the
values. If no options are included, a
subdirectory that contains the essential values derived from the server, including
hostname, the SSL certificate, it if exists, SSL and GPG settings, and a call for the
client-config-overrides.txt
At a minimum, Red Hat strongly recommends your scripts also accommodate activation
keys, GPG keys, and advanced configuration options in the following manner:
rhn-bootstrap
/var/www/html/pub/
bootstrap-web-servers.sh
bootstrap-app-servers.sh
command followed by the desired options and
rhn-bootstrap
bootstrap.sh
file.
Chapter 5. Using RHN Bootstrap
) depends on other components of the Red Hat
directory of the RHN Server, per
--ssl-cert
file is created in the
option. Refer to
might be used to reconfig-
can handle the application
bootstrap/
Need help?
Do you have a question about the NETWORK 4.0.5 - CLIENT and is the answer not in the manual?
Questions and answers