linux - HP BLADE 机器 - 从我的 Linux 操作系统中识别服务器名称

yae*_*ael 4 hp ilo hp-proliant blade-server

我在 HP BLADE Hardware 中有一台 Linux 机器(RedHat 版本 5.6)

我正在尝试找到一种解决方案,以从我的 Linux 操作系统(安装在 HP Blade HW 中的 Linux)中识别服务器名称,(服务器名称)出现在访问选项屏幕中

 Example – how to configure the server name in the HP Blade:



 from the HP Blade System Onboard Administrator screen

 I configured the server name as the following:



  click on Device Bays 

  click on ILO (  device 1 )

  click on Web Administration

  click on  Administration

  click on  Access

  click on  Options

  from the Access Options screen 

  I type the server name: barracuda1 in (Server Name:) field
Run Code Online (Sandbox Code Playgroud)

在设备 Bay 1 中,我安装了 Linux redhat 版本 5.6

如何从我的 Linux 中发现服务器名称(已在访问选项屏幕中配置)?

或者我们可以通过哪个工具/命令/软件从 Linux 操作系统中识别服务器名称

eww*_*ite 5

您需要在服务器上安装HP ProLiant Support Pack或管理代理才能从 Linux 命令行获取此信息。安装后,该hponcfg实用程序有一个-g标志,对应于“获取主机信息”。下面是一个示例,其中我在 ILO 中定义的名称(如您所做的那样)与服务器/etc/sysconfig/network文件中定义的名称不同。

[root@LA_Server ~]# hponcfg -g
Firmware Revision = 2.07 Device type = iLO 2 Driver name = hpilo
Host Information:
                        Server Name: LA_Server_New
                        Server Number: 000000000
Run Code Online (Sandbox Code Playgroud)