User's Manual

racadm <options> -r <racIpAddr> <subcommand>
racadm Options
Table8-3 lists the options for the racadm command.
Table 8-3. racadm Command Options
If you use the -r option, you must also use the -u and -p options to configure the DRAC 4 to accept racadm commands. Using the -r option without the
previously listed options will result in a command failure.
Enabling and Disabling the racadm Remote Capability
The racadm CLI remote capability is enabled by default. If you have disabled it, type the following command to enable the remote capability:
racadm config -g cfgRacTuning -o cfgRacTuneRemoteRacadmEnable 1
Type the following command to disable the remote capability:
racadm config -g cfgRacTuning -o cfgRacTuneRemoteRacadmEnable 0
Log/Verbose Levels
Use the log/verbose level options in Table8-4 to control how racadm command output is displayed.
Table 8-4. Log/Verbose Level Options
Example:
racadm -l 0x3 -L log <subcommand [subcommand_options]>
The argument 0x3 for the log level is the OR of STDOUT and STDERR messages. Both of these message types are written to the file name log. The verbose, or
-v, option defaults to 0x3, or STDOUT, STDERR.
racadm Subcommand Descriptions
The following subsections provide descriptions of subcommands that you can run under the racadm CLI. Table8-5 briefly describes each racadm subcommand.
Option
Description
-r <racIpAddr> or
-r <racIpAddr>:<port number> if the DRAC
4 port number has been changed
Specifies the remote IP address of the controller.
-i
Tells racadm to interactively query the user for the user's user name and password.
-u <usrName>
Specifies the user name that is used to authenticate the command transaction. If not specified, the default
user name "racadmusr" is used. If the -u option is used, the -p option must be used, and the -i option
(interactive) is not allowed.
-p <password>
Specifies the password used to authenticate the command transaction. If the -p option is used, the -i option
is not allowed.
-l <lvl>
Specifies the log level for debug.
NOTE: If you use the -l <lvl> option without using the -L <file> option, a default logfile named racadm.log
is created in the current working directory.
-v <lvl>
Specifies the verbose level for screen output.
-t <secs>
Specifies the transport time-out.
-L <file>
Specifies a debug log file.
NOTE: It is recommended that you run these commands on your local system.
Option
Description
0x1
Standard out messages
0x2
Standard error messages
0x4
Debug messages