Command Line Config Management Tools; Red Hat Network Configuration Client; Listing Config Files; Getting A Config File - Red Hat NETWORK 3.7 Reference Manual

Hide thumbs Also See for NETWORK 3.7:
Table of Contents

Advertisement

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.
Tip
Keep in mind, whenever a configuration file is deployed via RHN, a backup of the previous file includ-
ing its full path is made in the
backup will retain its filename but have a
A.1. Red Hat Network Configuration Client
As the name implies, the Red Hat Network Configuration Client (
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
config-channel-17
config-channel-17
config-channel-14
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
upon the rank of the config channel containing it. This is accomplished within the Configuration tab
of the System Details page. Refer to Section 6.4.2.6 System Details for instructions.
/var/lib/rhncfg/backups/
File
/etc/foo.txt
/var/spool/aalib.rpm
/etc/foo.txt
the file to view its contents. Note that the file is selected as most relevant based
extension appended.
.rhn-cfg-backup
Appendix A.
directory on the affected system. The
rhncfg-client
) is to be in-

Advertisement

Table of Contents
loading

Table of Contents