How to reset BMC to factory default by command(AMI code)
#ipmitool raw 0x32 0x66
2020年6月7日 星期日
2019年11月17日 星期日
Commad line flash BIOS/BMC fw(AMI code base)
Commad line flash BIOS/BMC fw
/Flash
Method
|
Command line (Local)
| |
EFI Shell
|
Windows
| |
BIOS
|
AfuEfix64.efi BIOS.bin /b /p /n /x
|
afuwinx64.exe BIOS.bin /b /p /n /x
|
BMC
|
socflash -s BMC.bin
|
yafuflash.exe -cd BMC.ima
|
FW /Flash
Method
| Command line (Local) |
| Linux | |
| BIOS | ./afulnx_64 BIOS.bin /b /p /n /x |
| BMC | ./yafuflash -cd BMC.ima -vyes |
FW /Flash
Method
| Command line (Remote) |
| Windows Client | |
| BIOS |
Grantley:
yafuflash.exe -nw -ip [BMC_IP] -u username -p password -bios BIOS.bin
Purley:
yafuflash.exe -d 2-nw -ip [BMC_IP] -u username -p password BIOS.bin
|
| BMC | yafuflash.exe -nw -ip [BMC_IP] -u username -p password -full BMC.ima |
2019年11月11日 星期一
Reset BMC username/password by ipmitool locally
Reset BMC username/password by ipmitool locally
ipmitool raw 0x6 0x45 0x02 0x72 0x6F 0x6F 0x74 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
ipmitool raw 0x6 0x47 0x02 0x02 0x70 0x77 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
ipmitool raw 0x6 0x47 0x02 0x01
ipmitool raw 0x6 0x43 0x93 0x02 0x04 0x00
ipmitool raw 0x6 0x40 0x03 0x82 0x84
ipmitool raw 0x6 0x40 0x03 0x42 0x44
User will set to "root"
Password is "pw"
2019年8月23日 星期五
How to modify BMC MAC address by ipmitool
How to modify BMC MAC address by ipmitool
1.Enable BMC MAC SET mode:
/usr/bin/ipmitool raw 0x0c 0x01 0x01 0xc2 0x00
2.Write MAC to BMC (BMC MAC=d0:27:88:a4:e4:37):
/usr/bin/ipmitool raw 0x0c 0x01 0x01 0x05 0xD0 0x27 0x88 0xA4 0xE4 0x37
2016年12月5日 星期一
How to set power restore policy by ipmitool command
How to set power restore policy by ipmitool command
#ipmitool chassis policy always-on
Check setting status
#ipmitool chassis status
#ipmitool chassis policy always-on
Check setting status
#ipmitool chassis status
2016年10月17日 星期一
How to get SUT time from BMC by ipmi command
How to get SUT time from BMC by ipmi command
#ipmitool.exe -I lanplus -H 192.168.1.1 -U admin -P password sel time get
#ipmitool.exe -I lanplus -H 192.168.1.1 -U admin -P password sel time get
2016年5月24日 星期二
How to use socflash tool flash BMC under DOS
How to use socflash tool flash BMC under DOS
Boot to Dos
# socflash if=XXX.bin
(After flash , BMC mac will be clean)
Flash BMC mac
# ipmitool 20 30 01 01 c2 00
# ipmitool 20 30 01 01 05 00 11 22 33 44 55
(modify "00 11 22 33 44 55" for MAC address)
<Waiting few seconds>
# ipmitool 20 30 01 01 c2 01
# ipmitool 20 30 01 01 05 00 11 22 33 44 56
AC system
Boot to Dos
# socflash if=XXX.bin
(After flash , BMC mac will be clean)
Flash BMC mac
# ipmitool 20 30 01 01 c2 00
# ipmitool 20 30 01 01 05 00 11 22 33 44 55
(modify "00 11 22 33 44 55" for MAC address)
<Waiting few seconds>
# ipmitool 20 30 01 01 c2 01
# ipmitool 20 30 01 01 05 00 11 22 33 44 56
AC system
2016年4月21日 星期四
How to create bmc flash cycle under dos
How to create bmc flash cycle under dos
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
count
:bmc
ipmitool 20 00 02 02
goto bmc
You need put "Yafu.exe" "count.exe" "ipmitool.exe" to your dos key
----------------------------------------------------------------------------
Or
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
delay -s 120
count
ipmitool 20 00 02 02
You need put "Yafu.exe" "delay.exe" "count.exe" "ipmitool.exe" to your dos key
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
count
:bmc
ipmitool 20 00 02 02
goto bmc
You need put "Yafu.exe" "count.exe" "ipmitool.exe" to your dos key
----------------------------------------------------------------------------
Or
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
delay -s 120
count
ipmitool 20 00 02 02
You need put "Yafu.exe" "delay.exe" "count.exe" "ipmitool.exe" to your dos key
2016年1月11日 星期一
How to list BMC sensor
How to list BMC sensor
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin -v sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor get "XXXX"
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin -v sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sdr
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor
#ipmitool.exe -I lanplus -H 192.168.1.227 -U admin -P admin sensor get "XXXX"
2015年10月20日 星期二
How to check BMC ip by windows local ipmi command
How to check BMC ip by windows local ipmi command
#ipmitool -I ms lan print 1
(-Interface)
#ipmitool -I ms lan print 1
(-Interface)
How to check fru data by windows local ipmi command
How to check fru data by windows local ipmi command
Under windows to check fru by ipmi command
#ipmitool -I ms fru print 0
Dump current system fru data
Under windows to check fru by ipmi command
#ipmitool -I ms fru print 0
Dump current system fru data
#ipmitool -I ms fru read 0 fru.bin
#ipmitool -I ms fru print
All fru data will be saved in "fru.bin".
2014年10月7日 星期二
How to check CPU/Memory watt by node manager
How to check CPU/Memory watt by node manager
test under linux
Check CPU watt
#ipmi-oem intelnm -h x.x.x.x -u root -p superuser get-node-manager-statistics domainid=1
Check Memory watt
#ipmi-oem intelnm -h x.x.x.x -u root -p superuser get-node-manager-statistics domainid=2
test under linux
Check CPU watt
#ipmi-oem intelnm -h x.x.x.x -u root -p superuser get-node-manager-statistics domainid=1
Check Memory watt
#ipmi-oem intelnm -h x.x.x.x -u root -p superuser get-node-manager-statistics domainid=2
2014年6月3日 星期二
Make UID blinking by IPMI command
Make UID blinking by IPMI command
#ipmitool -H 192.168.x.x -U root -P superuser chassis identify
UID LED will blink 15 seconds
#ipmitool -H 192.168.x.x -U root -P superuser chassis identify
UID LED will blink 15 seconds
2014年2月26日 星期三
How to stop/disable watchdog timer under OS
How to stop/disable watchdog timer under OS
Remote ipmitool
Check watchdog status
D:\IPMITOOL1811>IPMITOOL -I lanplus -H 192.168.1.150 -U root -P superuser mc watchdog get
Stop watchdog
D:\IPMITOOL1811>IPMITOOL -I lanplus -H 192.168.1.150 -U root -P superuser mc watchdog off
----------------------------------------------------------------------------------------------------------------------
Windows Local
Check watchdog status
D:\IPMITOOL1811>IPMITOOL -I ms watchdog get (-大寫i)
Stop watchdog
#ipmitool mc watchdog off
RHEL
Remote ipmitool
Check watchdog status
D:\IPMITOOL1811>IPMITOOL -I lanplus -H 192.168.1.150 -U root -P superuser mc watchdog get
Stop watchdog
D:\IPMITOOL1811>IPMITOOL -I lanplus -H 192.168.1.150 -U root -P superuser mc watchdog off
----------------------------------------------------------------------------------------------------------------------
Windows Local
Check watchdog status
D:\IPMITOOL1811>IPMITOOL -I ms watchdog get (-大寫i)
Stop watchdog
#ipmitool mc watchdog off
----------------------------------------------------------------------------------------------------------------------
Check watchdog status
#Service bmc-watchdog status
Stop watchdog
#Service bmc-watchdog stop
------------------------------------------------------------------------------------------------------------------------
SLES
Check watchdog status
#ipmitool bmc watchdog get
Stop watchdog
#ipmitool bmc watchdog off2013年4月23日 星期二
How to write fru from bin file
How to write fru from bin file
#ipmitool.exe -I lanplus -H "IP" -U root -P "password" fru write 0 XXX.bin
#ipmitool.exe -I lanplus -H "IP" -U root -P "password" fru write 0 XXX.bin
2013年4月15日 星期一
How to generate ipmi stress session
How to generate ipmi stress session
Please save as below to ipmi_stress.bat under windows.
Require Tools: BMC Utilites from SBUU. (Please install BMC Utilites by SBUU in your client.)
Usage: ipmi_stress.bat iDrac-ip , ipmi_stress.bat 192.168.253.85
@rem ======================
:1
set BMC_IP=%1
set cmd=ipmitool -I lanplus -H %BMC_IP% -U root -P calvin
%cmd% raw 6 1
%cmd% sdr
%cmd% sel list
%cmd% lan print
goto 1
@rem ======================
For Linux Client:
#!/bin/bash
BMC_IP=$1
cmd="ipmitool -I lanplus -H $BMC_IP -U root -P calvin"
while true
do
$cmd raw 6 1
$cmd sdr
$cmd sel list
$cmd lan print
done
Please save as below to ipmi_stress.bat under windows.
Require Tools: BMC Utilites from SBUU. (Please install BMC Utilites by SBUU in your client.)
Usage: ipmi_stress.bat iDrac-ip , ipmi_stress.bat 192.168.253.85
@rem ======================
:1
set BMC_IP=%1
set cmd=ipmitool -I lanplus -H %BMC_IP% -U root -P calvin
%cmd% raw 6 1
%cmd% sdr
%cmd% sel list
%cmd% lan print
goto 1
@rem ======================
For Linux Client:
#!/bin/bash
BMC_IP=$1
cmd="ipmitool -I lanplus -H $BMC_IP -U root -P calvin"
while true
do
$cmd raw 6 1
$cmd sdr
$cmd sel list
$cmd lan print
done
How to create faulty hard drive by ipmi command
How to create faulty hard drive by ipmi command
ipmitool.exe -I lan -H 192.168.1.26 -U root -P calvin raw 0x04 0x02 0x04 0x0d 0x01 0x6f 0x01 0xff 0xff
ipmitool.exe -I lan -H 192.168.1.26 -U root -P calvin raw 0x04 0x02 0x04 0x0d 0x01 0x6f 0x01 0xff 0xff
2013年4月14日 星期日
Command: ipmitool command
Get drive sensor
ipmitool.exe -I lanplus -H 10.94.195.46 -U root -P calvin sensor get "Drive 0"
-------------------------------------------------------------------------------
cd C:\Program Files\Dell\SysMgt\bmc
* observe Fan
ipmitool -I lan -H 192.168.1.25 -U root -P calvin sdr
ipmitool.exe -I lanplus -H 192.168.1.43 -U root -P calvin sol activate
ipmitool chassis identify
* remote racadm:(from MS under C:\Program Files\Dell\SysMgt\bmc)
ipmitool.exe -I lanplus -U root -P calvin -H 192.168.1.78 power
ipmitool.exe -I lanplus -U root -P calvin -H 192.168.1.78 power status
ipmitool.exe -I lanplus -U root -P calvin -H 192.168.1.78 power off
ipmitool.exe -I lanplus -U root -P calvin -H 192.168.1.78 power on
ipmitool.exe -I lanplus -U root -P calvin -H 192.168.1.78 power cycle
ipmitool.exe -I lanplus -U root -P calvin -H 192.168.1.78 power reset
ipmitool.exe -I lanplus -U root -P calvin -H 192.168.1.78 power diag
ipmitool.exe -I lan -H 192.168.1.189 -U root -P calvin power
ipmitool.exe -I lan -H 192.168.1.189 -U root -P calvin event1
ipmitool.exe -I lan -H 192.168.1.60 -U root -P calvin sdr
ipmitool.exe -I lanplus wmi event
ipmitool.exe -I lanplus -H 192.168.1.112 -U root -P calvin sol activate
ipmitool.exe -I lanplus -H 192.168.1.112 -U root -P calvin sol deactivate
ipmitool -I lanplus -H 192.168.1.91 -U root -P calvin sol
ipmitool -I lanplus -H 192.168.1.43 -U root -P calvin sol activate
ipmitool -I lanplus -H 192.168.1.99 -U user -P 111 sol activate
# check all sansor # ipmitool.exe -I lanplus -H 192.168.1.78 -U root -P calvin sdr
ipmitool -I lanplus -H 192.168.1.78 -U root -P calvin delloem sensor
ipmitool.exe -I lanplus -H 192.168.1.99 -U root -P calvin sdr elist
ipmish -ip 192.168.1.99 -u root -p calvin sel get
====== FAIL ====================================
ipmitool -I lanplus -H 3ffe:501:ffff::bd1 -U root -P calvin sol activate
ipmitool -I lanplus -H fe80::225:64ff:fef9:7d00 -U root -P calvin sol activate
====== FAIL ====================================
ipmitool -I lan -H 192.168.1.88 -U root -P calvin event 1 --> executed 1 time
*********************************************************************************
ipmitool -I lan -H 192.168.1.88 -U root -P calvin sel list
ipmitool -I lan -H 192.168.1.88 -U root -P calvin sel clear
ipmitool -I lan -H 192.168.1.94 -U root -P calvin event 1
#check SEL on syslog server# ipmitool -I lan -H 192.168.1.91 -U root -P calvin sel list
ipmitool.exe -lanplus -H 192.168.1.91 -U root -P calvin lan print 1
ipmitool.exe -I lanplus -H 192.168.1.91 -U root -P calvin fru print
ipmitool.exe -lanplus -H 192.168.1.189 -U root -P calvin sel info
ipmitool.exe -I lanplus -H 192.168.1.189 -U root -P calvin mc reset cold
ipmitool.exe -I lanplus -H 192.168.1.189 -U root -P calvin mc guid
ipmitool.exe -I lanplus -H 192.168.1.189 -U root -P calvin mc info
ipmitool.exe -I lanplus -H 192.168.1.189 -U root -P calvin mc watchdog off
ipmitool.exe -I lanplus -H 192.168.1.189 -U root -P calvin mc watchdog get
ipmitool.exe -I lanplus -H 192.168.1.189 -U root -P calvin mc watchdog reset
ipmitool.exe -I lanplus -H 192.168.1.189 -U root -P calvin mc watchdog get
ipmitool.exe -I lanplus -H 192.168.1.189 -U root -P calvin sol activate
ipmitool.exe -I lanplus -H 192.168.1.99 -U root -P calvin sensor list
ipmitool.exe -I lanplus -H 192.168.1.99 -U root -P calvin event "Fan1A RPM" list
# get sensor ID #
ipmitool.exe -I lanplus -H 192.168.1.99 -U root -P calvin -v sensor
ipmitool.exe -I lanplus -H 192.168.1.99 -U root -P calvin sel list
ipmitool.exe -I lanplus -H 192.168.0.96 -U root -P calvin 0x20 0x06 0x00 0x24 0x04 0x00 0x00 0x10 0x58 0x02
#CAPTURE CPU IERR log#
ipmitool.exe -I lanplus -H 192.168.1.60 -U root -P calvin sel list
# generate DIMM error
ipmitool.exe -H 192.168.0.96 -U root -P calvin raw 0x0a 0x44 0x9 0x1 0x2 0x9b 0x0 0xa6 0x4d 0xb1 0x0 0x4 0xc 0x2 0x6f 0xa1 0xa0 0x1
ipmitool.exe -H 192.168.0.96 -U root -P calvin raw 0x0a 0x44 0xf3 0x24 0x0 0x2 0x24 0xfc 0x78 0x4e 0xb1 0x0 0x4 0xc 0x2 0x6f 0xa1 0xa0 0x1
ipmitool.exe -I wmi power
ipmitool.exe -I wmi power off
ipmitool.exe -I wmi power on
ipmitool.exe -I wmi power cycle
ipmitool.exe -I wmi power reset
ipmitool.exe -I wmi power diag
ipmitool.exe -I wmi power status
2013年3月29日 星期五
create voltage fail event command by ipmi
create voltage fail event command by ipmi
#ipmitool -I lanplus -H 192.168.1.168 -U root -P calvin raw 0x0a 0x44 0x0 0x0 0x2 0x0 0x0 0x0 0x0 0x20 0x0 0x4 0x2 0x11 0x3 0x1 0x0 0x0
----------------------------------------------------------------------------------------
http://support.dell.com/support/edocs/software/svradmin/5.3/en/messages/html/msgch30.htm#wp1072992
ipmitool -I lan -H 10.94.132.123 -U root event "VCORE PG" fail
#ipmitool -I lanplus -H 192.168.1.168 -U root -P calvin raw 0x0a 0x44 0x0 0x0 0x2 0x0 0x0 0x0 0x0 0x20 0x0 0x4 0x2 0x11 0x3 0x1 0x0 0x0
----------------------------------------------------------------------------------------
http://support.dell.com/support/edocs/software/svradmin/5.3/en/messages/html/msgch30.htm#wp1072992
ipmitool -I lan -H 10.94.132.123 -U root event "VCORE PG" fail
2013年3月28日 星期四
Write a full log event in SEL
Write a full log event in SEL
#ipmitool -I lan -H [BMC IP] -U root -P password event "SEL" "Log Full"
訂閱:
文章 (Atom)
TEMP-2026
123
-
123
-
Use AMISCE tool to update BIOS configuration under linux Test fucntion without change dump file 1.Copy SCELNX_64 to Linux_Flash folder 2...