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-4>

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. If these configuration groups are needed to be cloned onto other CMCs, the key property must be set before executing the getconfig -fcommand. Alternatively, you can manually enter the missing properties into the configuration file after running the getconfig -fcommand. 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=10.35.10.110

cfgNicGateway=10.35.10.1

This file is updated as follows:

#

#Object Group "cfgLanNetworking"

[cfgLanNetworking]

cfgNicIpAddress=10.35.9.143

#comment, the rest of this line is ignored cfgNicGateway=10.35.9.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.

NOTE: Anchor is a reserved word and should not be used in the .cfg file.

96

Page 96
Image 96
Dell 2 Modifying the CMC IP Address, Racadm getconfig -g groupname -i index, CfgUserAdmin cfgUserAdminUserName= Username