Parsing rules – Dell POWEREDGE M1000E User Manual

Page 94

Advertising
background image

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. For a complete list of objects and groups, see the database property chapter of the

RACADM Command

Line Reference Guide for iDRAC6 and CMC

.

CAUTION: Use the racresetcfg subcommand to reset the database and the CMC Network Interface
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.

If you type racadm getconfig -f <filename> .cfg, the command builds a .cfg file for the current CMC

configuration. This configuration file can be used as an example and as a starting point for your unique .cfg file.

Related Links

Parsing Rules

Parsing Rules

Lines that start with a hash character (#) are treated as comments.
A comment line must start in column one. A "#" character in any other column is treated as a # character.
Some modem parameters may include # characters in their strings. An escape character is not required. You may
want to generate a .cfg from a racadm getconfig -f <filename> .cfg command, and then perform a
racadm config -f <filename> .cfg command to a different CMC, without adding escape characters.
For example:
#

# This is a comment

[cfgUserAdmin]

cfgUserAdminPageModemInitString= <Modem init # not

a comment>

All group entries must be surrounded by open- and close-brackets ([ and ]).
The starting [ character that denotes a group name must be in column one. This group name must be specified
before any of the objects in that group. Objects that do not include an associated group name generate an error. The
configuration data is organized into groups as defined in the database property chapter of the

RACADM Command

Line Reference Guide for iDRAC6 and CMC

. The following example displays a group name, object, and the object’s

property value:
[cfgLanNetworking] -{group name}

cfgNicIpAddress=143.154.133.121 {object name}

{object value}

All parameters are specified as "object=value" pairs with no white space between the object, =, or value. White

spaces that are included after the value are ignored. A white space inside a value string remains unmodified. Any

94

Advertising