歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux基礎知識 >> Linux下使用命令行配置IPMI

Linux下使用命令行配置IPMI

日期:2017/3/2 17:15:19   编辑:Linux基礎知識

ipmitool是什麼:

百度百科給的解釋已經夠用了,簡單說就是“IPMI(Intelligent Platform Management Interface)即智能平台管理接口是使硬件管理具備“智能化”的新一代通用接口標准。用戶可以利用 IPMI 監視服務器的物理特征,如溫度、電壓、電扇工作狀態、電源供應以及機箱入侵等。

IPMI配置管理IP方法有:

1.BIOS配置,這個簡單,直接開機進BIOS,在進階選項裡配置IPMI的IP,掩碼,網關。

2.開機過程中,按照提示,按ctrl + E 進入IPMI的配置界面,沒有拍照,上不了圖。那些選項,自己看著就懂了。

3.在linux下配置,

3.1 開啟IPMI服務,service ipmi start

3.2 配置IP的獲取方式 IP 掩碼 網關

ipmitool lan set 1 ipsrc static | dhcp

ipmitool lan set 1 ipaddr 192.168.1.2

ipmitool lan set 1 netmask 255.255.255.0

ipmitool lan set 1 defgw 192.168.1.254

3.3查看IPMI配置

ipmitool lan print 1 (1可以不加,默認顯示channel 1的配置)

打開上圖中的"啟用LAN上的IPMI"後,就可以通過遠程命令查詢各項信息:

# ipmitool -H 10.0.110.32 -I lanplus -U root -P password power status

# ipmitool -H 10.0.110.32 -I lanplus -U root power status (手動輸入密碼)

Copyright © Linux教程網 All Rights Reserved