如何确定我的服务器是否具有某种 IPMI?

isy*_*ync 10 linux debian ipmi ipmitool

我从未见过我管理的 Linux 服务器。如何确定它是否安装了某种 IPMI?

我尝试通过安装 ipmitool 来回答我自己的问题:

Setting up ipmitool (1.8.9-2) ...
Starting IPMI event daemon ipmievdipmievd: using pidfile /var/run/ipmievd.pid0
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such  file or directory
Unable to open interface
failed!
invoke-rc.d: initscript ipmievd, action "start" failed.
Run Code Online (Sandbox Code Playgroud)

是答案。我能否找出 ISP 用于远程控制服务器的内容,或者 ISP 可能如何将其连接到其远程管理 HTML 面板中?

小智 23

来自FreeIPMI 的常见问题部分:7. 我的系统是否支持 IPMI?.

我的系统是否支持 IPMI?

不幸的是,没有通用定义的机制来确定系统是否通过带内通信支持 IPMI。假设为通过 LAN 通信正确设置了 IPMI,则带外存在相当可靠的机制。这里有一些建议。

  1. FreeIPMIipmi-locate可用于确定是否可以在您的系统上找到 IPMI。但请注意,用户无法通过 ipmi-locate 发现 IPMI 并不足以证明 IPMI 存在于您的系统上。您的系统可能不会发布此类信息,或者可能希望客户端在默认位置进行通信。

  2. dmidecode可以类似地用于探测系统上支持 IPMI 的设备。您可以 grep 为 IPMI 或在命令行上指定 IPMI DMI 类型。

     # > dmidecode --type 38
     # dmidecode 2.10 SMBIOS 2.5 present.
    
     Handle 0x0049, DMI type 38, 18 bytes IPMI Device Information
             Interface Type: KCS (Keyboard Control Style)
             Specification Version: 2.0
             I2C Slave Address: 0x10
             NV Storage Device: Not Present
             Base Address: 0x0000000000000CA2 (I/O)
             Register Spacing: Successive Byte Boundaries
    
    Run Code Online (Sandbox Code Playgroud)
  3. FreeIPMIipmi-ping可用于查看机器是否在特定主机/IP 地址处具有 IPMI 服务。对于更广泛的 IPMI 发现,可以使用ipmi-detectd守护程序和ipmi-detect工具。

同样,未能找到 IPMI 支持的设备并不足以表明缺乏 IPMI 支持。

最终,可能需要来自产品文档或反复试验的一些信息来确定您的系统是否支持 IPMI。


Mat*_*hew 0

如果是红帽,就这样做rpm -qa|grep ipmi。OpenIPMI 将是最有可能的安装,或者是专有安装之一(如 hpIPMI)。.deb系统和 Solaris 机器上也应该有等效的命令。

  • 这个答案是不正确的。问题是如何判断服务器物理上是否具有 IPMI 系统,而不是您的操作系统是否安装了 IPMI 软件包。 (8认同)