Introduce a,

In the process of configuring servers in batches, you will encounter various tools for configuring servers in batches, such as Huawei FusionServer uMate and Dell Racadm iDRAC. These tools can be used to configure servers quickly or in batches through command lines or graphical interfaces, and most of them also have command line versions, so you can customize quick Settings with Shell scripts. Today we will introduce the Dell server iDRAC management tool RACADM.

IDRAC is Dell’s platform for remote control of servers, similar to Huawei’S iBMC and HP’s iLO. Through this platform we can in the machine off the premise of the server initialization configuration and remote console operation, very convenient. However, these operations are high-risk operations. Therefore, it is not recommended to perform exercises and tests on online servers. Find a temporarily unused or retired Dell server to make the connection.

1. RACADM connection mode

The RACADM command-line utility provides a scriptable interface that allows you to configure a remote access controller (RAC) locally or remotely. The utility runs on Management Station as well as regular servers, including Dell server NPCS and other standard servers that are accessible on the network.

The RACADM utility supports the following interfaces:

(1) local

Supports running the RACADM command from the operating system of the managed server. To run the local RACADM command, install the OpenManage software on the managed server. Only one instance of Local RACADM can be executed on the system at a time. If you try to open another instance, an error message is displayed and the second instance of Local RACADM is immediately closed. To download the native RACADM tool from support.dell.com, select driver and Download, select Server, and then Select Systems Management > Dell Toolkit.

② SSH or Telnet(login to iDRAC through this method)

Also known as firmware RACADM. Firmware RACADM can be accessed by logging into iDRAC using SSH or Telnet. You do not need to specify iDRAC IP, user name, or password to run the Firmware RACADM command. Similar to Local RACADM, run commands without the RACADM prefix directly at the RACADM prompt.

③ Remote (racADM remote via IP and account secret)

You can run the RACADM command from a remote management station (such as a laptop or desktop). To run the Remote RACADM command, install the DRAC Tools utility from the OpenManage software on your Remote computer. To run the remote RACADM command: Configure the command as a local or SSH/Telnet RACADM command.

Also, specify the -r-U-p option. -r indicates the destination iDRAC IP address, and -u and -p indicate the user password respectively.

2. Basic syntax of RACADM

① Local command syntax

racadm get <devicename>.<groupname>.[<index>].[<objectname>]
racadm set <devicename>.<groupname>.[<index>].<objectname> <value>
racadm <subcommand>
Copy the code

Example:

racadm get idrac.info
racadm getsysinfo
Copy the code

② Remote racadm command syntax

Basic syntax:

racadm -r <racIpAddr> -u <username> -p <password> get <devicename>.<groupname>.[<index>].[<objectname>]
racadm -r <racIpAddr> -u <username> -p <password> set <devicename>.<groupname>.[<index>].<objectname> <value>
racadm -r <racIpAddr> -u <username> -p <password> <subcommand> 
Copy the code

Example:

Racadm -r 192.168.1.0 -u root -p XXXX get idrac.ssh.port Security Alert: Certificate is invalid - Certificate is not signed by Trusted Third Party Continuing execution. Use -S optionfor racadm to stop execution on certificate-related errors. [Key=idrac.Embedded.1#SSH.1] Port=22 
Copy the code

It should be noted that such remote commands generally have security alerts, which can be ignored.

Some remote commands do not display security warnings, for example:

Racadm -r 192.168.0.0 -u root -p XXXXsetPort 22 racadm -r 192.168.0.0 -u root -p XXXX getSysinfo racadm -r 192.168.0.0 -u root -p XXXX --nocertwarn get idrac.ssh.portCopy the code

③ Obtain the device information of index coding

Racadm can specify exactly which device number a local or remote server needs to operate on or query, as long as there is an index of the corresponding device for the team. Similar to the USAGE of OID in SNMP.

The following syntax is used to specify a specific device:

device.<group name>.[<index>].<object name>
Copy the code

If you want to get information about the entire device group, you can use the following syntax:

racadm get device.<group name>
Copy the code

Example:

racadm get nic.nicconfig
                                       NIC.nicconfig.1 [Key=NIC.Integrated.1-1-1#nicconfig]
                                       NIC.nicconfig.2 [Key=NIC.Integrated.1-2-1#nicconfig]
                                       NIC.nicconfig.3 [Key=NIC.Integrated.1-3-1#nicconfig]
                                       NIC.nicconfig.4 [Key=NIC.Integrated.1-4-1#nicconfig]
Copy the code

To get a specific device group, use the following syntax:

racadm get device.<group name>.<index>
Copy the code

Example:

racadm get nic.nicconfig.2
        [Key=NIC.Integrated.1-2-1#nicconfig]
        BannerMessageTimeout=5
        BootStrapType=AutoDetect
        HideSetupPrompt=Disabled
        LegacyBootProto=NONE
        LnkSpeed=AutoNeg
        #VLanId=1
        VLanMode=Disabled
Copy the code

To get a specific device (single), use the following syntax:

racadm get device.<group name>.<index>.<object name> 
Copy the code

Example:

racadm get nic.nicconfig.3.legacybootproto
        [Key=NIC.Integrated.1-3#NICConfig]
        Legacybootproto=PXE
Copy the code

The examples above all use the local instruction format, but the remote instruction format can be used just as well

④ Description of RACADM remote login parameters

Parameter names usage
-r <HostIP> Enter the IP address of the remote configuration target
-r <HostIP>:<Port> Enter the IP address and port of the remote configuration target
-u <username> Enter the user name of the remote configuration target
-p <password> Enter the password of the remote configuration target
-S Specifies that RACADM must verify the validity of the certificate and stop configuration if validity is in doubt
–nocertwarn Do not display warning messages related to certificates. (common)

RACADM subcommand (key)

The heart of racadm’s power lies in its powerful and rich set of subcommands. A large number of subcommands allow you to configure and operate the server in a very precise, subtle, and comprehensive way from the command line, locally or remotely. All of the commonly used racadm subcommands are explained in this chapter.

1, help subcommand

Like most Linux commands, racadm can use the help subcommand to query for information about instructions and specific device groups or devices. The syntax is as follows:

racadm help
racadm help <subcommand>
racadm help <device name>.<Group>
racadm help <device name>.<Group>.<object>
Copy the code

Example:

racadm help idrac.lcd       Display idrac. LCD help document
racadm help system.power    Display system power help documentation
Copy the code

2. Arp subcommands

The arp subcommand is used to display the content of the ADDRESS resolution Protocol (ARP) table, which is mainly used to query the MAC address of the remote controller card on the target server. ARP table entries cannot be added or deleted. To use this subcommand, you must have debug permission. The syntax is as follows:

racadm arp
Copy the code

Example:

Racadm ARP (10.00.1.1) at BC: 16:65:D7:27:43 [either] on bond0Copy the code

Autoupdatescheduler subcommand

The autoupdatescheduler subcommand is used to automatically update the firmware of the device on the server. To run this subcommand, you must have server control rights.

  • You can enable or disable the AutoupDatescheduler subcommand.
  • Lifecycle Controller and CSIOR may not be enabled to run this subcommand.
  • You can enable or disable AutoupDatescheduler.
  • The minimum Lifecycle Controller version required is Lifecycle Controller 1.3.
  • When a job is scheduled and the clear command is run, the scheduling parameters are cleared.
  • If you cannot access network shares or directory files are missing when you plan a job, the job will fail.

The syntax is as follows:

  • Create autoupdatescheduler:
racadm autoupdatescheduler create -u <user> -p <password> -l <location>\
-f <filename> -time <time> -dom <DayOfMonth> -wom <WeekOfMonth> -dow <DayofWeek>\
-rp <repeat> -a <applyreboot> -ph <proxyHost> -pu <proxyUser> -pp <proxyPassword>\
-po <proxyPort> -pt <proxyType> 
Copy the code
  • AutoupDatescheduler
racadm autoupdatescheduler view
Copy the code
  • Clear and display autoupDatescheduler parameters:
racadm autoupdatescheduler clear 
Copy the code

Example:

racadm autoupdatescheduler create -u nfsadmin -p nfspwd -l2: / share-f cat.xml -time 14:30 -dom 1 -rp 5 -a 1
Copy the code
Racadm AutoupDatescheduler view hostname = 192.168.1.1 sharename = NFS shareType = NFS catalogName = catlog.xml time = 14:30dayofmonth =1 repeat = 5 applyreboot = 1 idracuser = racuserCopy the code
racadm autoupdatescheduler clear
        RAC1047: Successfully cleared the Automatic Update (autoupdate) feature settings
Copy the code

4. CD subcommand

The CD subcommand is similar to the CD command in Linux, except that in Linux CD is used to switch the current working directory, while in racadm CD is used to switch the working Object. The syntax is as follows:

racadm> cd <object>
Copy the code

Example:

racadm>>cd system
        racadm/system>
Copy the code

5, CD.. Sons command

cd.. The subcommand is similar to CD in Linux.. Return to the previous layer of work Object. The syntax is as follows:

racadm> cd..
Copy the code

Example:

racadm/ power> cd..
        system>>
Copy the code

6. Clearasrscreen subcommand

Clear last crash (ASR) contents from memory. The syntax is as follows:

racadm clearasrscreen
Copy the code

7, clearpending subcommand

The clearpending subcommand is used to delete Pending values of all properties (objects) in a device, including NIC, BIOS, FC, and storage. The syntax is as follows:

racadm clearpending <FQDD> 
Copy the code

Example:

racadm clearpending NIC.Integrated.1-1
Copy the code

8. Closessn subcommand

The closessn subcommand is used to close the session on the device. Use getssninfo to view the list of sessions that can be closed with this command. To run this subcommand, you must have administrator rights. The syntax is as follows:

Racadm Closessn -I <session_ID> racadm Closessn-a
racadm closessn -u <username>
Copy the code
  • -i <session_ID> - The session ID of the session to be closed, which can be retrieved using the RACADM getssninfo subcommand. The session running this command cannot be closed.
  • -a - Closes all sessions.
  • -u <username> - closes all sessions for a specific username. The -u option can only be used in local RACADM if the user name contains a maximum of 16 characters. If the user name contains more than 16 characters, use the -i option.

Example:

  • Close session 1234
racadm closessn -i 1234
Copy the code
  • Close all sessions except root’s active session
Racadm closessn - u rootCopy the code
  • Close all Sessions
Racadm closessn - aCopy the code

Clrsel subcommand

The clrsel subcommand is used to delete all existing records from the system event log (SEL). To use this subcommand, you must have clear log permission. The syntax is as follows:

racadm clrsel [-m <module>]
Copy the code

M must be one of the following values:

  • Server - <n> - where n = 1 to 16
  • Server - <nx> - where n = 1 to 8; X = a, B, c, d (lowercase)

Example:

racadm clrsel -m server-1
Copy the code

10. Config subcommand

The config subcommand is used to set iDRAC configuration parameters separately or batch them as part of the configuration file, and then modify CMC configuration properties. If the data is different, the iDRAC object is written with the new value. The syntax is as follows:

racadm config -g <group> -o <object> <value> [-m <module>]
racadm config -g <group> -i <index> -o <object> <value>
Copy the code

Input parameter description:

  • The -f - -f <filename> option causes config to read the contents of the file specified by <filename> and configure iDRAC. This file must contain data in the format specified in the Parsing Rules section of the iDRAC User Guide.
  • -continue - This option is used only with the -f option. If the profile in the group is not successful, proceed to the next group in the profile. If this option is not used, the configuration stops when a particular group is unsuccessful. After the unsuccessful group, the remaining groups are not configured.
  • -p - This option must be used together with the -f option. It instructs Config to delete the password entry contained in the configuration file -f <filename> when the configuration is complete. To apply the password, you must remove the previous read-only flag # from the configuration file before executing the config -f command.
  • The -g -- -g <groupName> or group option must be used together with the -o option. <group> specifies the group that contains the object to be set.
  • The -o -- -o <objectName> or object option must be used with the -g option. This option specifies the name of the object written using a string <value> - the value to be set to the configuration object.
  • The -i - -i <index> or index option is valid only for index groups and can be used to specify a unique group (used with -g and -o). <index> is a decimal integer from 1 to n, where n can range from 1 to the maximum number of indexes supported by a particular group. If -i <index> is not specified, groups are assumed to have a value of 1, and these groups are tables with multiple entries. Indexes are specified by index values, not named values.
  • The -c - -c or check option is used with the config subcommand and allows the user to parse the CFG file for syntax errors. If an error is found, the line number and incorrect brief description are displayed. Write permission does not apply to iDRAC. This option is for inspection only.

Example:

Racadm config cfgLanNetworking - o - g cfgNicIpAddress 10.35.10.100 = = = = = = = = = = = = = = or = = = = = = = = = = = = = = = = = = = = = racadm config-f myrac.cfg 
Copy the code

11. Coredump subcommand

The coredump subcommand is used to display detailed information related to any critical issues that have recently occurred in iDRAC. Coredump information can be used to diagnose these critical problems. If available, the Coredump information remains constant for the duration of the iDRAC power cycle and remains available until either of the following occurs. Delete coredump information using the coredumpdelete subcommand. The syntax is as follows:

racadm coredump
Copy the code

Example:

racadm coredump
        Feb 19 15:51:40 (none) last message repeated 5 times
        Feb 19 15:52:41 (none) last message repeated 4 times
        Feb 19 15:54:12 (none) last message repeated 4 times
        Feb 19 15:56:11 (none) last message repeated 2 times
        Feb 22 11:46:11 (none) kernel:
Copy the code

Coredumpdelete subcommand

This command is used to delete all coredump information. The syntax is as follows

racadm coredumpdelete
Copy the code

Diagnostics subcommand

A very important subcommand to collect and export remote diagnostic reports from iDRAC. The results of the latest successful remote diagnostics can be retrieved and retrieved remotely through NFS or CIFS shares. The syntax is as follows:

  • Running remote diagnostic reports:
racadm diagnostics run -m <mode> -r <reboot type> -s <start time> -e <expiration time>
Copy the code
  • Exporting a remote diagnosis report:
racadm diagnostics export -f <file name> -l <NFS or CIFS share location> -u <username> -p <password> 
Copy the code

The parameters are described as follows:

  • -m <mode> - Specifies the type of diagnostic mode. Types are: Collect and export remote diagnostic reports from iDRAC. 0 (fast) - Fast mode performs a subset of diagnostic tests. 1 (extended) - Extended mode performs all available diagnostic tests. 2 (both) - Run expression and extended tests sequentially.
  • -f < file name > - Specifies the name of the configuration file.
  • -l - Specifies the network share location (NFS or CIFS).
  • -u <username> - specifies the username of the remote share to which the file is to be imported.
  • -p <password> - Specifies the password of the remote share to which the file is to be imported.
  • -r <reboot type> - Specifies the restart type. The type can be one of the following: Pwrcycle - Power cycle Graceful restart - No forced shutdown Forced - Forced shutdown to restart normally
  • -s <start time> - Specifies the starting time of a scheduled job in the YYYYMMDDHhMMSS format. Default TIME_NOW Starts the job immediately.
  • -e < Expiration time > - Specifies the expiration time of a scheduled job in the YYYYMMDDHhMMSS format. Default value TIME_NA No waiting time is applied.

Example:

  • To start a remote diagnostic operation:
racadm diagnostics run -m 1 -r forced -s 20121215101010 -e TIME_NA
Copy the code
  • Exporting a remote diagnosis report to a CIFS share:
racadm diagnostics export -f diagnostics -l //169.254.23.44/cifs -u administrator -p password123  
Copy the code
  • To export a remote diagnostic report to an NFS share:
racadm diagnostics export -f diagnostics -l169.254.23.44:/ NFS -u administrator -p password123Copy the code

14. Eventfilters subcommand

The eventfilters subcommand is used to display a list of eventfilter Settings. To use this subcommand with the SET and test options, you must have administrator privileges. The syntax is as follows:

racadm eventfilters <eventfilters command type>
racadm eventfilters get -c <alert category>
racadm eventfilters set -c <alert category> -a <action> -n <notifications>
racadm eventfilters set -c <alert category> -a <action> -r <recurrence>
racadm eventfilters test -i <Message ID to test>
Copy the code

Example:

Displays all available event filter configurations

racadm eventfilters get -c idrac.alert.all
Copy the code

Displays the EventFilter configuration for a specific category. For example, auditing:

racadm eventfilters get -c idrac.alert.audit
Copy the code

Displays the EventFilter configuration for a specific subclass. For example, under the audit category:

racadm eventfilters get -c idrac.alert.audit.lic
Copy the code

Displays the EventFilter configuration for a specific severity. For example, under the audit category:

racadm eventfilters get -c idrac.alert.audit.warning
Copy the code

Displays eventFilter configurations for specific severity and subclasses. For example, the severity of the warning in the audit category subcategory license:

racadm eventfilters get -c idrac.alert.audit.lic.warning
Copy the code

Clear all available alert Settings:

racadm eventfilters set -c idrac.alert.all -a none -n none
Copy the code

Configure using subcategories and severity as parameters. For example, all information events under the License subcategory in the audit category trigger the power off operation and disable all notifications:

racadm eventfilters set -c idrac.alert.audit.lic.info -a poweroff -n none
Copy the code

Configure the numerical generation interval for temperature statistics:

racadm eventfilters set -c idrac.alert.system.tmps.warning -r 10
Copy the code

Configure event generation interval and temperature statistics notification:

racadm eventfilters set -c idrac.alert.system.tmps -r 5 -a none -n snmp
Copy the code

Get test alerts for fans:

racadm eventfilters test -i FAN0001
Copy the code

15. The fcstatistics subcommand

The fcstatistics subcommand is used to display the FC (FQDD) list and managed servers with available statistics. The syntax is as follows:

racadm fcstatistics <FC fqdd>
Copy the code

Frontpanelerror subcommand

The frontpanelError subcommand is used to enable or disable the real-time feed of errors currently displayed on the LCD screen. For errors that can be hidden if confirmed, use show to see all error messages. The syntax is as follows:

racadm frontpanelerror show
racadm frontpanelerror hide
Copy the code

17. Fwupdate subcommand

The FWUpdate sublife is used to update the firmware on the server iDRAC device. You can:

  • Check the firmware update status.
  • Update iDRAC firmware from FTP or TFTP server by providing IP address and optional path.
  • Update iDRAC firmware from the local file system using local and remote RACADM.
  • Roll back to standby firmware.

To use this subcommand, you must have the “Configure iDRAC” permission. The syntax is as follows:

racadm fwupdate -s
racadm fwupdate -g -u -a <TFTP_Server_IP_Address> [-d <path> [--clearcfg]
racadm -r <iDRAC IP_Address> -u <username> -p <password> fwupdate -f <ftpserver ip> <ftpserver username> <ftpserver password> -d <path>     #where path is the location on the ftp server where firmimg.d7 is stored.
racadm fwupdate -r
racadm fwupdate -p -u [-d <path>]
Copy the code

Parameter Description:

  • -u - Update option Performs the checksum of firmware update files and starts the actual update process. This option can be used with the -g or -p option. At the end of the update, iDRAC performs a soft reset.
  • -s - This option returns the status of the update process.
  • The -g-get option instructs the firmware to get the firmware update file from the TFTP server. Specify the -a, -u, and -d options. If the -a option is not available, the cfgRhostsFwUpdateIpAddr and cfgRhostsFwUpdatePath properties are used to read the default values from the properties in the cfgRemoteHosts group.
  • The -p - -p or PUT option is used to update firmware files from the managed system to iDRAC. The -u option must be used together with the -p option. Default: the specified TFTP default directory on the host if the -g option is missing. If -g is used, it is the directory configured on the TFTP server by default.
  • -r - Rollback option Used to roll back to the standby firmware.
  • -f- Specifies the FTP server IP address or FQDN, user name, and password for the firmware image. Apply the FTP download process for firmware updates.
  • -- ClearCfg (Optional) - After firmware update, this option will delete the previous iDRAC configuration.

Example:

  • Update firmware on iDRAC build server.
racadm fwupdate -g -u -a 192.168.0.100 -d firmimg.d7
Copy the code
  • Downloads the firmware update file from a specified location on the TFTP server at a specific IP address.
racadm fwupdate -g -u -a 143.166.154.143 -d <path>
Copy the code
  • Displays the status of firmware updates.
racadm fwupdate -s
Copy the code
  • Prevents firmware degradation on 3000W AC power configuration.
Racadm fwupdate - s ReadyforFirmware update racadm FWupdate -g -U -A 10.210.138.121 -D firming-4.40-a00. CMC -m CMC-active Firmware update has been Initiated. This update process may take several minutes to complete. Racadm FWUPDATE -- s Cannot updatelocal CMC firmware: The uploaded firmware image does not support the installed power supplies.
Copy the code

18, get subcommand

The get subcommand is used to display objects and their values. If the value is suspended, the submit and reboot jobs must be created using the jobQueue command. For the configuration XML operation, check the job ID by running the jobqueue view command. Lifecycle Contoller 1.1 or later is required to run this subcommand for configuring XML file types. The syntax is as follows:

racadm get -f <filename>
racadm get <FQDD Alias>.<index>.<group>.<index>.<object>
racadm get <FQDD Alias>.<group>
racadm get <FQDD Alias>.<group>.<object>
racadm get <FQDD Alias>.<group>.[<index>].<object>
racadm get -f <filename> -t xml -u <username> -p <password> -l <CIFS share>
racadm get –f <filename> -t xml -u <username> -p <password> -l<CIFS share> -- Clone racadm get -f <filename> -t XML -u <username> -p <password>-l <CIFS share> --replace
racadm get -f <filename> -t xml -u <username> -p <password> -l <CIFS share> -c <FQDD>
racadm get -f <filename> -t xml -l <NFS share> -c <FQDD>, <FQDD>, <FQDD>, <FQDD>
racadm get -f <filename> -t xml -l <NFS or CIFS share> -u <username> -p <password> -t xml --includeph
Copy the code

The parameters are described as follows:

  • <group> - Specifies the group that contains objects that must be read.
  • <object> - Specifies the object name of the value that must be read.
  • <index> - Specifies where the FQDD alias or group must be indexed.
  • -f < filename > - Use this option to save the RAC configuration to a file. It also enables subcommands to write device configuration to files. Firmware RACADM interface does not support this option.
  • -u - Specifies the user name of the remote share from which files must be exported.
  • -p - Specifies the password of the remote share from which files must be exported.
  • -l - Specifies the network share location from which the file must be exported.
  • -t - Specifies the type of the file that must be exported. Valid values are XML and INI. These options are case insensitive. Ini Exports the old configuration file. Unable to export the.ini file to the remote share. If -t is not specified, the INI file is exported.
  • --clone - Get configuration. XML files without system-specific details such as service tags. The received.xml file does not have any virtual disk creation options.
  • --replace - Gets the config.xml file and system-specific details, such as service tags.
  • -c - Specifies FQDD or a list of FQDD separated by commas (,) of the components for which the configuration is to be exported. If this option is not specified, the configuration associated with all components is exported.
  • --includeph - Specifies that the password hash value should be included in the exported config.xml file.

Example:

  • Obtain system LCD information:
racadm get system.lcd
        LCDUserString=test
Copy the code
  • Displays topology configuration for the entire group.
racadm get system.location
Copy the code
  • Displays a single object in a specific group.
racadm get system.location.rack.name
Copy the code
  • Export the XML configuration to a CIFS share.
racadm get -f file -t xml -u myuser -p mypass -l/ / 10.1.12.13 / shareCopy the code
  • Export the XML configuration to an NFS share.
racadm get -f file -t xml -l10.1.12.13: / myshare racadm get-f xyz_temp_clone -t xml -u Administrator -p dell_123 -l/ / 10.94.162.74 xyz - clone racadm get-f xyz_temp_replace -t xml -u Administrator -p dell_123 -l/ / 10.94.162.74 xyz - the replaceCopy the code
  • Export the XML configuration of the iDRAC component to a CIFS share.
racadm get -f file -t xml -u myuser -p mypass -l/ / 10.1.12.13 / share - c iDRAC. Embedded. 1Copy the code
  • Include the password hash value in the configuration.xml file.
racadm get -f<filename> -t xml -l<NFS or CIFS share> -u<username> -p<password> -t xml --includeph
Copy the code

19. Getconfig subcommand

The getConfig subcommand is used to retrieve iDRAC configuration parameters individually, or you can retrieve all iDRAC configuration groups and save them to a file. The syntax is as follows:

racadm getconfig -f <filename>
racadm getconfig -g <groupName> [-i <index>]
racadm getconfig -u <username>
racadm getconfig -h
racadm getconfig -g <groupName> -o <objectName> [-i index]
Copy the code

Parameter Description:

  • The -f - -f < file name > option instructs getConfig to write the entire iDRAC configuration to the configuration file. This file can be used for batch configuration operations using the config subcommand.
  • The -g -- -g <groupName> or group option is used to display the configuration of a single group. <groupName> is the name of the group used in the racadm. CFG file. If the group is an index group, use the -i option.
  • The -h - -h or help option displays a list of all available configuration groups in alphabetical order. This option is useful if you don't remember the exact group name.
  • The -i - -i <index> or index option is valid only for index groups and is used to specify a unique group. <index> is a decimal integer from 1 to n, where n can range from 1 to the maximum number of indexes supported by a particular group. If -i <index> is not specified, groups are assumed to have a value of 1, and these groups are tables with multiple entries. The -i option enters an index value instead of a named value
  • The -o - -o < objectName > or object option specifies the objectname to use in the query. This option is optional and can be used with the -g option.
  • -u - -u < user name > or user name option, which is used to display the configuration of the specified user. The <username> option is the user's login name.
  • The -v - -v option displays more information about the property display and is used with the -g option.

Example:

  • Displays the configuration properties (objects) contained in the cfgLanNetworking group.
racadm getconfig -g cfgLanNetworking  
Copy the code
  • Save all group configuration objects from iDRAC to myrac.cfg.
racadm getconfig -f myrac.cfg  
Copy the code
  • Displays an alphabetical list of available configuration groups on iDRAC.
racadm getconfig -h 
Copy the code
  • Displays configuration properties for the user named root.
racadm getconfig -u root
Copy the code
  • Displays the user group instance at index 2, which contains detailed information about attribute values.
 racadm getconfig -g cfgUserAdmin -i 2 -v 
Copy the code
  • Displays the entire set of serial configurations.
racadm getconfig -g cfgSerial
Copy the code
  • Displays a single object in a specific group.
racadm getconfig -g cfgSerial -o cfgSerialBaudRate
Copy the code
  • Display index groups.
racadm getconfig -g cfgUserAdmin -o cfgUserAdminUserName -i 2
Copy the code
  • Displays the current enhanced heat dissipation mode property configuration.
Racadm cfgThermal getconfig - gCopy the code

20, gethostNetworkinterfaces subcommand

The gethostNetworkinterfaces subcommand is very important and is used to display details about the hostnetworkinterface. The syntax is as follows:

racadm gethostnetworkinterfaces
racadm gethostnetworkinterfaces <NIC FQDD>
Copy the code

Example:

To display the details of all the network interfaces on the server.

racadm gethostnetworkinterfaces
                                                      
    Local Area Connection 12
    Description              : iDRAC Virtual NIC USB Device # 8Status: Up Interface Type: Ethernet DHCP: Enabled DHCPServerV4:169.254.0.1 MAC Address: 00-25-64-F9-7A-E7 IPv4 Address: 169.254.0.2 Subnet Mask: 255.255.255.0 IPv6 Address: FE80 :: 1CCE: A0A7: F30E :54fc
    Prefix Length            : 64
    IPv6 DNSServer Address  0: fec0:0:0:ffff::1
    IPv6 DNSServer Address  1: fec0:0:0:ffff::2
    IPv6 DNSServer Address  2: fec0:0:0:ffff::3
Copy the code

To display the details of a particular NIC on the server.

racadm gethostnetworkinterfaces NIC.Integrated.1-1-1 Local Area Connection Description : Broadcom NetXtreme Gigabit Ethernet Status : Up Interface Type : Ethernet DHCP : Enabled DHCPServerV4 : 10.94.224.25 MAC Address: 14-FE-b5-FF-B1-9c FQDD: nic.integrated.1-1-1 IPv4 Address: 10.94.225.189 Subnet Mask: 10.94.225.189 MAC Address: 14-FE-b5-FF-B1-9c FQDD: NIC. 7 c5f 255.255.255.128 IPv6 Address: fe80: : : a114:84 d4:17 f6 Prefix Length: 64 IPv4 Gateway Address: 10.94.225.129 IPv4 DNSServer Address 0: 10.116.2.250 IPv4 DNSServer Address 1: 10.116.2.251Copy the code

21. Run the getled command

The getled command is used to display the LED Settings on the module: blinking, non-blinking or unknown (for empty slots). To run this subcommand, you must have Logon User permission. The syntax is as follows:

racadm getled
Copy the code

Example:

racadm getled
        LED State : Blinking 
        racadm getled
        LED State : Not-Blinking 
Copy the code

22. Getniccfg subcommand

The getniccfg subcommand is used to display the current and static NIC Settings of iDRAC. The syntax is as follows:

racadm getniccfg
Copy the code

23. Getraclog subcommand

The getraclog subcommand is used to display RAC log entries. The syntax is as follows:

racadm getraclog -s <start record> -c <count>
racadm getraclog [-c <count>] [-s <start-record>] [--more]
Copy the code

Parameter Description:

  • -c - Specifies the number of records to display.
  • --more - Displays one screen at a time and prompts you to continue (similar to the UNIX more command).
  • -s - Specifies the start record to display.

Example:

  • Displays the last two records of RAC logs.
racadm getraclog -c 
    2 
    SeqNumber = 4102
    Message ID = LIC201
    Category = Audit
    AgentID = DE
    Severity = Warning
    Timestamp = 2014-06-12 01:38:19
    Message = License yPMRJGuEf7z5HG8LO7gh assigned to device iDRAC expires in 4 days.
    Message Arg 1 = yPMRJGuEf7z5HG8LO7ghMessage Arg 2 = iDRACMessage Arg 3 = 4
    -----------------------------------------------------------------------------------
    SeqNumber = 4101
    Message ID = USR0032
    Category = Audit
    AgentID = RACLOG
    Severity = Information
    Timestamp = 2014-06-11 19:54:00
    Message = The session forRoot from 10.94.98.92 using RACADM is logged off. Message Arg 1 = root Message Arg 2 = 10.94.98.92 Message Arg 3 = RACADM FQDD = iDRAC.Embedded.1 -------------------------------------------------------------------------------------Copy the code

24. Getractime subcommand

The getractime subcommand is used to display the current CMC time. The syntax is as follows:

racadm getractime [-d]
Copy the code

Example:

racadm getractime
        Mon May 13 17:17:12 2013
Copy the code

25, getsel subcommand

The getsel subcommand is used to display all sensor event log entries in DRAC. The syntax is as follows:

racadm getsel -i [-A]
racadm getsel [-s <start>][-c <count>] [-A] [-o] [-E] [-R] [--more]
Copy the code

The parameters are described as follows:

  • -c - Displays the number of records.
  • -s - Specifies the start record to display.
  • - I - Displays the number of SEL entries.
  • --more - Displays on one screen at a time and prompts the user to continue (similar to the UNIX more command).

Example:

racadm getsel
        Record: 12

        Date/Time: 11/20/2011 14:19:34
        Source: system
        Severity: Ok
        Description: C:start completed.
Copy the code

26. Getsensorinfo subcommand

The getsensorinfo subcommand is used to display the sensor status. The syntax is as follows:

racadm getsensorinfo
racadm getsensorinfo -c
Copy the code

Example:

racadm getsensorinfo Sensor Type : POWER <Sensor Name> <Status> <Type> PS1 Status Present AC Sensor Type : TEMPERATURE <Sensor Name> <Status> <Reading> <lc> <uc> <Inc>[R/W] <Unc>[R/W] System Board Inlet Temp Ok 20 C -7 C 47 C 3  C [Y] 42C [Y] System Board Exhaust Temp Ok 19 C 0 C 75 C 0 C [N] 70 C [N] CPU1 Temp Ok 59 C 3 C 97 C 8 C [N] 92 C [N] Sensor Type : FAN <Sensor Name> <Status> <Reading> <lc> <uc> System Board Fan1 RPM Ok 2280 RPM 360 RPM NA System Board Fan2 RPM Ok 2280 RPM 360 RPM NA System Board Fan3 RPM Ok 2280 RPM 360 RPM NA System Board Fan4 RPM Ok 2640 RPM 360 RPM NA System Board Fan5 RPM Ok 2280 RPM 360 RPM NA System Board Fan6 RPM Ok 2280 RPM 360 RPM NA Sensor Type : VOLTAGE <Sensor Name> <Status> <Reading> < LC > < UC > CPU1 VCORE PG Ok Good NA NA System Board 3.3V PG Ok Good NA NA System Board 5V AUX PG Ok Good NA NA CPU1 M23 VPP PG Ok Good NA NA System Board 1.05V PG Ok Good NA NA CPU1 M23 VDDQ PG Ok Good NA NA CPU1 M23 VTT PG Ok Good NA NA ...Copy the code

27. Getssninfo subcommand

The getssninfo subcommand is used to display the list of users connected to iDRAC. The following information is displayed:

  • The session ID
  • The user name
  • IP address (if applicable)
  • Session type (for example, serial or Telnet)
  • The login date and time are in MM/DD/YYYY HH: MM: SS formatThe syntax is as follows:
racadm getssninfo [-u <username>] [-A]
Copy the code

Parameter Description:

  • -u - Displays only the sessions associated with a specific user.
  • -A - Does not display the title or label.

Example:

Racadm getssninfo SSNID -u User IP Address Login Date/Time 6 GUI root 192.168.0.10 04/07/2010 12:00:34 Racadm getssninfo  -A"root" "192.168.0.10" "Telnet" "NONE"
Copy the code

28. Getsvctag subcommand

The getsvctag subcommand is used to display the service label (SN) of the host system. The syntax is as follows:

racadm getsvctag
Copy the code

29, getsysinfo subcommand

The getSysinfo subcommand is used to display information related to iDRAC, managed systems, and monitor configurations. The syntax is as follows:

racadm getsysinfo [-d] [-s] [-w] [-A] [-c] [-4] [-6]
Copy the code

The parameters are described as follows:

  • -4 - Displays IPv4 Settings
  • -6 - Displays IPv6 Settings
  • -c - Displays common Settings
  • -d - Displays iDRAC information
  • -s - Displays system information
  • -w - Displays monitoring program information
  • -A - Eliminates the printing of titles/labels

Example:

racadm getsysinfo RAC Information: RAC Date/Time = Tue May 14 14:04:59 2013 Firmware Version = 1.40.40 Firmware Build = 13 Last Firmware Update = 05/10/2013 20:56:10 Hardware Version = 0.01 MAC Address = 90: b1:1c: 11:3c :B7 Common Settings: Register DNS RAC Name = 0 DNS RAC Name = idrac-H1VGF2S Current DNS Domain = Domain Name from DHCP = Disabled IPv4 settings: Enabled = 1 Current IP Address = 192.168.0.1 Current IP Gateway = 192.168.0.1 Current IP Netmask = 192.168.0.1 DHCP Enabled = 1 ...Copy the code

30. Gettracelog subcommand

The gettracelog subcommand is used to list all trace login entries in iDRAC. The syntax is as follows:

racadm gettracelog -i [-A]
racadm gettracelog [-s <start>] [-c <count>] [--more] [-A] [-o]
Copy the code

The parameters are described as follows:

  • - I - Displays the number of entries in iDRAC trace logs.
  • --more - Displays one screen at a time and prompts the user to continue (similar to the UNIX more command).
  • -o - Displays each entry on a single line.
  • -c - Specifies the number of records to display.
  • -s - Specifies the start record to display.
  • -A - Does not display the title or label.

Example:

Output a complete log:

racadm gettracelog                                             
        Display number of records in log:

racadm gettracelog -i                                        
        Record:      1
        Date/Time:   Dec  8 08:21:30
        Source:      ssnmgrd[175]
        Description: root from 143.166.157.103: session timeout
        sid 0be0aef4
Copy the code

31. The getversion subcommand

The getversion subcommand is used to display the current software version, model, generation information, and whether the target device can be updated. The syntax is as follows:

racadm getversion [-b | -c]
racadm getversion -l [-f <filter>]
racadm getversion
Copy the code

Parameter Description:

  • -c - Displays the current CPLD version of the server.
  • -b - Displays the current BIOS version of the server (iDRAC by default).
  • -f <filter> - Specifies the filter component. The value must be one of the following: BIOS, iDRAC, or LC

Example:

racadm getversion
racadm getversion -f idrac
Copy the code

32. Hwinventory subcommand

The hwinventory subcommand is used to display or export the current internal hardware list or the attached hardware list by device. The syntax is as follows:

racadm hwinventory
racadm hwinventory NIC|FC
racadm hwinventory <FQDD>
racadm hwinventory export -f <filename> -u <username> -p <password> -l <CIFS or NFS share>
Copy the code

Parameter Description:

  • <FQDD> - Specifies the FQDD of the target device.
  • -f - Indicates the name of the exported hardware list.
  • -u - Specifies the user name of the remote share from which files must be exported. Specify the username in the domain as the domain/user name
  • -p specifies the password of the remote share from which files must be exported.
  • -l - Network share location where the hardware list must be exported.

33. The ifconfig subcommand

The ifconfig subcommand is used to display the contents of the network interface table. To use this subcommand, you must have the Execute Diagnostic Command permission. The syntax is as follows:

racadm ifconfig
Copy the code

34, inlettemphistory subcommand

The inlettempHistory subcommand is used to display the average and peak temperatures over the past hour, day, week, month, or year, as well as historical data files for inlet and outlet temperatures. The file can be exported to a remote file share, local file system, or workstation. The syntax is as follows:

racadm inlettemphistory export- f t < < filename > -type> [–u <username of the network share>]  [–p <password for the remote share>] [-i <network share location>] 
racadm inlettemphistory get
Copy the code

Parameter Description:

  • -f - Export the historical file name of the inlet temperature. The maximum length of this parameter is 64 characters.
  • -u - Specifies the user name of the remote share from which the file is to be exported. Specify the username in the domain as the domain or user name.
  • -p specifies the password of the remote share from which files must be exported.
  • -l - Network shared location where inlet temperature history records must be exported. This parameter contains a maximum of 256 characters.
  • -t - Specifies the type of the file to be exported. Valid values are XML and CSV. These values are case insensitive.

Example:

  • Export logs to a remote CIFS share.
racadm inlettemphistory export -f Mylog.xml -u admin -p mypass -l/ / 2 / share -t XMLCopy the code
  • Use Local RACADM to export logs to the Local file system.
racadm inlettemphistory export -f Mylog.xml -t xml
Copy the code
  • Use remote RACADM to export logs to the management station.
Racadm -r 1.2.3.4 -u user -p pass inlettempHistoryexport -f Mylog.csv -t csv
Copy the code
  • View the inlet temperature history.
Racadm InletTempHistory get Duration Above Warning Threshold as Percentage = 0.0% Duration Above Critical Threshold as Percentage = 0.0% Average Temperatures Last Hour = 23C (73.4F) Last Day = 24C (75.2F) Last Week = 24C (77.0F) Last Month = 25C (77.0f) Last Year = 23C (73.4f) Peak Temperatures Last Hour = 23C (73.4f) [At Wed, 30 May 2012 11:00:57] Last Day = 25C (77.0f) [At Tue, 29 May 2012 15:37:23] Last Week = 27C (80.6f) [At Fri, 25 May 2012 10:38:20] Last Month = 29C (84.2f) [At Wed, 16 May 2012 15:34:13] Last Year = 29C (84.2f) [At Wed, 16 May 2012 15:34:13]Copy the code

35, jobqueue subcommand

The jobqueue subcommand enables you to view and delete jobs in the current jobqueue. The syntax is as follows:

racadm jobqueue view -i<jobid>
racadm jobqueue delete [-i<jobid>][--all]
where valid options are -i and --all.
racadm jobqueue create <fqdd> [-r <reboot type>] [-s <start time> ] [-e <expiry time>] 
racadm jobqueue create <fqdd> [-r <reboot type>] [-s <start time>] [-e <expiration time>] [--realtime]
Copy the code

Parameter Description:

  • -i - Specifies the ID of the job to display or delete.
  • --all - Deletes invalid job ids.
  • - FQDD - Specifies the FQDD for which the job should be created.
  • -r <reboot type> - Specifies the restart type.
  • None - No restart job. This option is the default.
  • Pwrcycle - Server power cycle.
  • Graceful restart - No forced shutdown.
  • Forced - Gracefully restart a forced shutdown.
  • Start time - Specifies the start time of a job in the YYYYMMDDHHMMSS format. TIME_NOW means immediate results. Next Reboot Indicates that the job is scheduled until the Next manual restart.
  • Expire Time - Specifies the expiration time for job execution in the YYYYMMDDHHMMSS format. TIME_NA Indicates that the expiration time is invalid.
  • -- RealTime - Specifies real-time jobs.

Example:

  • View jobs in the current job queue.
racadm jobqueue view
Copy the code
  • View the job in the current job queue and display the specific job ID.
racadm jobqueue view -i <JobID>
Copy the code
  • Removes all possible jobs from the current job queue.
racadm jobqueue delete --all
Copy the code
  • Removes a specific job from the current job queue.
racadm jobqueue delete -i <JobID>
Copy the code
  • Clears all jobs in the job queue.
Racadm jobqueue delete -i JID_CLEARALLCopy the code
  • Create a job for the supplied FQDD and add it to the job queue.
racadm jobqueue create NIC.Integrated.1-1 -r pwrcycle -s TIME_NOW -e 20120501100000
Copy the code
  • Creates a real-time configuration job for the specified RAID controller.
racadm jobqueue create RAID.Integrated.1-1 -s TIME_NOW --realTime
    RAC1024: Successfully scheduled a job.
    Verify the job status using "racadm jobqueue view -i JID_xxxxx" command.
    Commit JID = JID_927008261880
Copy the code

36, krbkeytabupload subcommand

The krbkeytabupload subcommand is used to upload the Kerberos key table file to iDRAC. To run this subcommand, you must have Server Control authority. The syntax is as follows:

racadm krbkeytabupload [-f <filename>]
Copy the code

Example:

racadm krbkeytabupload -f c:\keytab\krbkeytab.tab
Copy the code

Lclog subcommand

The lclog subcommand allows the user to:

  • Example Export the life cycle log history. Export logs to a remote or local shared location.
  • View the life cycle logs of a specific device or category
  • Add comments to the records in the lifecycle log
  • Add work notes (entries) to the lifecycle log
  • View the status of the configuration job.

The syntax is as follows:

racadm lclog view -i <number of records> -a <agent id>  -c <category> -s <severity> -b <sub-category> -q <sequence no> -n <number of records> -r <start timestamp> -e <end timestamp>
racadm lclog comment edit –q <sequence number> -m <Text to be added>
racadm lclog export -f <filename> -u <username> -p <password> -l <CIFS or NFS share>
racadm lclog export -f <filename> -u <username> -p <password> -l <CIFS or NFS share> --complete
racadm lclog viewconfigresult -j <job ID>
racadm lclog worknote add -m <text to be added>
Copy the code

Parameter Description:

  • - I - Displays the number of records in the active log.
  • -a - Indicates the ID of the proxy for filtering records. Only one proxy ID is accepted.
  • -c - Indicates the type of records to be filtered. Use the comma as a separator to provide multiple categories.
  • -b - Indicates the subcategory for filtering records. Use the comma as a separator to provide multiple subcategories.
  • -q - The serial number of the record must be displayed. Displays records prior to this serial number.
  • -n - Specifies the n records that must be displayed. On local RACADM, if this parameter is not specified, 100 logs will be retrieved by default.
  • -r - Displays the events that occur after this time. The time format is YYYY-MM-DD HH: mm: SS. The timestamp must be provided within double quotes.
  • -e - Displays the events that occurred before this time. The time format is YYYY-MM-DD HH: mm: SS. The timestamp must be provided within double quotes.
  • -f < file name > - Specifies the location and name of the file to export the life cycle logs.
  • -a <name> - Specifies the FTP server IP address or FQDN, user name, and password.
  • -l <location> - Specifies the location of the network share or region on the file system from which the life-cycle logs are exported.
  • -u <user> - Specifies the user name used to access the FTP server, or the domain and user name used to access the shared location on the network.
  • -p < Password > - Specifies the password for accessing the FTP server or shared location.
  • -s - Indicates the severity of records to be filtered. Use the comma as a delimiter to provide multiple severities.
  • -m < comments > - The user comment string recorded in the Lifecycle Controller log must be inserted. The comment string must be less than 128 characters long. The text must be specified within double quotes.
  • -m <Worknote> - Add working comments (entries) to the Lifecycle log. This work order must be less than 256 characters long. The text must be specified within double quotes.
  • --complete - Export the complete lifecycle log as a compressed file. The exported file is in.xml.gz format.
  • -j < job ID> - Specifies the job ID.

Example:

  • Displays the number of records that exist in the Lifecycle log.
racadm lclog view -i
Copy the code
  • Display iDRAC agent iDRAC records under storage category and Storage physical disk drive subcategory with severity set to Warning.
racadm lclog view -a idrac -c storage -b pdr -s warning
Copy the code
  • Displays records under storage and system categories with severity set to Warning or critical.
racadm lclog view -c storage,system -s warning,critical
Copy the code
  • Records whose severity is set to warning or critical are displayed starting with sequence number 4.
racadm lclog view -s warning,critical -q 4
Copy the code
  • Displays five records starting with serial number 20.
racadm lclog view -q 20 -n 5
Copy the code
  • Displays all events that occurred between 2011-01-02 23:33:40 and 2011-01-03 00:32:15.
racadm lclog view -r "The 2011-01-02 23:33:40" -e "The 2011-01-03 00:32:15"
Copy the code
  • Displays all available records in the active Lifecycle log.
racadm lclog view
Copy the code
  • Add a comment to the Lifecycle log to record number 5.
Racadm lclog comment Edit -- Q 5 -- m "This is atestThe comment."Copy the code
  • Add work comments to the Lifecycle log.
racadm lclog worknote add -m "This is a test worknote."
Copy the code
  • Lifecycle logs are exported to a remote CIFS share.
racadm lclog export -f Mylog.xml -u admin -p mypass -l/ / 10.94.161.103 / shareCopy the code
  • Lifecycle logs will be exported to a remote CIFS share in gzip format.
racadm lclog export -f log.xml.gz -u admin -p mypass -l/ / 10.94.161.103 / share - completeCopy the code
  • Lifecycle logs are exported to a remote NFS share.
racadm lclog export -f Mylog.xml -l10.94.161.103: / home/lclog_userCopy the code
  • Use Local RACADM to export Lifecycle logs to a Local share.
racadm lclog export -f Mylog.xml 
Copy the code
  • Use local RACADM to export the full Lifecycle logs to a local share in gzip format.
racadm lclog export -f log.xml.gz --complete  
Copy the code
  • Use Remote RACADM to export Lifecycle log LCLOg to a local share.
Racadm -r 10.94.161.119 -u root -p Calvin Lclogexport -f Mylog.xml
Copy the code
  • Use Lifecycle Controller to display the status of a given job ID.
racadm lclog viewconfigresult -j JID_123456789012
Copy the code

38. License subcommands

License subcommands are used to manage hardware licenses. The syntax is as follows:

racadm license view [-c <component>]
racadm license import [-f <licensefile>] -l <location> -u <username> -p <password> -c <component> [-o]
racadm license export -f <license file> [-l <location>] [-u <username>] [-p <password>] -e <ID> -c  <component>
racadm license delete -t <transaction ID> [-o]
racadm license delete -e <entitlement ID> [-o]
racadm license delete -c <component> [-o]
racadm license replace -u <username> -p <password> -f <license file name> -l <NFS/CIFS share> -t <transaction ID> [-o]
Copy the code

Parameter Description:

  • View - View license information.
  • Import - Installs a new license.
  • Export - Exports the license file.
  • Delete - Deletes the license from the system.
  • Replace - Replaces an old license with a given license file.
  • -l < Remote Shared location > - The network shared location from which the license file must be imported. If the file is in a shared location, you must use -u < share user > and -p < share password >.
  • -f - Specifies the name or path of the license file
  • -e <ID> - Specifies the right ID of the license file that must be exported
  • -t <ID> - Specifies the transaction ID.
  • -c <component> - Specifies the component name to install the license.
  • -o - Overrides end User License Agreement (EULA) warnings and imports, replaces, or removes licenses.

Example:

  • View all license information on your system.
$racadm license view
iDRAC.Embedded.1
    Status               = OK
    Device               = iDRAC.Embedded.1
    Device Description   = iDRAC
    Unique Identifier    = H1VGF2S
    License # 1
    Status               = OK
    Transaction ID       = 5
    License Description  = iDRAC Enterprise License
    License Type         = PERPETUAL
    Entitlement ID       = Q3XJmvoxZdJVSuZemDehlcrd
    License Bound        = H1VGF2S
    Expiration           = Not Applicable
Copy the code
  • Import the new license to a specific device at a known location.
$racadm license import -f license.xml -l //shareip/sharename -u <share user> -p <share user password> -c idrac.embedded.1
Copy the code
  • Import the license from the CIFS share into the device, in this case the embedded iDRAC.
$racadm license import -u admin -p passwd -f License.xml -l/ / 192.168.2.140 licshare - c idrac. Embedded. 1Copy the code
  • Import licenses from the NFS share into the device, in this case Embedded iDRAC.
$racadm license import -f Licen.xml -l192.168.2.14: / share - c idrac. Embedded. 1Copy the code
  • Import licenses by overwriting EULA warnings.
$racadm license import -u admin -p passwd -f License.xml -l/ / 192.168.2.140 licshare - c idrac. Embedded. 1 - oCopy the code
  • Import licenses from the local file system using local RACADM.
$racadm license import -f License.xml -c idrac.embedded.1
Copy the code
  • Import licenses from the local file system using remote RACADM.
$racadm -r 192.168.0.1 -u admin -p calvin license import -f C:\Mylicdir\License.xml -c idrac.embedded.1
Copy the code
  • Export a license file.
$racadm license export -f license.xml -l 192.168.2.14:/share -u uname -p password -c iDRAC.Embedded.1
Instead of -c, you can use -e <ID> or -t <ID>
Copy the code
  • Export the license to an NFS share using the transaction ID, ID27 in this case.
$racadm license export -f License.xml -l192.168.2.140:27 / licshare - tCopy the code
  • Export the license to a CIFS share with a specified rights ID, in this case abCDXYZ.
$racadm license export -u admin -p passwd -f License.xml -l/ / 192.168.2.140 / licshare-e abcdxyz
Copy the code
  • Export the license to the CIFS share of the specified FQDD. When you use the -c option and export licenses from the device, multiple license files may be exported. Therefore, if a file name is given, an index is appended to the end of the file name, such as licenseFile0.xml and licenseFile1.xml. In this case, the device is embedded iDRAC.
$racadm license export -u root -p calvin -f LicenseFile.xml -l/ / 192.168.2.140 licshare - c idrac. Embedded. 1Copy the code
  • Delete licenses on a specific device, in this case Embedded iDRAC.
$racadm license delete -c idrac.embedded.1
Copy the code
  • Delete the license with the right ID, in this case xYZabcdefg.
$racadm license delete -e xYZabcdefg
Copy the code
  • The license is removed using the transaction ID, which in this case is 2.
$racadm license delete -t 2
Copy the code
  • Replace the license on the device with the license file on the NFS share using the transaction ID. In this case, the ID is 27.
$racadm license replace -f License.xml -l192.168.2.140:27 / licshare - tCopy the code
  • Replace the license on the device with the license file on the CIFS share using the transaction ID. In this case, the ID is 27.
$racadm license replace -u admin -p passwd -f License.xml -l/ / 192.168.2.140 licshare - 27 tCopy the code

39, nicstatistics subcommand

The nicstatistics subcommand is used to display the statistics of NIC FQDD. The syntax is as follows:

racadm nicstatistics
racadm nicstatistics <NIC FQDD>
racadm hwinventory NIC.Integrated.1-1
Copy the code

Example:

  • The NIC FQDD statistics are displayed.
$racadm nicstatistics <NIC FQDD>
Copy the code
  • The integrated NIC statistics are displayed.
$ racadm nicstatistics NIC.Integrated.1-1
    Total Bytes Received:0
    Total Bytes Transmitted:                      0
    Total Unicast Bytes Received:                 0
    Total Multicast Bytes Received:               0
    Total Broadcast Bytes Received:               0
    Total Unicast Bytes Transmitted:              0
Copy the code
  • Get network statistics.
$ racadm nicstatistics
    NIC.Slot.5-2-1 : QLogic CNA Gigabit Ethernet-B8:AC:6F:B3:BF:10
    NIC.Slot.5-2-1 : QLogic CNA Gigabit Ethernet-B8:AC:6F:B3:BF:11
    NIC.Slot.5-2-1 : QLogic CNA Gigabit Ethernet-B8:AC:6F:B3:BF:12
    NIC.Slot.5-2-1 : QLogic CNA Gigabit Ethernet-B8:AC:6F:B3:BF:13
    NIC.Slot.5-2-1 : QLogic CNA Gigabit Ethernet-B8:AC:6F:B3:BF:14
Copy the code

40. Ping subcommand

The ping subcommand is used to verify whether the current routing table can be used to access the destination IP address from iDRAC. The destination IP address is required. ICMP echo packets are sent to the destination IP address based on the current routing table. To run this subcommand, you must have debug permission. The syntax is as follows:

racadm ping <ipaddress>
Copy the code

41, run the ping6 subcommand

The ping6 subcommand is used to verify that the target IPv6 address can be accessed from iDRAC or the current routing table contents. The target IPv6 address is required. The ICMP Echo packet is sent to the destination IPv6 address based on the current routing table. To run this subcommand, you must have debug permission. The syntax is as follows:

racadm ping6 <ipv6address>
Copy the code

42, racdump subcommand

The racdump subcommand is used to obtain state and conventional iDRAC board information. To run this subcommand, you must have debug permission. The syntax is as follows:

racadm racdump
Copy the code

43, racreset subcommand

The racreset subcommand is used to record in the iDRAC log. To run this subcommand, you must have the “Configure iDRAC” permission and configure user permissions. The syntax is as follows:

racadm racreset soft
racadm racreset hard
racadm racreset soft -f
racadm recreset hard -f
Copy the code

44, racresetcfg subcommand

The racresetcfg subcommand is used to delete the current iDRAC configuration and reset iDRAC to factory default Settings. After the reset, the default name and password are root and Calvin respectively, and the IP address is 192.168.0.120. This parameter applies only to the iDRAC Enterprise on the blade server, the IP address, and the slot number in the chassis where the server resides. If you are running racresetCfg from a network client (for example, a supported Web browser, Telnet/SSH or remote RACADM), use the default IP address. The racresetcfg subcommand does not reset the cfgDNSRacName object. To run this subcommand, you must have the “Configure iDRAC” permission and configure user permissions. The syntax is as follows:

racadm racresetcfg
racadm racresetcfg -f
Copy the code

Example:

Reset the configuration on iDRAC.

racadm racresetcfg
Copy the code

Reset when creating a vFlash partition.

racadm racresetcfg
    A vFlash SD card partition operation is in progress. Resetting the iDRAC may corrupt the vFlash SD card. To force racresetcfg, use the -f flag.
Copy the code

45. Remoteimage subcommand

The remoteimage subcommand is used to connect, disconnect, or deploy media files on a remote server. To run this subcommand, you must have the Configure iDRAC privilege. The syntax is as follows:

racadm remoteimage [-m <module> | -a]
racadm remoteimage -d [-m <module> | -a]
racadm remoteimage -s [-m <module> | -a]
racadm remoteimage -c [-m <module> | -a] [-u <username> -p <password> -1 <image_path>]
racadm remoteimage -e [-m <module> | -a] [-u <username> -p <password> -1 <image_path>]
Copy the code

Parameter Description:

  • -c - Connects images.
  • -d - Disconnects the image.
  • -u - Specifies the user name for accessing the network share.
  • -p - Specifies the password for accessing the network share.
  • -l - Image location on the network share; Use double quotation marks around the location.
  • -s - Displays the current status.
  • -u - Indicates the user name
  • - p - password

Example:

  • Configure the remote image.
racadm remoteimage -c -u "user" -p "pass" -l //shrloc/foo.iso 
  Remote Image is now Configured
Copy the code
  • Remote file sharing is disabled.
racadm remoteimage -d
  Disable Remote File Started. Please check status using -s option to know Remote File Share is ENABLED or DISABLED.  
Copy the code
  • Check the status of remote file sharing.
racadm remoteimage -sRemote File Share is Enabled UserName Password ShareName //10.94.161.112/ XXXX/dtk_3.3_73_linux.isoCopy the code
  • Deploy the remote image on the iDRAC CIFS Share.
racadm remoteimage -c -u root -p calvin -l/ / 192.168.0.180 / dev/floppy. ImgCopy the code
  • Deploy the remote image on the iDRAC NFS share.
racadm remoteimage -c -u root -p calvin -l '/ / 192.168.0.180 / dev/floppy. Img'
Copy the code

46, rollback subcommand

The rollback subcommand allows you to rollback firmware to an earlier version. The syntax is as follows:

racadm rollback <FQDD>
Copy the code

47, Sensorsettings subcommand

The sensorSettings subcommand allows you to perform threshold Settings for sensors. To run this subcommand, you must have the “Configure iDRAC” permission. The syntax is as follows:

racadm sensorsettings set <FQDD> -level Min <value>
Copy the code

Example:

  • Set the minimum non-critical threshold level for the power sensor type.
$racadm sensorsettings set iDRAC.Embedded.1#SystemBoardCPUUsage -level Max 95
Copy the code

Serveraction subcommand

The serveraction subcommand is used to perform power management operations on the host system. To run this subcommand, you must have the Execute Server Control Command permission. The syntax is as follows:

racadm serveraction <action> -f 
Copy the code

Parameter <action> Description:

<action> - Specifies the power management action to perform. Options are:

  • Hardreset - Performs a forced reset (reboot) operation on a managed system.
  • Powercycle - performs powercycle operation on managed system. This action is similar to pressing the power button on the front panel of the system to turn off and then on the system.
  • Powerdown - Force management system.
  • Powerup - Provides power to the managed system.
  • Powerstatus - displays the current powerstatus of the server (ON or OFF).
  • Graceshutdown - Normal shutdown of the server. If the operating system on the server cannot be shut down completely, do not perform this operation.
  • -f - Forcibly performs power management for the server.

This option only applies to PowerEdge-VRTX platforms. It is used with the PowerDown, PowerCycle, and Hardreset options.

Example:

Power off the server:

racadm serveraction powerdown
Copy the code

Power on the server:

racadm serveraction powerup
Copy the code

49, set subcommand

The set subcommand is used to set and modify the value of the configuration object on the device. The syntax is as follows:

racadm set -f <filename> [--continue]
racadm set <FQDD Alias>.<group>.<index>.<object> <value>
racadm set <FQDD Alias>.<group>.<object> <value>
racadm set <FQDD Alias>.<group>.<index>.<object> <value>
racadm set -f <filename> -t xml -u myuser -p mypass -l <CIFS or NFS share>
racadm set-- f <filename> -t <filetype> -u <username> -p <password>-l <CIFS or NFS share> --preview 
racadm set -f <filename> -t <filetype> -u <username> -p <password> -l <CIFS or NFS share> -c <FQDD>
racadm set -f <filename> -t <filetype> -u <username> -p <password> -l <CIFS or NFS share> -c <FQDD>, <FQDD>, <FQDD>, <FQDD>
Copy the code

Parameter Description:

  • <FQDD Alias>
  • <group> - Specifies the group that contains objects that must be written.
  • <object> - Specifies the object name of the value that must be written.
  • <index> - Specifies this option, where FQDD aliases or groups must be indexed.
  • -f <filename> - Enables set to configure the device from the specified file. Firmware RACADM interface does not support this option.
  • --continue - This option is used only with -f. If the profile in the group is not successful, proceed to the next group in the profile. If this option is not used, the configuration stops when a particular group is unsuccessful. After the unsuccessful group, the remaining groups are not configured.
  • -u - Specifies the user name of the remote share from which files must be imported.
  • -p - Specifies the password of the remote share from which files must be imported.
  • -l - Specifies the network share location from which files must be imported.
  • -t - Specifies the type of files that must be imported. Valid values are XML and INI. These values are case insensitive. Ini Imports the old configuration file. The. Ini file cannot be imported from the remote share. If -t is not specified, the ini file format is imported (default).
  • -b - Specifies the shutdown type of the host after the import operation. Parameter elegant, force off Force off. If this parameter is not specified, normal shutdown is taken as the default.
  • -w - The maximum time to wait for a normal shutdown to occur. Values must be entered in seconds. The minimum acceptable value is 300 seconds, and the maximum acceptable value is 3600 seconds. The default value is 1800 seconds.
  • -s - Power status of the host when the import operation is complete. The parameter of power supply ON is ON, and the parameter of power supply OFF is OFF. If this parameter is not specified, the power supply is set to the default value.
  • -- Preview - Validates the configuration. XML file and views the status.
  • -c - Specifies FQDD or a list of FQDD separated by commas (,) of the components whose configuration is to be imported. If this option is not specified, the configuration associated with all components is imported.

Example:

  • Configure iDRAC using files.
$ racadm set -f myrac.cfg
Copy the code
  • The LCD character string is configured.
$ racadm set system.lcd.LCDUserString test 
Copy the code
  • The rack name of the server is specified.
$ racadm set system.location.rack.name rack1 
Copy the code
  • Configure the RAC from the XML configuration file of the remote CIFS share.
$ racadm set -f myfile.xml -t xml -u myuser -p mypass -l/ / 10.1.2.3 / myshareCopy the code
  • Configure the RAC from the REMOTE NFS shared XML configuration file.
$ racadm set -f myfile.xml -t xml -l10.1.2.3: / myshareCopy the code
  • Configure RAC from the. XML file. The wait time is 10 minutes.
$ racadm set -f myfile.xml -t xml -b "graceful" -w 600 -s "on"
Copy the code
  • Validates the contents of an.xml file located in a remote share.
racadm set -f temp_Configuration_file -t xml -u Administrator -p dell_123 -l/ / 10.94.162.74 xyz - previewCopy the code
  • Import THE XML configuration of iDRAC to the CIFS share.
racadm set -f file -t xml -u myuser -p mypass -l/ / 10.1.12.13 / share - c iDRAC. Embedded. 1Copy the code

50, sshpkauth subcommand

The sshpkauth subcommand enables the administrator to upload and manage up to four different SSH public keys for each user. You can upload a key file or key text, view a key, or delete a key. To run this subcommand, you must have The Configure User authority. The syntax is as follows:

racadm sshpkauth
Copy the code
  • Upload – This mode allows you to upload key files or copy key text to the command line. You cannot upload and copy keys at the same time. Local and remote RACADM:
racadm sshpkauth -i <2 to 16> -k <1 to 4> -f <filename>
Copy the code
  • Remote RACADM:
racadm sshpkauth -i <2 to 16> -k <1 to 4> -t <key-text>
Copy the code
  • Telnet/SSH/serial RACADM:
racadm sshpkauth -i <2 to 16> -k <1 to 4> -t <key-text>
Copy the code
  • View – This mode allows you to View user-specified keys or all keys.
racadm sshpkauth -i <2 to 16> -v -k <1 to 4>
racadm sshpkauth -i <2 to 16> -v -k all
Copy the code
  • Delete – This mode allows you to Delete user-specified keys or all keys.
racadm sshpkauth -i <2 to 16> -d -k <1 to 4>
racadm sshpkauth -i <2 to 16> -d -k all
Copy the code

51, storage subcommand

The storage subcommand allows the user to run commands to control the storage array. To run this subcommand to configure storage properties, you must have server control rights. The syntax is as follows:

  • Generate and view information about the storage root node.
racadm storage get status
Copy the code
  • Generate and view information about controllers.
racadm storage get controllers -o
racadm storage get controllers -o -p <property names separated by comma>
Copy the code
  • Gets the controller list.
racadm storage get controllers
Copy the code
  • Gets the properties of the PCIeSSD controller
racadm storage get controllers:<PcieSSD controller FQDD>
Copy the code
  • Generate and view information about batteries.
racadm storage get batteries -o
racadm storage get batteries --refkey <controller FQDD's separated by comma> racadm storage get batteries --refkey s separated by comma> -o
racadm storage get batteries --refkey <controller FQDD's separated by comma> -o -p <property names separated by comma>
Copy the code
  • Generate and view information about virtual disks.
racadm storage get vdisks
racadm storage get vdisks --refkey <controller FQDDs separated by comma> 
racadm storage get vdisks --refkey <controller FQDDs separated by comma> -o
racadm storage get vdisks --refkey <controller FQDDs separated by comma> -o -p <property names separated by comma>
Copy the code
  • Generate and view information about enclosures.
racadm storage get enclosures -o
racadm storage get enclosures --refkey <connector FQDDs separated by comma>
racadm storage get enclosures --refkey <connector FQDDs separated by comma> -o -p <property names separated by comma>
Copy the code
  • Get the enclosure list.
racadm storage get enclosures
Copy the code
  • Gets the attributes of the PCIeSSD enclosure.
racadm storage get enclosures:<PCIeSSD enclosure FQDD>
Copy the code
  • Generate and view information about physical disk drives.
racadm storage get pdisks
racadm storage get pdisks -o
racadm storage get pdisks -o -p <property names separated by comma>
racadm storage get pdisks --refkey <enclosure/Backplanes FQDDs separated by comma>
racadm storage get pdisks --refkey <enclosure/Backplanes FQDDs separated by comma> -o
racadm storage get pdisks --refkey <enclosure/Backplanes FQDDs separated by comma> -o -p <property names separated by comma>
Copy the code
  • Obtain the physical drive list.
racadm storage get pdisks
Copy the code
  • Gets the attributes of the PCIeSSD physical disk.
racadm storage get pdisks:<PCIeSSD FQDD>
Copy the code
  • Generate and view information about fans.
racadm storage get fans --refkey <enclosure FQDDs separated by comma>
racadm storage get fans --refkey <enclosure FQDDs separated by comma > -o 
racadm storage get fans --refkey <enclosure FQDDs separated by comma> -o -p <property names separated by comma> 
Copy the code
  • Generate and view information about EMM.
racadm storage get emms -refkey <enclosure FQDDs separated by comma>
racadm storage get emms --refkey <enclosure FQDDs separated by comma> -o
racadm storage get emms --refkey <enclosure FQDDs separated by comma> -o -p <property names separated by comma> 
Copy the code
  • Generate and view information about psus.
racadm storage get psus -refkey <enclosure FQDDs separated by comma>
racadm storage get psus --refkey <enclosure FQDDs separated by comma> -o
racadm storage get psus --refkey <enclosure FQDDs separated by comma> -o -p <property names separated by comma> 
Copy the code
  • Create, delete, and protect virtual disks. Start or stop the consistency check on the specified virtual disk.
racadm storage createvd:<Controller FQDD> -rl {r0|r1|r5|r6|r10|r50|r60}[-wp {wt|wb|wbf}] [-rp {nra|ra|ara}] [-ss {1k|2k|4k|8k|16k|32k|64k|128k|256k|512k|1M|2M|4M|8M|16M}]-pdkey:<commaseparated PD FQDD> [-dcp {enabled|disabled|default}] [-name <VD name>] [-size <VD size> {b|k|m|g|t}] [-T10PIEnable] racadm storage init:<VD FQDD>  -speed {fast|full} racadm storage deletevd:<VD FQDD> racadm storage encryptvd:<VD FQDD> racadm storage createsecuritykey:<Controller FQDD> -key <Key id> -passwd <passphrase> racadm storage modifysecuritykey:<Controller FQDD> -key <Key id>-oldpasswd <old passphrase> -newpasswd <new passphrase> racadm storage deletesecuritykey:<Controller FQDD> racadm storage ccheck:<vdisk fqdd> racadm storage cancelcheck:<vdisk fqdd>Copy the code
  • Convert physical disk drives and allocate or remove hot spare. Scan for physical disks connected to the controller and detect problems.
racadm storage converttononraid:<PD FQDD>
racadm storage converttoraid:<PD FQDD>
racadm storage hotspare:<Physical Disk FQDD> -assign yes -type dhs -vdkey: <FQDD of VD>
racadm storage hotspare:<Physical Disk FQDD> -assign no
racadm storage patrolread:<controller FQDD> -state start|stop
Copy the code
  • Reset, clear, and import the storage configuration into the controller.
racadm storage importconfig:<Controller FQDD>
racadm storage resetconfig:<Controller FQDD>
racadm storage clearconfig:<Controller FQDD>
Copy the code
  • To start or stop blinking or recognition operations on specified or PCIeSSD devices.
racadm storage blink:<FQDD>
racadm storage blink:<PCIeSSD FQDD>
racadm storage unblink:<FQDD>
racadm storage unblink:<PCIeSSD FQDD>
Copy the code
  • Remove the PCIeSSD drive for deletion.
racadm storage preparetoremove <PCIeSSD FQDD>
Copy the code
  • Perform a secure erase on the PCI SD device.
racadm storage secureerase:<PCIeSSD FQDD>
Copy the code

Parameter Description:

  • -o - Specifies the optimized version.
  • -p - Specifies the attribute name.
  • --refkey - Specifies the CONTROLLER or chassis FQDD.
  • -rl - Sets the storage tier.
  • r0 - RAID0-
  • r1 - RAID1
  • r5 - RAID5
  • r6 - RAID6
  • r10 - RAID10
  • r50 - RAID50
  • r60 - RAID60
  • - wp {wt | wb | WBF} - sets the Write policy to Write Through, Write Back and Write Back the Force
  • The nra - rp {| ra | ara} - sets the reading strategy to No Read Ahead, Read Ahead, the Adaptive Read Ahead
  • -ss - Specifies the stripe size to be used.
  • -pdkey: <PD FQDD list> - Specifies the physical disk drive to be used in the virtual disk.
  • - DCP - Sets the disk caching policy for the virtual disk.
  • Enabled - Allows caching for virtual disks.
  • Disabled - Disallow caching for virtual disks.
  • Default - Use the default cache policy. For SAS drives, use the disable option. For SATA drives, use the Enabled option by default.
  • -name <VD name> - Specifies the name of the virtual drive.
  • -size <VD size> - Specifies the size of each virtual drive.
  • B - Specifies the size in bytes
  • K - Specifies the size in kilobytes
  • M - Specifies the size in megabytes
  • G - Specifies the size in gigabytes
  • T - Specifies the size in terabytes
  • - SC - Number of connections in the virtual drive (required by multiple RAID levels).
  • -T10PIEnable - Creates a virtual disk with protection information.
  • -key < key ID> - Specifies the key ID.
  • -passwd <passphrase> - Specifies the password.
  • -newpasswd <passphrase> - Specifies a new password.
  • - assign {yes | no} - assigning disk allocation or cancel for hot spare disk.
  • -type {GHS | DHS} - allocation of global or special hot backup.
  • -vdkey: <VD FQDD> - Allocates dedicated hot backup to a specified virtual disk. Dedicated hot standby requires this option.
  • - the state < start | stop > - start values will start checking the read operation. The stop value stops the inspection read operation that is running.
  • -speed - Specifies the initialization of the virtual drive.
  • Preparetoremove - Specifies the PCIeSSD drive to be deleted.
  • Secureerase - specifies the PCIeSSD drive to perform secureerase.

52, systemconfig subcommand

The systemconfig subcommand enables you to: back up and restore iDRAC and the entire system configuration. Automatic scheduling of backup operations. View automatic backup Settings. Clear the automatic backup function. The syntax is as follows:

racadm systemconfig backup -f <filename> <target> [-n passphrase] [-l <location> -u <user name> -p <password>] [--vFlash]
racadm systemconfig restore -f <filename> <target> [-n passphrase ] [--nopreserve] [-l <location> -u <user name> -p <password>] [--vFlash]
Copy the code

Create an automatic backup plan.

racadm systemconfig backup [-f <filename>] <target> [-n <passphrase>][-l  <location> -u <user name> -p <password>] [--vFlash] -time <time> [-dom <DayOfMonth>] [-wom <WeekOfMonth>] [-dow <DayofWeek>] -rp <repeat> -mb <MaxBackup>
Copy the code

View automatic backup plans.

racadm systemconfig getbackupscheduler
Copy the code

Example Delete an automatic backup plan.

racadm systemconfig clearbackupscheduler
Copy the code

Parameter Description:

  • -n - Specifies the password phrase used to encrypt or decrypt configuration data. A passphrase must contain 8 to 32 characters and one upper and lower case character
  • -l - Specifies the network share location. The value can be CIFS or NFS
  • -f - Specifies the image location and file name
  • -u - Specifies the user name for accessing the remote share
  • -p - Specifies the password for remote share access
  • --vFlash - Select vFlash SD as the target location for backup
  • -- Nopreserve - Deletes all virtual drives and configurations
  • -time: indicates the time of automatic backup in HH: MM format. This parameter must be specified
  • -dom: specifies the date when automatic backup is scheduled. Valid values are 1-28, L (last day) or '*' (default - any day).
  • -wom: specifies the week in which automatic backup is scheduled. Valid values are 1-4, L (last week) or '*' (default - any week).
  • -dow: specifies the day of the week when automatic backup is scheduled. Valid values are sun, mon, tue, wed, thu, FRi, SAT or '*' (default - any day).
  • -rp: Specifies the repeat parameter. This parameter must be specified
  • -MB: specifies the maximum backup parameters. For --vflash the maximum backup is 1.

Example:

  • Back up the system to a CIFS share and encrypt data.
racadm systemconfig backup -f image.img -l-u admin -p passwd -n Encryptp@sswd123Copy the code
  • Back up the system to an NFS share and encrypt the data.
racadm systemconfig backup -f image.img -l 192.168.2.140 :/share -u admin -p passwd -n Encryptp@sswd123 
Copy the code
  • Back up the system to vFlash SD.
racadm systemconfig backup --vFlash
Copy the code
  • Restore the system from vFlash SD and clear the VD configuration.
racadm systemconfig restore -vFlash --nopreserve
Copy the code
  • Restore the system from an NFS share without clearing the VD configuration.
racadm systemconfig restore -f image.img -l 192.168.2.140:/share -u admin -p passwd
Copy the code
  • Create backup files in subfolders of CIFS shared folders.
Racadm systemconfig backup - f RTS/backup. Img - l / / 10.94.161.200 CIFSshare - u username -p passwordCopy the code
  • Enable or disable the AutoBackupScheduler.
racadm set lifecyclecontroller.lcattributes.autobackup 1 
    racadm set lifecyclecontroller.lcattributes.autobackup 0
Copy the code
  • The AutoBackup system shares and encrypts data to CIFS.
racadm systemconfig backup -f image.img -l//192.168.2.140/share -u admin -p passwd -n encryptPasswd123 time 14:30 -dom 1 -rp 6 -MB 10Copy the code
  • The AutoBackup system shares and encrypts data to NFS.
racadm systemconfig backup -f image.img -l192.168.2.140:/share -u admin -p passwd -n encryptPasswd123 time 14:30 -dom 1 -rp 6 -MB 20Copy the code
  • AutoBackup system to vFlash SD.
racadm systemconfig backup --vFlash -time 10:30 -wom 1 -dow mon -rp 6 -mb 1
Copy the code

53. Systemerase subcommand

The systemerase subcommand allows you to erase components to remove servers. The syntax is as follows:

  • Erases specific components.
racadm systemerase <component>
Copy the code
  • Erase multiple components.
racadm systemerase <component>,<component>,<component>
Copy the code

Parameter Description:

  • < Component > -- Valid component types are:
bios
diag
drvpack
idrac
lcdata
Copy the code

54, the systemperfstatistics subcommand

The systemperfStatistics subcommand allows you to view and manage system performance monitoring operations in the following syntax:

  • View the FQDD system performance monitoring sensor
racadm systemperfstatistics view
Copy the code
  • Lists usage statistics for specific sensors
racadm systemperfstatistics <sensor_FQDD>
Copy the code
  • Reset the system performance monitoring sensor utilization peak
racadm systemperfstatistics PeakReset <FQDD>
Copy the code

55. The traceroute subcommand

The traceroute subcommand is used to trace the network path of the router when the data packet is transmitted from the system to the target IPv4 address. To run this subcommand, you must have the Execute Diagnostic command permission. The syntax is as follows:

racadm traceroute <IPv4 address>
Copy the code

56, update subcommand

The update subcommand is used to update the firmware of devices on the server. The supported firmware image file types are *.d7/*.pm. The syntax is as follows:

racadm update -f <updatefile>
racadm update -f <updatefile> -l <Remote CIFS Share> -u <username for CIFS share> -p <password for CIFS share>
racadm update -f <updatefile> -l <Remote NFS Share>
racadm update –f <catalog file> -t <Repository type> -l <Remote CIFS/NFS Share> -u <username for CIFS share> -p <password for CIFS share> [-a< FALSE | TRUE >] [-- verifycatalog] racadm update - f < the catalog file > - t < Repositorytype> -l <Remote CIFS/NFS Share> -u <username for CIFS share> -p <password for CIFS share>
racadm update –f <catalog file> -t <Repository type> -- e <FTP server with the path to the catalog file> [-a <FALSE|TRUE>] [--verifycatalog]
racadm update viewreport
Copy the code

Parameter Description:

  • -f - Updates only the file names of Windows DUP,.d7,.pm,.pm
  • -u - Specifies the user name of the remote share that stores update files. Specify the username in the domain as the domain/user name.
  • -p - Specifies the password of the remote share that stores update files.
  • -l - Specifies the network share location where update files are stored. For more information about NFS or CIFS sharing, see the Use Examples section.
  • -a - This option indicates whether the server must be restarted after the update of the slave repository operation is complete. It selects TRUE and FALSE. These options are case insensitive.
  • -t - Specifies the type of the repository to be updated. Valid options include FTP, CIFS, NFS, TFTP, and HTTP. These options are case insensitive. This option must be run if the repository update function is called.
  • -e - Specifies the FTP server path.
  • -- VerifyCatalog - Tests the APPLICATION's DUP list and generates a report.
  • -ph - Specifies the IP address of the proxy server.
  • -pp - Specifies the password of the proxy credential.
  • -pu - Specifies the user name of the proxy credential.
  • - Po - Specifies the port of the proxy server.
  • -pt - Specifies the proxy type. Valid values are HTTP and HTTPS. These values are case insensitive.