themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to switch BMC port setting with IPMI on SuperMicro server on Debian

$ sudo -s
# apt install ipmitool
# modprobe ipmi_devintf
# modprobe ipmi_si
# modprobe ipmi_msghandler
# ipmitool raw  0x30 0x70 0x0c 1 0
# exit

Other commands:

ipmitool raw 0x30 0x70 0x0c 0    # read active mode
ipmitool raw 0x30 0x70 0x0c 1 0  # set to dedicated
ipmitool raw 0x30 0x70 0x0c 1 1  # set to shared
ipmitool raw 0x30 0x70 0x0c 1 2  # set to failover