User's Manual
Output
This subcommand generates error output upon encountering either of the following:
l Invalid syntax, group name, object name, index, or other invalid database members
l racadm CLI transport failures
If errors are not encountered, this subcommand returns an indication of how many configuration objects that were written out of how many total objects were
in the .cfg file.
getconfig Subcommand Description
The getconfig subcommand allows the user to retrieve DRAC 4 configuration parameters on an individual basis, or all the configuration groups may be
retrieved and saved into a file.
Input
TableA-5 describes the getconfig subcommand options.
Table A-5. getconfig Subcommand Options
Output
This subcommand generates error output upon encountering either of the following:
l Invalid syntax, group name, object name, index, or other invalid database members
l racadm CLI transport failures
If errors are not encountered, this subcommand displays the contents of the specified configuration.
Examples
l racadm getconfig -g cfgLanNetworking – Displays all of the configuration parameters (objects) that are contained in the group cfgLanNetworking.
l racadm config -g cfgLanNetworking -o cfgNicIpAddress 10.35.10.100 – Sets the cfgNicIpAddress configuration parameter (object) to the value
10.35.10.110. This IP address object is contained in the group cfgLanNetworking.
-s
The -s, or synchronize option, directs config to synchronize the user and password database with Server Administrator (if any user passwords were
modified).
-p
The -p, or password option, directs config to delete the password entries contained in the config file -f <filename> after the configuration is
complete.
-g
The -g <groupName>, or group option, must be used with the -o option. The <groupName> specifies the group containing the object that is to be
set.
-o
The -o <objectName> <Value>, or object option, must be used with the -g option. This option specifies the object name that is written with the
string <value>.
-i
The -i <index>, or index option, is only valid for indexed groups and can be used to specify a unique group. The <index> is a decimal integer from 1
through 16. The index is specified here by the index value, not a "named" value.
-c
The -c, or check option, is used with the config subcommand and allows the user to parse the .cfg file to find syntax errors. If errors are found, the
line number and a short description of what is incorrect are displayed. Writes do not occur to the DRAC 4. This option is a check only.
NOTE: The -f option is not supported for the serial/telnet console.
Option
Description
-f
The -f <filename>, or filename option, causes getconfig to create the file <filename>. It then reads all the configuration data from the DRAC 4
and places it into the file <filename>. The created file is a format that can be used with the racadm config -f <filename> command.
-p
The -p, or password option, causes getconfig to include password information in the file for all passwords except for the user passwords (which are
stored encrypted and cannot be decrypted). A # cfgUserAdmPassword line is displayed as an indication that the password is present, but the
password text is not displayed.
-g
The -g <groupName>, or group option, can be used to display the configuration for a single group. The groupName is the name for the group used
in the racadm.cfg files. If the group is an indexed group, use the -i option.
-h
The -h, or help option, displays a list of all available configuration groups that you can use. This option is useful when you do not remember exact
group names.
-i
The -i <index>, or index option, is valid only for indexed groups and can be used to specify a unique group. The <index> is a decimal integer from 1
through 16. If -i <index> is not specified, a value of 1 is assumed for groups, which are tables that have multiple entries. The index is specified by
the index value, not a "named" value.
-u
The -u <username>, or user name option, can be used to display the configuration for the specified user. The <username> option is the log in
user name for the user.