This blog post is written by Shine KA and Lakshminarayanan R from Dell iDRAC team.
You can now use Racadm command line interface to configure BIOS, iDRAC, RAID and NIC on the server using XML file. You can make use of various racadm interfaces (Local, Remote and Firmware) to export system config to XML file and import the XML config file to the server from XML file. You can use this feature to take a backup of system configuration, configuring multiple server BIOS, iDRAC, RAID and NIC and to script configuration of BIOS, iDRAC, RAID and NIC of the server. You need to use Open Manage 7.2 and iDRAC Firmware 1.30.30 onwards to use this feature.
Using Racadm you can export system configuration to a XML file. This can be done using any racadm interface (Local, Remote and FW Racadm – SSH, Telnet and Serial). Export of the XML file can be done to a Local File (Using Local and Remote Racadm) or to a remote CIFS / NFS share (Using Local, Remote and FW Racadm). Once XML Export command is initiated a job will be created for export operation (Using “racadm jobqueue view –i <JOB ID>” command you can get the status of export job.). Once job is completed the XML file which contains configuration of BIOS, iDRAC, RAID and NIC will be created on the mentioned location. You need to have iDRAC/OS Administrator privilege to do XML export. The read only objects will be enclosed with exclamatory tag in that XML file. iDRAC should have minimum of “express” license to export the xml file.
The command syntax to export system config
“racadm get –t xml –f <filename.xml> [–l <share IP/path>] [–u <username>] [–p <password>]”.
“racadm get –t xml –f <filename.xml> –l <//share IP/path> –u <username> –p <password>”.
“racadm get –t xml –f <filename.xml> –l <share IP:/path>”.
“racadm get –t xml –f <path/filename.xml>”
Once System config is exported to XML file, you can import the configuration back to the system any time. You can also modify various setting on XML file before importing the XML file to iDRAC. Similar to Export, Import of the XML file can be done from a Local File (Using Local and Remote Racadm) or from a remote CIFS / NFS share (Using Local, Remote and FW Racadm). After import operation, server goes for reboot if there are any changes on BIOS, RAID and NIC attributes. Server does not require a reboot if there are changes only to iDRAC attributes or if there is no change in that exported XML file. The command itself we can specify the Shutdown type which needs to be done before import starts and end state of the server after import. The shutdown type refers the shutdown method of the server once the Import is begun, supported values “Graceful & Forced”. End state used to specify the Server state once the import operation completes, supported values are “On & Off”. Once XML Import command is executed a job will be created for an import operation (Using “racadm jobqueue view –i <JOB ID>” command you can get the status of export job.). You need to have iDRAC/OS Administrator privilege to do XML import. iDRAC should have minimum of “express” license to import the xml file.
“racadm set -t xml –f <filename.xml> [–l <share IP/path>] [–u <username>] [–p <password>] [–b <Shut Down Type>] [–w <Wait Time>] [–s <End Power State>]”.
“racadm set –t xml –f <filename.xml> –l <//share IP/path> –u <username> –p <password> [–b <Shutdown type>] [-w <wait time>] [-s <End state>]”.
“racadm set –t xml –f <filename.xml> –l <share IP:/path> [–b <Shutdown type>] [-w <wait time>] [-s <End state>]”.
“racadm set –t xml –f <path/filename.xml> [–b <Shutdown type>] [-w <wait time>] [-s <End state>]”
iDRAC7 1.30.30 Firmware can be downloaded from here
iDRAC7 1.30.30 User Guide
More information on iDRAC
More information on Racadm
To post a comment
login or create an account
I got SWC0244 error running firmware racadm
racadm get ?
on an R720
This system is running BIOS 1.3.6 as I can't reboot it yet.
"racadm get ?" is not a supported command. To get help of this command, you need to type "racadm help get"
Is there any documentation for configuring the Dell Emulex LPE16002 FC cards?
Running a GET on an already configured system was not helpful.
<Attribute Name="This string in Dell Configuration Language">This string in Dell Configuration Language</Attribute>
Problem No. 2 when I try to run remote racadm to an R720 on BIOS 1.3.6
The "racadm get" successfully outputs up to [iDRAC.User16] then fails.
racadm -r 18.104.22.168 -u root -p password get -f output.xml
ERROR: Unable to perform requested operation
@Beaver6675: Ensure that your iDRAC & LCC Firmware are updated to the latest builds. You may need to update your BIOS as well before the get command will work. I have 24 new R720s that I am configuring. I will test out with the old BIOS and let you know my results.
2 questions here.
Will this functionality work on OEM READY systems?
Can the iDRAC License be included somehow?
You can use this feature on OEM Ready system also. Using this feature you can not export or import license. You can use different racadm command to do the same.
If I export from one iDRAC, how do I ensure that when I import to another iDRAC that iDRAC specific settings are not overwritten? Like iDRAC ip address and name?
There is a "typoh" in the import steps:
“racadm set -t xml –f [–l ] [–u ] [–p ] [–b ] [–w ] [–s ]”.
In the first sentence export, should be import