Creating An Idrac7 Configuration File - Dell iDRAC7 User Manual

Table of Contents

Advertisement

To configure multiple iDRAC7s using the .cfg file:
1.
Query the target iDRAC7 that contains the required configuration using the command: racadm getconfig -f
myfile.cfg.
The command requests the iDRAC7 configuration and generates the myfile.cfg file. If required, you can configure
the file with another name.
NOTE: Redirecting the iDRAC7 configuration to a file using getconfig -f is only supported with the local
and remote RACADM interfaces.
NOTE: The generated .cfg file does not contain user passwords.
The getconfig command displays all configuration properties in a group (specified by group name and index) and all
configuration properties for a user by user name.
2.
Modify the configuration file using a simple text editor (optional).
NOTE: It is recommended that you edit this file with a simple text editor. The RACADM utility uses an ASCII
text parser. Any formatting confuses the parser, which may corrupt the RACADM database.
3.
Use the new configuration file to modify the target iDRAC7 using the command: racadm config -f
myfile.cfg
This loads the information into the other iDRAC7. You can use config subcommand to synchronize the user and
password database with Server Administrator.
4.
Reset the target iDRAC7 using the command: racadm racreset

Creating an iDRAC7 Configuration File

The configuration file .cfg can be:
Created
Obtained from racadm getconfig -f <filename>.cfg command or racadm get -f
<filename>.cfg
Obtained from racadm getconfig -f <filename>.cfg command or racadm get -f
<filename>.cfg, and then edited
For information about the getconfig and get commands, see the
iDRAC7 and CMC available at dell.com/support/manuals .
The .cfg file is first parsed to verify that valid group and object names are present and the basic syntax rules are being
followed. Errors are flagged with the line number that detected the error, and a message explains the problem. The
entire file is parsed for correctness, and all errors are displayed. Write commands are not transmitted to iDRAC7 if an
error is found in the .cfg file. The user must correct all errors before using the file to configure iDRAC7. Use the -c
option in the config subcommand, which verifies the syntax and does not perform a write operation to iDRAC7.
Use the following guidelines when you create a .cfg file:
If the parser encounters an indexed group, the index of the group is used as the anchor. Any modifications to the
objects within the indexed group is also associated with the index value.
For example:
If you have used the getconfig command:
[cfgUserAdmin]
# cfgUserAdminIndex=11
cfgUserAdminUserName=
# cfgUserAdminPassword=******** (Write-Only)
cfgUserAdminEnable=0
cfgUserAdminPrivilege=0x00000000
cfgUserAdminIpmiLanPrivilege=15
88
RACADM Command Line Reference Guide for

Advertisement

Table of Contents
loading

Table of Contents