Owner's Manual

98 Using the RACADM Command Line Interface
You can use the getconfig command to perform the following actions:
Display all configuration properties in a group (specified by group name
and index)
Display all configuration properties for a user by user name
The config subcommand loads the information into other CMCs. The Server
Administrator uses the config command to synchronize the user and
password database.
Creating a CMC Configuration File
The CMC configuration file, <filename>.cfg, is used with the racadm
config -f <filename>.cfg command to create a simple text file.
The command allows you to build a configuration file (similar to a .ini file)
and configure the CMC from this file.
You may use any file name, and the file does not require a .cfg extension
(although it is referred to by that designation in this subsection).
NOTE: For more information about the getconfig subcommand, see the
RACADM
Command Line Reference Guide for iDRAC6 and CMC
.
RACADM parses the .cfg file when it is first loaded onto the CMC to verify
that valid group and object names are present and that some simple syntax
rules are being followed. Errors are flagged with the line number that
detected the error, and a message explains the problem. The entire file is
parsed for correctness, and all errors display. Write commands are not
transmitted to the CMC if an error is found in the .cfg file. You must correct
all errors before any configuration can take place.
To check for errors before you create the configuration file, use the
-c option
with the config subcommand. With the
-c option, config only verifies
syntax and does not write to the CMC.