Users Guide

158 Using the RACADM Command Line Interface
To configure multiple DRAC 5s with identical configuration settings, perform one of the following
procedures:
Use the RACADM 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 5 configuration file as described in "RACADM Subcommand Overview" and execute
the
racadm config
subcommand on each managed system using the same configuration file.
Before You Begin
You can configure up to 16 users in the DRAC 5 property database. Before you manually enable a
DRAC 5 user, verify if any current users exist. If you are configuring a new DRAC 5 or you ran the racadm
racresetcfg command, the only current user is root with the password calvin. The racresetcfg
subcommand resets the DRAC 5 back to the original defaults.
NOTICE: Use caution when using the racresetcfg command, as all configuration parameters are reset to the
original defaults. Any previous changes are lost.
NOTE: Users can be enabled and disabled over time. As a result, a user may have a different index number on each
DRAC 5.
To verify if a user exists, type the following command at the command prompt:
racadm getconfig -u <
username
>
OR
type the following command once for each index of 1–16:
racadm getconfig -g cfgUserAdmin -i <
index
>
NOTE: You can also type racadm getconfig -f <myfile.cfg> and view or edit the myfile.cfg file, which
includes all DRAC 5 configuration parameters.
Several parameters and object IDs are displayed with their current values. Two objects of interest are:
# cfgUserAdminIndex=XX
cfgUserAdminUserName=
If the cfgUserAdminUserName object has no value, that index number, which is indicated by the
cfgUserAdminIndex object, is available for use. If a name appears after the "=", that index is taken by
that user name.
NOTE: When you manually enable or disable a user with the racadm config subcommand, you must specify the
index with the -i option. Observe that the cfgUserAdminIndex object displayed in the previous example contains a
'#' character. Also, if you use the racadm config -f racadm.cfg command to specify any number of groups/objects
to write, the index cannot be specified. A new user is added to the first
available index. This behavior allows more
flexibility in configuring multiple DRAC 5s with the same settings.