User's Manual
For a detailed listing of every racadm subcommand including syntax and valid entries, see the "racadm Subcommand Man Pages."
Table 8-5. racadm Subcommands
racadm Error Messages
For information about racadm CLI error messages, see "Frequently Asked Questions" in this chapter.
Configuring Multiple DRAC 4s
One of the major features of the racadm CLI is the ability to configure a DRAC 4 using a configuration file. The racadm CLI parses the DRAC 4 configuration file,
called racadm.cfg, and then sends individual configuration requests to one or more DRAC 4s.
This method may be used to configure multiple DRAC 4 database properties. You must first run the racadm CLI to query a configured DRAC 4 for its database
properties, which are accessed using their object group IDs and object IDs. The racadm CLI creates the racadm.cfg file from the retrieved information. You can
then configure other cards with the same database information by exporting this file out to the other DRAC 4s.
Configuration File Overview
To use the configuration file, perform the following high-level steps:
1. Get the configuration from the DRAC 4 that contains the appropriate configuration.
2. Modify the configuration (optional).
3. Push the configuration to a target DRAC 4.
4. Reset the target DRAC 4.
The getconfig –f racadm.cfg subcommand requests the configuration of the DRAC 4 and generates a racadm.cfg file (you can choose any name for this file).
Other options for the getconfig command enable you to perform such actions as:
Command
Description
help
Lists DRAC 4 subcommands.
help <subcommand>
Lists usage statement for the specified subcommand.
clearasrscreen
Clears the last ASR screen (last blue screen).
config/getconfig
Configures the DRAC 4 and displays the DRAC 4 configuration.
coredump
Displays the last DRAC 4 coredump.
coredumpdelete
Deletes the core dump stored in the DRAC 4.
fwupdate
Executes or displays status on DRAC 4 firmware updates.
getssninfo
Displays information about active sessions.
getsysinfo
Displays general DRAC 4 and system information.
getractime
Displays the DRAC 4 time.
setniccfg/getniccfg
Sets or displays the current DRAC 4 IP configuration.
getsvctag
Displays service tags.
racdump
Dumps DRAC 4 status and state information for debug.
racreset
Resets the DRAC 4.
racresetcfg
Resets the DRAC 4 to the default configuration.
serveraction
Executes a graceful hard server reset, or power-on, power-off, or power-cycle.
setrac
Sets managed system name, operating system name, and type from the managed system to the DRAC 4.
sslcsrgen
Generates and downloads the secure sockets layer (SSL) certificate signing request (CA).
sslcertupload
Uploads a CA certificate or server certificate to the DRAC 4.
sslcertdownload
Downloads a CA certificate.
sslcertview
Views a CA certificate or server certificate in the DRAC 4.
testemail (see Email Test Command)
Forces the DRAC 4 to send an email over the DRAC 4 NIC.
testtrap (see Trap Test Command)
Forces the DRAC 4 to send an SNMP over the DRAC 4 NIC.
NOTE: Some configuration files contain unique DRAC 4 information (such as the static IP address) that must be modified before configuring other cards.
NOTE: The generated .cfg file does not contain user passwords.