The following steps must be completed on each host to configure the iDRAC remotely.
Required information includes:
- List of IPs to be assigned
- Gateway IP
- Subnet IP
- VLAN ID
For example:
iDRAC Host 1: 10.xx.xx.21
iDRAC Host 2: 10.xx.xx.22
iDRAC Host 3: 10.xx.xx.23
iDRAC Host 4: 10.xx.xx.24
iDRAC Host 5: 10.xx.xx.25
Subnet mask: 255.255.255.0
Gateway: 10.xx.xx.1
How to check current iDRAC settings:
- Use PuTTY to connect into the first host.
- Find the
ipmitool
location by running find / -name ipmitool
and then press Enter. A sample response is: /opt/vxrail/tools/ipmitool
. Record the response.
- Find if there is an IP assigned by running:
[PATH FROM THE PREVIOUS COMMAND]ipmitool lan print 1
The response shows static, and an IP listed for the IPv4. If we have DHCP instead of static and if IPv4 shows 0.0.0.0, this means there is no IP assigned yet.
How to set the iDRAC network settings:
- To assign an IP address, change it from dynamic to static by running:
[PATH FROM THE PREVIOUS COMMAND]ipmitool lan set 1 ipsrc static
- Assign the IP to the iDRAC by running:
[PATH FROM THE PREVIOUS COMMAND]ipmitool lan set 1 ipaddr 10.xx.xx.21
- Assign the netmask by running:
[PATH FROM THE PREVIOUS COMMAND]ipmitool lan set 1 netmask 255.255.255.0
- Assign the gateway IP address by running:
[PATH FROM THE PREVIOUS COMMAND]ipmitool lan set 1 defgw ipaddr 10.xx.xx.1
- Set the VLAN ID to use, as an example, 100, by running:
[PATH FROM THE PREVIOUS COMMAND]ipmitool lan set 1 vlan id 100
Note:
- The user must provide the VLAN ID.
- If the user does not have a VLAN ID set up, disable the VLAN By running this command:
[PATH FROM THE PREVIOUS COMMAND]ipmitool lan set 1 vlan id off
6. Change the root password to
password
by running:
[PATH FROM THE PREVIOUS COMMAND]
ipmitool user set password 2 password
Note: The last argument in the command is the customer's password that you want to use.
7. Repeat for all other nodes.
Related Resources
Here are some recommended resources related to this topic that might be of additional interest: