Dell PowerEdge FX2 Dell PowerEdge FX2 and FX2s Enclosure Owners Manual - Page 34

getconfig, Example, Description, Synopsis, Input, config, groupName, racadm.cfg, index, object

Page 34 highlights

Example getconfig Description Synopsis Input Output Example 34 racadm getchassisname CMC-1 Retrieves CMC configuration parameters individually, or all CMC configuration groups may be retrieved and saved to a file. • racadm getconfig -f • racadm getconfig -g [-I ] • racadm getconfig -u • racadm getconfig -h • racadm getconfig -g -o [-i index] • -f - The -f option directs getconfig to write the entire CMC configuration to a configuration file. This file can be used for batch configuration operations using the config subcommand. • -g - The -g , 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 in alphabetical order. This option is useful when you do not have exact group names. • -i - The -i , or index option, is valid only for indexed groups and can be used to specify a unique group. The is a decimal integer from 1 through n, where n can vary from 1 to maximum number of indexes a particular group supports. If -i 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 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 , or user name option, can be used to display the configuration for the specified user. The 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. 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. • Displays all of the configuration properties (objects) that are contained in the group cfgLanNetworking. racadm getconfig -g cfgLanNetworking • Saves all group configuration objects from CMC to myrac.cfg.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

Example
racadm getchassisname
CMC-1
getconfig
Description
Retrieves CMC configuration parameters individually, or all CMC
configuration groups may be retrieved and saved to a file.
Synopsis
racadm getconfig -f <
filename
>
racadm getconfig -g <
groupName
> [-I <
index
>]
racadm getconfig -u <
username
>
racadm getconfig -h
racadm getconfig -g <
groupName
> -o <
objectName
> [-i index]
Input
-f
— The
-f
<filename>
option directs getconfig to write the entire CMC
configuration to a configuration file. This file can be used for batch
configuration operations using the
config
subcommand.
-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 in alphabetical order. This option is useful when you do not have
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 n, where n can vary from 1 to maximum number of
indexes a particular group supports. 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.
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.
Example
Displays all of the configuration properties (objects) that are contained in
the group
cfgLanNetworking
.
racadm getconfig -g cfgLanNetworking
Saves all group configuration objects from CMC to
myrac.cfg
.
34