User's Manual

82 Using the RACADM Command Line Interface
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.
Use the following guidelines when you create a .cfg file:
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 CMC for that group. Any
objects within that group are modifications when the CMC is configured.
If a modified object represents a new index, the index is created on the
CMC during configuration.
You cannot specify a desired index in a
.cfg
file.
Indexes may be created and deleted. 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 you do not
need to make exact index matches between all the CMCs being managed.
New users are added to the first available index. A
.cfg
file that parses and
runs correctly on one CMC may not run correctly on another if all indexes
are full and you must add a new user.
Use the
racresetcfg
subcommand to configure both CMCs with
identical properties.
Use the
racresetcfg
subcommand to reset the CMC to original
defaults, and then run the
racadm config -f <filename>.cfg
command. Ensure that the
.cfg
file includes all desired objects, users,
indexes, and other parameters. See
"CMC Property Database Group and
Object Definitions" on page 347
for a complete list of objects and groups.
NOTICE: Use the racresetcfg subcommand to reset the database and the
CMC 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 settings.