User's Manual

Using the Serial and racadm Commands 173
The .cfg file is first parsed 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 in which the error was detected, and a simple message
explains the problem. The entire file is parsed for correctness, and all errors are
displayed. Writes are not performed to the DRAC 4 if an error is found in the
.cfg file. The user must correct all errors before any configuration can take
place. The
-c option may be used in the config subcommand, which verifies
syntax only and does not perform writes to the DRAC 4.
Remember the following important points:
If the parser encounters an indexed group, it is the value of the anchored
object that differentiates the various indexes.
The parser reads in all of the indexes from the DRAC 4 for that group. Any
objects within that group are simple modifications at configuration time.
If a modified object represents a new index, the index is created on the
DRAC 4 during configuration.
The user cannot specify a desired index in a
.cfg
file.
Indexes may be created and deleted, so over time the group may become
fragmented with used and unused indexes. If an index is present, it is
modified. If an index is not present, the first available index is used. This
method allows flexibility when adding indexed entries, where the user does
not need to make exact index matches between all the RACs being
managed; new users are added to the first available index. A
.cfg
file that
parses and runs correctly on one DRAC 4 may not run correctly on another
if all indexes are full and a new user is to be added.
•Use the
racresetcfg
subcommand to keep all DRAC 4s the same.
To keep all DRAC 4s the same, use the
racresetcfg
subcommand to reset
the DRAC 4 to original defaults, and then run the
racadm config
-
f
<filename>
.cfg
command. Ensure that the
.cfg
file has all the desired
objects, users, indexes, and other parameters.
NOTICE: Use the racresetcfg subcommand to reset the database and the DRAC 4
NIC settings to the original default settings and remove all users and user
configurations. While the root user is available, other users’ settings are also reset
to the default.