78
Chapter 4. Red Hat Network Website
configuration files templates that can be deployed across your organization, with the relevant values
populated upon individual system installation.
4.6.6.1. Preparing Systems for Config Management
For a system to have its configuration managed through RHN, it must have the appropriate tools and
config-enable file installed. These tools may already be installed on your system, especially if you
kickstarted the system with configuration management functionality. If not, they can be found within
the RHN Provisioning child channel for your distribution. Download and install the latest
rhncfg*
packages.
Next, you must place a config-enable file on the system to have config actions scheduled. This file is
required to allow configuration management on the system while preventing inadvertent and poten-
tially dangerous changes. To create this file, issue the following commands as root. First, create the
necessary directory:
mkdir -p /etc/sysconfig/rhn/allowed-actions/configfiles
Then, you should decide exactly what actions should be allowed by system administrators. The fol-
lowing modes are available:
•
deploy
— Install configuration files from the central repository on the system. Without this set, the
configuration management interface provides no real value for this system.
•
verify
— Identify any differences between configuration files on the system and those associated
with it in the central repository.
•
diff
— Display differences between configuration files on the system and those associated with it
in the central repository.
•
upload
— Send any files from the system to the central repository. This is similar to granting root
privileges on the machine.
•
mtime_upload
— Send files modified since a certain date and time from the system to the central
repository.
•
all
— Enable all of these modes for configuration management on the system.
To set individual modes, issue this command (repeatedly, as root), appending the mode name to the
end:
touch /etc/sysconfig/rhn/allowed-actions/configfiles/
mode
To grant full configuration management access, issue this command:
touch /etc/sysconfig/rhn/allowed-actions/configfiles/all
Your system should now be ready for config management through RHN. Command line options also
exist for many of these functions. Refer to Appendix A
Command Line Config Management Tools
for
instructions.
4.6.6.2. Global Config Channels
There are two types of configuration channels:
global channels
and
system-specific channels
. A global
channel contains configuration files developed across your organization. These may well be applicable
to multiple systems. A system-specific channel consists of local override configuration files tied to
particular systems. These files take precedent over all other configurations.
The
Global Config Channels
page is shown by default when you click
Manage Config Channels
in the left navigation bar. It displays a list of configuration channels managed by your organization.
Содержание NETWORK 3.5 - PROVISIONING
Страница 1: ...Red Hat Network 3 5 Provisioning Reference Guide...
Страница 6: ......
Страница 16: ...6 Chapter 1 What is Red Hat Network...
Страница 50: ...40 Chapter 3 Red Hat Network Alert Notification Tool...
Страница 98: ...88 Chapter 4 Red Hat Network Website...
Страница 114: ...104 Chapter 6 Red Hat Network Registration Client...
Страница 122: ...112 Appendix A Command Line Config Management Tools...
Страница 126: ...116 Appendix B RHN API Access...
Страница 132: ...122 Glossary...