Skip to content

Instantly share code, notes, and snippets.

@maurorappa
Created October 9, 2024 06:46
Show Gist options
  • Save maurorappa/6735334a7717e4f5f07fa7ff1b00fc41 to your computer and use it in GitHub Desktop.
Save maurorappa/6735334a7717e4f5f07fa7ff1b00fc41 to your computer and use it in GitHub Desktop.
Supermicro server management
IPMITOOL Utility
#ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback : MD2 MD5 PASSWORD
: User : MD2 MD5 PASSWORD
: Operator : MD2 MD5 PASSWORD
: Admin : MD2 MD5 PASSWORD
: OEM : MD2 MD5 PASSWORD
IP Address Source : Static Address
IP Address : 192.168.101.212
Subnet Mask : 255.255.255.0
MAC Address : 3c:ec:ef:59:44:61
# ipmitool mc reset warm
Sent warm reset command to MC
# ipmitool user list 1
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
1 true false false Unknown (0x00)
2 ADMIN false false true ADMINISTRATOR
ipmitool -I open user set password 2 verysecurepassword
Set User Password command successful (user 2)
IPMICFG utility
wget https://www.supermicro.com/Bios/sw_download/518/IPMICFG_1.34.1_build.221026.zip
./IPMICFG-Linux.x86_64 -nm cpumemtemp
CPU#0 = 18(c) (TJmax = 100,DTS = 82)
./IPMICFG-Linux.x86_64 -fan
Current Fan Speed Mode is [ Optimal Mode ]
Supported Fan modes:
0:Standard
1:Full
2:Optimal
4:Heavy IO
./IPMICFG-Linux.x86_64 -dcmi power
Instantaneous Power Reading | 26 Watts
Minimum During Sampling Period | 20 Watts
Maximum During Sampling Period | 145 Watts
Average Power Reading Over Sample Period | 26 Watts
IPMI Timestamp | 2023/01/26 17:38:56
Sampling Period | 883763000 Milliseconds
Power Reading State | Activated|
./IPMICFG-Linux.x86_64 -nm pstate
Current max allowed P-State = 0
Number of P-State = 16
./IPMICFG-Linux.x86_64 -nm tstate
Current max allowed T-State = 0
Number of T-State = 1
BIOS and server configuration
wget https://www.supermicro.com/Bios/sw_download/527/sum_2.10.0_Linux_x86_64_20221209.tar.gz
get running BIOS (xml format)
./sum -i 10.x.x.x -u ADMIN -P password123 -c GetCurrentBiosCfg --file bios.cfg
update BIOS settings
./sum -i 10.x.x.x -u ADMIN -P password123 -c ChangeBiosCfg --file bios.cfg
Supermicro Update Manager (for UEFI BIOS) 2.10.0 (2022/12/09) (x86_64)
Copyright(C) 2013-2022 Super Micro Computer, Inc. All rights reserved.
...........
Status: The BIOS configuration is updated for 10.x.x.x
Note: You have to reboot or power up the system for the changes to take effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment