Creating A Config Channel; Adding Files To A Config Channel - Red Hat NETWORK 4.1.0 Reference Manual

Hide thumbs Also See for NETWORK 4.1.0:
Table of Contents

Advertisement

202
Appendix A. Command Line Config Management Tools
than root, you may have to make configuration changes within the
file. The
~/.rhncfgrc
session file is cached in
to prevent logging in for every
~/.rhncfg-manager-session
command.
The default timeout for the Red Hat Network Configuration Manager is 30 minutes.
To alter this, add the
option and new value to the
server.session_lifetime
file on the server running the manager, like so:
/etc/rhn/rhn.conf
server.session_lifetime = 120
The Red Hat Network Configuration Manager offers these primary modes: add, create-
channel, diff, diff-revisions, download-channel, get, list, list-channels, remove, remove-
channel, revisions, update, and upload-channel.
Each mode offers its own set of options, which can be seen by issuing the following com-
mand:
rhncfg-manager mode --help
Replace mode with the name of the mode to be inspected:
rhncfg-manager diff-revisions --help
You can see such a list of options for the add mode at Table A-4.
A.3.1. Creating a Config Channel
To create a config channel for your organization, issue the command:
rhncfg-manager create-channel channel-label
If prompted for your RHN username and password, provide them. The output resembles
the following:
Red Hat Network username: rhn-user
Password:
Creating config channel channel-label
Config channel channel-label created
Once you have created a config channel, use the remaining modes listed above to populate
and maintain that channel.
A.3.2. Adding Files to a Config Channel
To add a file to a config channel, specify the channel label as well as the local file to be
uploaded, such as:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents