Upgrading the BMC firmware on these hosts resets the settings to default (argh!), which includes:
- Setting to DHCP for IP source
- Losing the static IP, netmask and default gateway settings
- Switching to a “shared” NIC rather than dedicated
- (This doesn’t appear to be “use dedicated then fall back if not”, just straight to “shared”…)
Unfortunately, the various Dell docs don’t make this clear, nor exactly which
ipmitool commands to run on a C6145 to set the BMC back to “dedicated” network port usage.
I haven’t tried these on any other Dell Cloud models yet (e.g. C5000, C8000), so I don’t know if they work at all! Use them at your own risk!
Resetting the BMC IP setup is fairly straightforward:
Then printing the current config shows the expected configuration:
However, this doesn’t cover (or display in these settings…) the shared/dedicated setting for the BMC port.
You can find that by running this “raw” ipmitool command:
01 means dedicated and
00 means shared. (In this example we’re obviously already set to dedicated as this is after the fact)
In our case we want dedicated, which is set with this “raw” command:
Then the status command should show
01 as above and the dedicated BMC port will be in use.
Then go ahead and reset the BMC with this command:
This will take a couple of minutes before the BMC is contactable again, but then it should be using the dedicated interface rather than shared, and you can go about your business again, huzzah!
- Get the chassis node number this host is in:
ipmitool raw 0x34 0x11> returns a number, presumably with indices starting at 1, for which node in the chassis this is.
- Other C-chassis power control commands are shown on this Dell blog post: https://www.dell.com/support/article/uk/en/ukbsdt1/sln244176/poweredge-c410x-ipmi-commands-for-linux-and-windows?lang=en
- Haven’t tested these yet!
- Dell C6145 Reference Guide (https://downloads.dell.com/Manuals/all-products/esuprt_ser_stor_net/esuprt_cloud_products/poweredge-c6145_Reference%20Guide2_en-us.pdf) which shows the IPMI OEM commands list. Look for “Set LAN source” and “Get LAN source” entries in the tables.
- This ipmitool cheat sheet page : http://www.theprojectbot.com/ipmitool-cheatsheet-and-configuring-drac-from-ipmitool/
- But the raw commands provided don’t work for the Dell C6145 Cloud servers, unfortunately.