在以前的包含BMC的模型刀片上,我能够通过向BMC传递命令从我们的外部管理站进行通信,以执行诸如电源刀片打开/关闭、设置VPD参数、重新启动BMC等操作。
现在在HS22上,很多事情发生的方式不同。例如,我们不能再使用相同的传递命令来编写VPD信息页,并让它们在IMM的重新启动过程中持久存在--看起来这些VPD页面似乎是从IMM中包含的信息中填充的。
如何使用外部主机的高级设置实用程序与HS22 IMMs通信?或者,我们需要向AMM发送哪些TCP命令模式命令来与IMM通信?
为了我们的目的,我们特别不能与来自刀片本身的IMM通信。
具体示例:当我通过AMM向刀片BMC发送pass命令将信息(如MTM、串行)写入VPD页面0x10时,它会在刀片上使用BMC (例如HS21)持久存在。我可以发送相同的IPMI命令将数据写入HS22上的VPD页面,但是它不会在IMM的重新启动过程中持续存在。
我需要向IMM发送哪些IPMI命令?当asu设置MTM和串行时,asu发送了哪些IPMI命令?
发布于 2014-01-02 22:51:20
对于ASU (高级设置实用程序)版本82k/9.50,支持带外通信到刀片IMMs。
以下是ASU用户手册(http://download.boulder.ibm.com/ibmdl/pub/systems/support/system_X_pdf/ibm_实用程序_asu_asu82k_安约斯_noarch.pdf)第83-84页的摘录:
AMM ASU上叶片的OOB配置通过带外(OOB)模式支持叶片设置的配置。本节介绍如何使用它在AMM上配置刀片。OOB配置旨在配置AMM上的刀片设置。在使用此功能之前,请确保满足以下要求:
命令示例:要显示远程刀片UEFI设置:asu show uefi --host x.x.x.x --user xxx --password xxx --slot x设置远程刀片设置:示例中的asu set SETTING_NAME xxx --host x.x.x.x --user xxx --password --slot x --port 6090,--主机x.x是远程AMM的IP地址,--user xxx和-password xxx用于验证连接,--槽x指刀片的IMM节点区,--端口提供AMM底盘接口的端口号;默认值为6090。下面列出了OOB为AMM上的刀片配置所支持的命令。
Command Description
show Display IMM server setting
set Update IMM server setting
showdefault Display IMM default server setting
showvalues Display IMM values server setting
showgroups Display IMM setting for server groups
batch Execute several ASU commands simultaneously
createuuid Generate a UUID value and set it
comparedefault Compare the default value with the current value
delete Delete an instance of a setting
help Show description for selected settings
loaddefault Load the default value
replicate Replicate settings saved in a settings file
restore Restore settings saved in a settings file
save Save all or some settings to a settings file
setenc Apply an encrypted value to a setting发布于 2011-09-25 06:10:24
嗯,下面的程序应该做你想做的事:
Issue the following command to view the current settings for the machine
type and model:
asu show SYSTEM_PROD_DATA.SysInfoProdName
Issue the appropriate ASU command to set the machine type and model:
asu set SYSTEM_PROD_DATA.SysInfoProdName 7870-mmm其中7870是HS 22的机器类型,mmm是模型,例如D2G
Issue the following command to verify that you set the machine type
and model number correctly:
asu show SYSTEM_PROD_DATA.SysInfoProdName
Issue the following command to view the current setting of the serial number:
asu show SYSTEM_PROD_DATA.SysInfoSerialNum
Issue the following ASU command on the SONAS node to set the serial number:
asu set SYSTEM_PROD_DATA.SysInfoSerialNum xxxxx
The variable xxxxx in the command stands for the serial number.
Issue the following command to verify that you set the serial number correctly:
asu show SYSTEM_PROD_DATA.SysInfoSerialNum我没有机会核实,所以YMMV。
然而,这必须有效。这是使用ASU更新HS22上VPD的官方指南(带有拙劣的HTML转义)。如果它不起作用,那么打开一张支持票。
编辑:修改和阐述
上面的过程直接回答了您的问题:“我们如何使用外部主机的高级设置实用程序来与HS22 IMMs通信?”特别是设置VPD的例子。它们还满足了不需要从刀片本身与IMM通信的标准(您可以通过网络访问IMM )。
它们还回答了您的最后问题:“我需要向IMM发送哪些IPMI命令? asu在设置MTM &Serial时发送的IPMI命令是什么?”
如果您尝试这些过程并验证它们是否正确工作,则可以转储网络流量并查看正在发送的内容。这不是一个非常方便用户的方法,但如果你想要做的事情,它会工作。
https://serverfault.com/questions/60358
复制相似问题