TechCenter Blogs

iDRAC7 now support configuring server BIOS, iDRAC, RAID and NIC using XML file and Racadm

TechCenter

TechCenter
DellTechCenter.com is a community for IT professionals that focuses on Data Center and End User Computing best practices. Here you can learn about and share knowledge about Dell products and solutions.

iDRAC7 now support configuring server BIOS, iDRAC, RAID and NIC using XML file and Racadm

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.

 

Exporting System Config to XML file:

                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>]”.

E.g.

CIFS Share:

            “racadm get –t xml –f <filename.xml> –l <//share IP/path> –u <username> –p <password>”.

NFS Share:

            “racadm get –t xml –f <filename.xml> –l <share IP:/path>”.

Local Share:

            “racadm get –t xml –f <path/filename.xml>”

Importing System Config from XML file:

            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.

The command syntax to export system config

“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>]”.

E.g.

CIFS Share:

            “racadm set –t xml –f <filename.xml> –l <//share IP/path> –u <username> –p <password> [–b <Shutdown type>] [-w <wait time>] [-s <End state>]”.

NFS Share:

            “racadm set –t xml –f <filename.xml> –l <share IP:/path> [–b <Shutdown type>] [-w <wait time>] [-s <End state>]”.

Local Share:

            “racadm set  –t xml –f <path/filename.xml> [–b <Shutdown type>] [-w <wait time>] [-s <End state>]”

Sample XML file:

Additional Information

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

Comment Reminder

Unrelated comments or requests for service will be unpublished. Please post your technical questions in the Support Forums or for direct assistance contact Dell Customer Service or Dell Technical Support.. All comments must adhere to the Dell Community Terms of Use.

  • Guys

    I got SWC0244 error running firmware racadm

    racadm get ?

    on an R720

    Any ideas?

    This system is running BIOS 1.3.6 as I can't reboot it yet.

  • Beaver6675,

           "racadm get ?" is not a supported command. To get help of this command, you need to type "racadm help get"

    Thanks-

    Shine

  • Is there any documentation for configuring the Dell Emulex LPE16002 FC cards?

    Running a GET on an already configured system was not helpful.

    <Component FQDD="FC.Slot.5-1">

       <Attribute Name="This string in Dell Configuration Language">This string in Dell Configuration Language</Attribute>

    </Component>

  • Hi Shine

    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.

    at [iDRAC.VirtualConsole]

    racadm -r 1.1.1.1 -u root -p password get -f output.xml

    with

    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?

  • Hi PhilipOlenick,

           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.

    Thanks-

    Shine

  • 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:

    The command syntax to export system config

    “racadm set -t xml –f  [–l ] [–u ] [–p ] [–b ] [–w ] [–s ]”.

    In the first sentence export, should be import