Users Guide
Using the Serial and racadm Commands 177
Using the racadm Utility to Configure the DRAC 4
The DRAC 4 Web-based interface is the fastest way to configure a DRAC 4.
If you prefer command-line or script configuration, or need to configure
multiple DRAC 4s, you can also use the racadm CLI. The racadm CLI is
installed along with the DRAC 4 agents on the managed system.
To configure multiple DRAC 4s to contain the same user configuration
settings, you can do either of the following:
• Use the racadm CLI examples in this section as a guide to create a batch
file of
racadm
commands, and then execute the batch file on each
managed system.
• Create the DRAC 4 configuration file as described in "racadm
Subcommand Man Pages" and then execute the
racadm config
subcommand on each managed system using that same configuration file.
Before Adding a DRAC 4 User
The DRAC 4 allows up to 16 users to be configured into the DRAC 4 property
database. Before manually adding the DRAC 4 user, you need to know which,
if any, users exist. If the DRAC 4 is new, or the racadm racresetcfg command
has been run, then the only user is root with the password calvin. The
racresetcfg subcommand resets the DRAC 4 back to the original defaults.
CAUTION: Use caution when using this command because all configuration
parameters are reset to the original defaults; any previous changes are lost.
NOTE: Users can be added and deleted over time, so it is possible that users on the
DRAC 4 do not have the same index number as the same user on a different DRAC 4.
To find out if a user exists, you can type the following command at the
command prompt:
racadm getconfig -u <
username
>
or you can type the following command once for each index of 1–16:
racadm getconfig -g cfgUserAdmin -i <
index
>
NOTE: An alternate method to obtain this information is to type racadm
getconfig -f <myfile.cfg>
, then view or edit the myfile.cfg file,
which includes all DRAC 4 configuration parameters.