用户名 sysadmin
密码 superuser
设置I2C地址-对应第5槽(0x8a为IPMB地址,I2C地址为0x45)
ipmitool -H 127.0.0.1 -U admin -P admin -I lanp raw 0x2e 0xa1 0 0x8a
ipmitool -H 127.0.0.1 -U admin -P admin -I lanp raw 0x2e 0xa1 1 0x4a
设置过温阈值90度
ipmitool -H 127.0.0.1 -U admin -P admin -I lanp raw 0x2e 0x26 0x5a
打印BIT信息
ipmitool -H 127.0.0.1 -U admin -P admin -I lanp raw 0x2e 0x10
写BIT信息(BMC串口中输入)
ipmitool -H 127.0.0.1 -U admin -P admin -I lanp raw 0x2e 0x11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
61 62 63 64
写完后会将其中3-33字节填入BIT格式中
通过LPC传输BIT信息(操作系统下使用ipmitool工具输入)
前提需要在/etc/rc.local中增加下面两句话
modprobe ipmi_si addrs=0x80020000CA2,0x80020000CA3
modprobe ipmi_devintf
ipmitool raw 0x2e 0x11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
显示监测信息
ipmitool -H 127.0.0.1 -U admin -P admin -I lanp sdr elist
i2c-test -b 0 --gethost
i2c-test -b 1 --gethost
写eeprom
ipmitool -H 127.0.0.1 -U admin -P admin -I lanp raw 0x6 0x52 0x05 0xa0 0 0x00 0x00 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
读eeprom
ipmitool -H 127.0.0.1 -U admin -P admin -I lanp raw 0x6 0x52 0x05 0xa0 0x80 0x00 0x00