How to change Dell iDRAC7 IP address via XML Profile Import

It has been quite easy to import XML profiles that configure the iDRAC, BIOS, NIC and RAID cards on Dell 12th generation servers since December of 2012.  The only caveat was if you wanted to change the IP address of the iDRAC during an import of the XML profile.  The profile was designed to be used as a method of configuring many servers based off one “reference” server configuration.  So you would not want to set the IP of a iDRAC during this process, just the configurable settings.  To get around this, you simply need to remove the comments from one line in the XML Profile.

Here is the procedure:

There are a few ways to do this, I will show you the method using RACADM

Export the XML Profile to a CIFS share with this command:

racadm -r [iDRAC_IP] -u <iDRAC_root> -p <iDRAC_PWD> get -t xml -f test.xml -l //<Dest_IP>/<share> -u <username> -p <password>

Remove the comment this line:

<!– <Attribute Name=”IPv4Static.1#Address”>192.168.0.120</Attribute> –>

Change it to the IP you want to set on the iDRAC

<Attribute Name=”IPv4Static.1#Address”>192.168.1.100</Attribute>

Save the file and then import to the target iDRAC

racadm -r [iDRAC_IP] -u <iDRAC_root> -p <iDRAC_PWD> set -t xml -f test.xml -l //<Dest_IP>/<share> -u <username> -p <password>

There are many other things you can change in this file.  Here are a few more examples:

<Attribute Name=”NIC.1#VLanEnable”>Enabled</Attribute> to enable management VLAN tagging
<Attribute Name=”NIC.1#VLanID”>22</Attribute> to set the management VLAN to 22
<Attribute Name=”NIC.1#Selection”>LOM1</Attribute> to change the iDRAC port from the Dedicated port to LOM1 (could also be LOM2,LOM3 or LOM4)

-John


Recent Comments