Users Guide
RACADM Subcommand Overview 195
Input
Table 13-6 describes the getconfig subcommand options.
NOTE: The -f option without a file specification will output the contents of the file to the terminal screen.
Output
This subcommand generates error output upon encountering either of the following:
• Invalid syntax, group name, object name, index, or other invalid database members
• racadm CLI transport failures
If errors are not encountered, this subcommand displays the contents of the specified configuration.
Examples
•
racadm getconfig -g cfgLanNetworking
Displays all of the configuration properties (objects) that are contained in the group
cfgLanNetworking
.
Table 13-6. getconfig Subcommand Options
Option Description
-f The -f
<filename>
option directs getconfig to write the entire RAC configuration to a
configuration file. This file can be used for batch configuration operations using the config
subcommand.
NOTE: The -f option does not create entries for the cfgIpmiPet and cfgIpmiPef groups. You must
set at least one trap destination to capture the cfgIpmiPet group to the file.
-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.
-o The -o
<objectname>
or object option specifies the object name that is used in the query.
This option is optional and can be used with the -g option.
-u The -u
<username>
, or user name option, can be used to display the configuration for the
specified user. The <username> option is the login name for the user.
-v The -v option displays additional details with the display of the properties and is used with
the -g option.