SMCIPMITool: Supermicro Specific SMC IPMITool with OEM functions
Jump to navigation
Jump to search
- More to be added, quick note on measuring power with SMCIPMITool
- Note: this get the per PSU power
#!/bin/bash
rm epcc-head
rm epcc2
rm epcc3
rm epcc4
rm epcc5
while true
do
./SMCIPMITool 172.28.0.15 ADMIN ADMIN pminfo | grep "Power" | awk -F"|" '{print $2}' >> epcc-head
./SMCIPMITool 173.28.10.2 ADMIN ADMIN pminfo | grep "Power" | awk -F"|" '{print $2}' >> epcc2
./SMCIPMITool 173.28.10.3 ADMIN ADMIN pminfo | grep "Power" | awk -F"|" '{print $2}' >> epcc3
./SMCIPMITool 173.28.0.12 ADMIN ADMIN pminfo | grep "Power" | awk -F"|" '{print $2}' >> epcc4
./SMCIPMITool 173.28.0.15 ADMIN ADMIN pminfo | grep "Power" | awk -F"|" '{print $2}' >> epcc5
done- Get the system power
[root@head1 SMCIPMITool_2.16.0_build.160816_bundleJRE_Linux_x64]# ./SMCIPMITool storagenode120-ipmi ADMIN ADMIN nm20 oemGetPower
1098 wattsUpdate IPMI Firmware using lUpdate
lUpdate is packaged with the IPMI firmware (ver 1.21 used here)
# Perform over the network
./lUpdate -f ../SMT_X9_320.bin -i lan -h ft2-ipmi -u ADMIN -p ADMIN
# Perform locally
./lUpdate -f ../SMT_X9_320.binUpdate the BIOS
[root@ft1 SMCIPMITool_2.11.0_bundleJRE_Linux_x64_20140704]# ./SMCIPMITool ft2-ipmi ADMIN ADMIN bios update ../updated_bios/X9DRF4.424/X9DRF4.424 -N -R -MER
Option: NVRAM overwrite
Option: ME region
Option: SMBIOS preserve
===============
BIOS Image info
===============
Date = 04/24/2014
MB Type = X9DRF-F
Size = 16 MB
Rev = 3.0b
=============
BIOS ROM info
=============
070a BIOS Date: 1/29/2014 Rev 3.0a
====================
Uploading BIOS image
====================
Progress:|>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>| 100%
Upload Time: 1 min 26 sec(s)
=============
Updating BIOS
=============
Progress:|>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>| 100%
Update Time: 4 min 22 sec(s)
Total Elapse Time: 5 min 54 sec(s)
Done