我看到Dell & HP有一些可以远程或通过脚本/文件更改BIOS设置的程序。
有没有人知道在一个超级微系统上如何做到这一点,或者是否有一个不依赖供应商的系统?我在Supermicro上查了一遍,什么也没找到。谢谢。
发布于 2011-08-16 17:29:25
有两种选择。您可以在BIOS中设置远程访问,然后通过IPMI使用SOL控制台。可以使用expect脚本以这种方式修改设置。另一个是,一些选项可以通过IPMI直接使用,因此您可以使用机器本身上的IPMI接口来更改某些设置(查找ipmitool/OpenIPMI)。
关于SOL/IPMI的一些信息:
http://www.supermicro.com/products/accessories/addon/SIM.cfm
http://wiki.adamsweet.org/doku.php?id=ipmi_在……上面_linux
示例SOL Expect脚本:
发布于 2018-02-02 10:39:35
Supermicro使用AMI Aptio BIOS。
AMI提供SCE实用程序(用于Linux的scelnx)来通过脚本更改BIOS设置。首先,您需要转储当前的BIOS设置以了解设置UUID:
scelnx /b /o /s /root/settings.lst
您可以直接在文件中更改所需的值(方法是将*
符号移动到所需的值),然后通过下一个命令加载文件:
scelnx /b /i /s /root/settings.lst
或者,您可以只使用必要的行创建自己的文件(需要前三行,包括空行):
cat > /root/settings.lst << 'EOF'
// Script File
HIICrc32=
// Enable the Rank Margining Tool
Setup Question = Rank Margin Tool
Token =B4A // Do NOT change this line
Offset =1127
Width =01
BIOS Default =[02]Auto
Options =[02]Auto // Move "*" to the desired Option
[00]Disabled
*[01]Enabled
// Adjust the MRC Serial Debug Message level
Setup Question = Serial Debug Message Level
Token =1C // Do NOT change this line
Offset =2D4
Width =01
BIOS Default =[00]Disable
Options =[00]Disable // Move "*" to the desired Option
[01]Minimum
[02]Normal
*[03]Maximum
// Confirm the Pattern Length value
Setup Question = RMT Pattern Length
Token =B4B // Do NOT change this line
Offset =10ED
Width =04
BIOS Default =7FFF
Value =7FFF
// Turn on/off Per Bit Margin option
Setup Question = Per Bit Margin
Token =B4D // Do NOT change this line
Offset =113A
Width =01
BIOS Default =[02]Auto
Options =[02]Auto // Move "*" to the desired Option
[00]Disable
*[01]Enable
EOF
对于其他平台,您可以在Intel中找到配置实用程序列表。#333845-003:https://www.intel.ru/content/dam/www/public/us/en/videos/guides/platform-trust-enabler-product-guide.pdf (pg.12,4.0 OEM支持矩阵)
现代平台也可以使用x-UEFI脚本配置:https://firmware.intel.com/sites/default/files/STTS001%20-%20SZ16_STTS001_一零二米_ENGf.pdf http://www.uefi.org/confignamespace。
https://serverfault.com/questions/301413
复制相似问题