通过命令模式与IBM HS22 IMM通过AMM进行通信

在包含BMC的以前型号的刀片式服务器上,通过传递命令,我可以从外部pipe理站与BMC进行通信,以执行诸如电源刀片开/关,设置VPD参数,重启BMC等等。

现在在HS22上,一堆事情发生了不同。 例如,我们不能再使用相同的传递命令来编写VPD信息页面,并在整个IMM重新启动时保留它们 – 看起来这些VPD页面是从IMM中包含的信息填充的。

我们如何使用外部主机的高级设置实用程序与HS22 IMM进行通信? 或者,我们需要发送什么TCP命令模式命令到AMM与IMM通信?

就我们的目的而言,我们特别不能与刀片本身的IMM进行通信。

具体示例:当我通过AMM发送Pass-thru IPMI命令到刀片BMC,将信息(如MTM,Serial)写入VPD页面0x10时,它会持续在带有BMC的刀片(例如HS21)上。 我可以发送相同的IPMI命令将数据写入HS22上的VPD页面,但是它不会在整个IMM重新启动时持续存在。

我需要发送什么IPMI命令到IMM? 什么IPMI命令asu发送时,它设置MTM&串行?

    自ASU(高级设置实用程序)版本82k / 9.50起,支持与刀片式IMM的带外通信。

    这是摘自ASU用户手册第83-84页( http://download.boulder.ibm.com/ibmdl/pub/systems/support/system_x_pdf/ibm_util_asu_asu82k_anyos_noarch.pdf ):


    AMM上刀片的OOBconfiguration

    ASU支持通过带外(OOB)模式configuration刀片设置。 本节介绍如何使用它在AMM上configuration刀片。

    OOBconfiguration旨在configurationAMM上刀片的设置。 在使用此function之前,请确保满足以下要求:

    • AMM上的远程刀片连接到您的networking环境。
    • 刀片是基于IMM的服务器。
    • 添加–slot参数来强制ASU连接到远程AMM。 否则,ASU将默认尝试使用IMM带外模式build立与提供的IP地址的连接。 而且–slot参数也可以识别刀片的IMM节点托架。
    • 添加–host ,– user–password连接选项,因为它处于带外模式。

      –host提供刀片所在的远程AMM的IP地址。

      –user–password向AMM进行身份validation。

    命令示例:

    显示远程刀片UEFI设置: asu show uefi --host xxxx --user xxx --password xxx --slot x

    要设置远程刀片设置: asu set SETTING_NAME xxx --host xxxx --user xxx --password --slot x --port 6090

    在示例中,– host xxxx是远程AMM的IP地址,– user xxx–password xxx用于authentication连接, – slot x指叶片的IMM节点托架,以及-端口提供AMM机箱接口的端口号; 默认是6090。

    下面列出了AMM刀片的OOBconfiguration支持的命令。

     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 

    那么,下面的程序应该做你想要的:

     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 

    我没有机会validation,所以YMMV。

    但是, 这必须工作。 这是使用ASU更新HS22上的VPD的官方指南(带有错误的HTML转义)。 如果它不起作用,那么打开支持票。

    编辑:修改和阐述

    上述步骤直接回答您的问题:“我们如何使用外部主机的高级设置实用程序与HS22 IMM进行通信? 特别是你设置VPD的例子。 它们也符合您不需要从刀片本身与IMM通信的标准(您可以通过networking访问IMM)。

    他们还间接地回答了你最后的问题:“我需要发送什么IPMI命令到IMM?当设置MTM和串口时,发送了什么IPMI命令?”

    如果您尝试执行这些步骤并validation其中任何一个都能正常工作,则可以转储networking通信并查看正在发送的内容。 这不是一个非常用户友好的方法,但如果你想要完成的事情,它会工作。