Users Guide

154 Using the RACADM Command Line Interface
3
Use the new configuration file to modify a target RAC.
In the command prompt, type:
racadm config -f myfile.cfg
4
Reset the target RAC that was configured.
In the command prompt, type:
racadm reset
The getconfig -f racadm.cfg subcommand requests the DRAC 5 configuration and generates the
racadm.cfg file. If required, you can configure the file with another name.
You can use the getconfig command to enable you to perform the following actions:
Display all configuration properties in a group (specified by group name and index)
Display all configuration properties for a user by user name
The config subcommand loads the information into other DRAC 5s. Use config to synchronize the user
and password database with Server Administrator
The initial configuration file, racadm.cfg, is named by the user. In the following example, the
configuration file is named myfile.cfg. To create this file, type the following at the command prompt:
racadm getconfig -f myfile.cfg
NOTICE: 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.
Creating a DRAC 5 Configuration File
The DRAC 5 configuration file <filename>.cfg is used with the racadm config -f
<filename>
.cfg command. The configuration file is a simple text file that allows the user to build a
configuration file (similar to an .ini file) and configure the DRAC 5 from this file. You may use any file
name, and the file does not require a .cfg extension (although it is referred to by that designation in this
subsection).
The .cfg file can be:
•Created
Obtained from a
racadm getconfig -f
<filename>
.cfg
command
Obtained from a r
acadm getconfig -f
<filename>
.cfg
command, and then edited
NOTE: See "getconfig" for information about the getconfig command.
The .cfg file is first parsed to verify that valid group and object names are present and that some simple
syntax rules are being followed. Errors are flagged with the line number that detected the error, and a
simple message explains the problem. The entire file is parsed for correctness, and all errors are displayed.
Write commands are not transmitted to the DRAC 5 if an error is found in the .cfg file. The user must
correct all errors before any configuration can take place. The
-c option may be used in the config
subcommand, which verifies syntax only and does not perform writes to the DRAC 5.