Appendix A.
Command Line Config Management Tools
In addition to the options provided in the RHN website, Red Hat Network offers two command line
tools for managing configuration files: the
Red Hat Network Configuration Client
and the
Red Hat
Network Configuration Manager
. If you don’t yet have these these tools installed, they can be found
within the RHN Provisioning child channel for your operating system.
A.1. Red Hat Network Configuration Client
As the name implies, the
Red Hat Network Configuration Client
(
rhncfg-client
) is to be in-
stalled and run from an individual client system. From there you may use it to gain knowledge about
how RHN will deploy configuration files to the particular system.
The
Red Hat Network Configuration Client
offers these primary modes: list, get, channels, diff,
and verify.
A.1.1. Listing Config Files
To list the configuration files for the machine and the labels of the config channels containing them,
issue the command:
rhncfg-client list
You should see output resembling:
Config Channel
File
config-channel-17
/etc/foo.txt
config-channel-17
/var/spool/aalib.rpm
config-channel-14
/etc/foo.txt
A.1.2. Getting a Config File
To download the most relevant configuration file for the machine, issue the command:
rhncfg-client get /etc/foo.txt
You should see output resembling:
Deploying /etc/foo.txt
You may then
more
the file to view its contents. Note that the file is selected as most relevant based
upon the rank of the config channel containing it. This is accomplished within the
Configuration
tab
of the
System Details
page. Refer to Section 4.4.2.6
System Details
for instructions.
A.1.3. Viewing Config Channels
To view the labels and names of the config channels that apply to the system, issue the command:
rhncfg-client channels
You should see output resembling:
Содержание 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...