Users Guide

The racadm getconfig -f <filename>.cfg command places a comment in front of index objects, allowing you to see
the included comments.
NOTE: You may create an indexed group manually using the following command:
racadm config -g <groupname> -o <anchored object> -i <index 1-16> <unique anchor
name>
The line for an indexed group cannot be deleted from a .cfg file. If you do delete the line with a text editor, RACADM stops when
it parses the configuration file and alert you of the error.
You must remove an indexed object manually using the following command:
racadm config -g <groupname> -o <objectname> -i <index 1-16> ""
NOTE: A NULL string (identified by two " characters) directs the CMC to delete the index for the specified group.
To view the contents of an indexed group, run the following command:
racadm getconfig -g <groupname> -i <index 1-16>
For indexed groups the object anchor must be the first object after the [ ] pair. The following are examples of the current
indexed groups:
[cfgUserAdmin]
cfgUserAdminUserName= <USER_NAME>
When using remote RACADM to capture the configuration groups into a file, if a key property within a group is not set, the
configuration group is not saved as part of the configuration file. To replicate these configuration groups on other CMCs, set the
key property before executing the getconfig -f command. Alternatively, enter the missing properties into the configuration
file manually after running the getconfig -f command. This is true for all the racadm indexed groups.
This is the list of the indexed groups that exhibit this behavior and their corresponding key properties:
cfgUserAdmin — cfgUserAdminUserName
cfgEmailAlert — cfgEmailAlertAddress
cfgTraps — cfgTrapsAlertDestIPAddr
cfgStandardSchema — cfgSSADRoleGroupName
cfgServerInfo — cfgServerBmcMacAddress
Modifying the CMC IP Address
When you modify the CMC IP address in the configuration file, remove all unnecessary <variable> = <value> entries. Only
the actual variable group’s label with [ and ] remains, including the two <variable> = <value> entries pertaining to the IP
address change.
Example:
#
# Object Group "cfgLanNetworking"
#
[cfgLanNetworking]
cfgNicIpAddress=192.168.2.110
cfgNicGateway=192.168.2.1
This file is updated as follows:
#
# Object Group "cfgLanNetworking"
#
[cfgLanNetworking]
cfgNicIpAddress=192.168.1.143
# comment, the rest of this line is ignored
cfgNicGateway=192.168.1.1
The command racadm config -f <myfile>.cfg parses the file and identifies any errors by line number. A correct file
updates the proper entries. Additionally, you can use the same
getconfig command from the previous example to confirm the
update.
Use this file to download company-wide changes or to configure new systems over the network with the command, racadm
getconfig -f <myfile> .cfg
.
93