Ipmitool对高运维的哥们儿来说是一个很不错的管理工具,既支持本地操作也支持远端操作。能够不依赖服务器的CPU,内存,存储,电源等独立工作,是一种廉价远程管理方案。借用
一下官方的介绍:
The service
processor (or Baseboard Management Controller, BMC) is the brain
behind platform management and its primary purpose is to handle the
autonomous sensor monitoring and event logging features.
IPMItool是一个用于管理和配置,支持智能平台管理接口(IPMI)1.5版和2.0版规范的设备的实用程序。 IPMI是一个开放的标准,监控,记录,回收,库存和硬件实现独立于主CPU,BIOS,以及操作系统的控制权。 服务处理器(或底板管理控制器,BMC)的背后是平台管理的大脑,其主要目的是处理自主传感器监控和事件记录功能。
It features
the ability to read the sensor data repository (SDR) and print
sensor values, display the contents of the System Event Log (SEL),
print Field Replaceable Unit (FRU) inventory information, read and
set LAN configuration parameters, and perform remote chassis power
control.
该ipmitool的方案提供了一个简单的命令行接口,这个BMC。 它具有读取传感器数据存储库(SDR)和打印传感器值,显示系统事件日志(SEL)中的内容,打印现场可更换单元(FRU)的库存信息,读取和设置LAN配置参数,实现对远程的能力机箱电源控制。
It was originally written
to take advantage of IPMI-over-LAN interfaces but is also capable
of using a system interface as provided by a kernel device driver
such asOpenIPMIon
Linux and BMC on Solaris 10 or the new OpenIPMI-compatible driver
in FreeBSD.
它最初被写入采取IPMI的过度LAN接口的优势,但也能够使用系统界面由内核设备驱动程序,如所提供的和BMC在Solaris
10或FreeBSD的新的OpenIPMI兼容的驱动程序。
一、实验环境
硬件环境:
曙光I640
软件环境:
centos6.4
二、软件安装
yum
install -y OpenIPMI ipmitool
三、管理功能详解
1
Windows平台
安装DELL服务器管理软件-OpenManagment_V5.2.0,在”C:Program
FileslenovoSysMgtbmc”下,ipmish.exe,在命令行模式运行
基本语法:
>
ipmish -ip -u -p
ej:
>
ipmish -ip 192.168.15.196 -u root -p 123456 power
status
>>>查看当前电源状态
>
ipmish -ip 192.168.15.196 -u root -p 123456 power
reset
>>>
reset该机器
>
ipmish -interactive
我喜欢将上面放在批处理里
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!