Get System Id
更新时间: 2025/06/26
在Gitcode上查看源码6Eh-查询系统id(Get-System-Id)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取system id,根据当前ipmb通道返回该os所对应的system id
权限
ReadOnly
适用机型
天工HPC GA143C
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | Chassis 30h |
| CMD | 94h |
| 1:3 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 4 | Sub Command子命令=6Eh |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2 | Current System Id(举例,有8个系统的机型,对应的有效值为1-8) |
命令样例
获取system id
请求:
ipmicmd -k "0f 00 30 94 db 07 00 6E" smi 0响应:
0f 01 00 03附表1 Blade Configuration Parameter
| Parameter | Access | Parameter Data | #(10进制) |
|---|---|---|---|
| Presence | read-only | data1:1-Get blade presence status | 1 |
| Spaned Slot | read-only | data1:1 Get Spaned Slot | 2 |
| Health state | read-only | data1:3 Get blade health state 1: minor events count of the blade 2: major events count of the blade 3: critical events count of the blade | 3 |
| Power | read-only | data1:2- Get Power value LS-byte first | 4 |
| CPU Temp | read-only | data1:1-Get Max temperature Value from range [CPU1, CPU2, … , CPUn] of the blade | 5 |
| Power State | read-only | data1:1 Get blade power state | 6 |
| Chassis Type | read-only | data1:1 Chassis Type of the blade | 7 |
| System Serial Number | read-only | data1:N Blade system serial number | 8 |
| Asset Tag | read-only | data1:N Blade asset tag | 9 |
| Owner Chassis ID | read-write | data2:N Owner Chassis ID (归属机框/机柜标识) Max 64 Bytes. End by null if less than 64 Bytes. | 10 |
| Location ID | read-write | data2:N Location ID (位置信息), string. Max 64 Bytes. End by null if less than 64 Bytes. | 11 |
| Remote Manage ID | read-write | data2:N Remote Manage ID (远程管理标识) 用于eSight的无状态计算 Max 64 Bytes. End by null if less than 64 Bytes. | 12 |
| Poweron Control String | read-write | data1:N Power On Control String(受控上电) 用于eSight等网管软件的无状态计算方案中的控制BMC上电,下发profile给BMC后才给服务器上电 格式:上电主控IP地址,上电主控端口号,受控上电单板列表 其中“受控上电单板列表”为最大长度为64个字符的字符串,每个字符代表一个单板且只能为0或1,0表示不受控上电,1表示受控上电,针对单BMC则只有1个字符,举例: 192.168.0.2, 1025, 1 Max 255 Bytes. End by null if less than 64 Bytes. | 14 |
| System Boot Control | write-only | 控制BIOS启动阶段 用于9032上电配置 data1:1-BIOS同步启动的阶段,1 base | 15 |
| Input Vlotage | read-write | data1:2-Get/Set input voltage, unit:mv(毫伏),目前OSCA后插板需要监控MOS前后电压差,但是BMC无法检测到MOS管前电压,需要SMM板下发。 LS-byte first | 16 |
| Fixed Key | write-only | data1:1-密码、团体名等使用固定密钥加密,为了兼容,需要在设置还原点前使用本命令强制固定密钥加密,出厂后BMC启动后使用动态密钥加密 0-工作密钥固定 1-工作密钥动态生成 | 17 |
| NetCardChipInfo | read | data1:1,芯片数量(目前是1个) data2:1,第1个芯片的信息数量(目前是2个) data3:1,第1个芯片的端口数量信息长度(L) data4:1,第1个芯片的端口数量(V) data5:1,第1个芯片的芯片型号信息长度(L) data6:N,第1个芯片的芯片型号(V) …如果有其他信息,增加对应L、V即可; …如果有多个芯片,重复第1个芯片的数据格式; | 18 |