当前位置:文档之家› IPMItool使用文档

IPMItool使用文档

IPMItool使用文档
IPMItool使用文档

戴尔IPMI默认用户名:root 密码:calvin

曙光IPMI默认用户名:admin 密码:admin

浪潮IPMI默认用户名:admin 密码:admin

H3CIPMI默认用户名:admin 密码:Password@_

安装: yum install ipmitool

启动服务: service ipmi start

lanplus是操作远程机器, 如果要操作本地机器,需要把lanplus换成 open

1. 查看开关机状态:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) power status

2. 开机:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) power on

3. 关机:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) power off

4. 重启:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户

名的密码) power reset

二、IP网络设置

说明:[ChannelNo] 字段是可选的,ChannoNo为1(Share Nic网络)或者8(BMC独立管理网络);设置网络参数,必须首先设置IP为静态,然后再进行其他设置;

1. 查看网络信息:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan print [ChannelNo]

2. 修改IP为静态还是DHCP模式:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan set ipsrc

3. 修改IP地址:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan set ipaddr

4. 修改子网掩码:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan set netmask

5. 修改默认网关:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan set defgw ipaddr <默认网关>

1. 查看FRU信息:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) fru list

2. 重启动BMC:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) mc reset

3. 查看SDR Sensor信息:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) sdr

4. 查看Sensor信息:

ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) sensor list

ipmitool工具常用命令汇总情况

ipmitool工具常用命令汇总 目录 1.工具的安装 (3) 2.命令的help (3) 3.查看管理口的IP地址 (5) 4.管理底盘chassis配置 (6) 4.1查看底盘配置汇总 (6) 4.2管理电源 (6) 4.3管理时间间隔 (7) 4.4管理电源恢复策略 (7) 4.5查看上次重启原因 (7) 4.6查询上电时间 (8) 4.7管理启动项 (8) 4.8设置启动项的参数 (8) 5.使用delloem进行管理 (9) 5.1配置lcd (9) 5.2查看MAC地址 (10) 5.3设置lan的模式 (11) 5.4设置背板led的状态 (11)

5.5管理电源监控 (12) 6.查看传感器数据sensor (12) 6.1查看当前系统所有的传感器数据 (13) 6.2设置传感器的告警阈值 (13) 6.3查看某一传感器的状态信息 (13) 6.4查看某一个传感器的当前值 (14) 7.管理传感器仓库sdr (14) 7.1查看传感器仓库中的信息列表 (15) 7.2查看传感器的类型和指定类型的数据 (16) 7.3查看指定传感器的配置信息 (17) 7.4查看传感器仓库sdr的配置信息 (18) 8.查看系统事件sel日志 (18) 8.1查看sel的状态信息 (18) 8.2查看sel的中的日志信息 (19)

1.工具的安装 yum install -y OpenIPMI ipmitool 开启服务 /etc/init.d/ipmi status /etc/init.d/ipmi start [root@cell83 ~]# ipmitool -V ipmitool version 1.8.18 2.命令的help 明细的命令参考man ipmitool 或者附件ipmitool.help [root@cell83 ~]# ipmitool -h ipmitool version 1.8.18 usage: ipmitool [options...] -h This help -V Show version information -v Verbose (can use multiple times) -c Display output in comma separated format -d N Specify a /dev/ipmiN device to use (default=0) -I intf Interface to use -H hostname Remote host name for LAN interface -p port Remote RMCP port [default=623] -U username Remote session username -f file Read remote session password from file -z size Change Size of Communication Channel (OEM) -S sdr Use local file for remote SDR cache -D tty:b[:s] Specify the serial device, baud rate to use and, optionally, specify that interface is the system one -4 Use only IPv4 -6 Use only IPv6 -a Prompt for remote password

IPMItool远程管理 HMC 的配置方法

本文主要讲述如何配置HMC(Hardware Management Console) 的BMC(Baseboard Management Controller) 与OS(Operating System) 内核参数, 激活SOL(Serial-over-LAN) 功能, 以实现运用IPMItool 远程管理HMC。 运用IPMItool 进行HMC 远程管理是一种非常有效的系统管理方法;它充分利用了当前HMC 都带有BMC 的硬件优势,可以不必关心HMC 操作系统是否处于停机,而远程进行HMC 开关机与查看其开机后的启动过程;这将不仅大大地减少管理人员奔赴机房的次数,而且更重要的是在很大程度上加强了硬件设备被远程控制的能力。 一般来说,带有BMC 硬件控制器的设备都可以采用了IPMItool 进行远程管理。本文将重点介绍IPMItool 远程管理HMC 的配置方法,希望对读者能起到一些抛砖引玉的作用。 几个关键概念 HMC、BMC、SOL、IPMI 与IPMItool 是当前基于x86 架构的服务器中经常遇到几个非常重要概念,应该说要想很好地知道system p 服务器是如何被管理的,理解这几个概念是必不可少的,现在就让我对它们进行逐一地介绍:HMC HMC 硬件控制台(Hardware Management Console for pSeries)是基于Intel 芯片的工作站,它安装了Linux 的操作系统和i5 的管理软件。每一台HMC 除了有内存、硬盘、DVD-RAM、以太网口等,还可以选择不同的显示器、键盘等设备。它提供的一系列功能用来管理Power System 系列服务器以及服务器上LPAR 分区的配置。 BMC BMC(Baseboard Management Controller) 是一种专用芯片/ 控制器( 叫做服务器处理器或基板管理控制器(BMC)),是基于IPMI 系统的心脏;在IPMI 管理平台中,系统管理软件对各个被管理器件的管理,都是通过与BMC 通信来实现的. BMC 并不依赖于服务器的处理器、BIOS 或操作系统来工作,它有自己的固件、电源、MAC 地址与网络接口,可谓非常地独立,是一个单独在系统内运行的无代理管理子系统。 即便在HMC 操作系统停机的情况下,BMC 也处于运行状态,它主要支持三种系统接口方法:(1) KCS (Keyboard Controller Style)(2) SMIC(System Management Interface Controller) 与(3) BT (Block Transfer),具体采用哪种方法是由SMBIOS 表决定的.

IPMI远程管理

IPMI远程管理 1.IPMI及其原理介绍 1.1 ipmi简介 IPMI是智能型平台管理接口(Intelligent Plat for m Management Interface)。用户可以利用IPMI监视服务器的物理特征,如温度、电压、电扇工作状态、电源供应以及机箱入侵等。IPMI最大的优势在于它是独立于CPU,B IOS 和OS的,所以用户无论在开机还是关机的状态下,只要接通电源就可以实现对服务器的监控。IPMI是一种规范的标准,由美国英特尔、惠普(Hewlett-Packard)、NEC、美国戴尔电脑和SuperMicro等公司制定。最新的版本是IPMI2.0. 1.2 ipmi可以实现的主要功能 1. 可以在服务器通电(没有启动操作系统)情况下,对它进行远程管理:开机, 关机,重启。 2. 基于文本的控制台重定向,可以远程查看和修改bios设置,系统启动过程, 登入系统等。 3. 可以远程通过sol连接服务器,解决ssh服务无法访问,远程安装系统,查 看系统启动故障等问题。 4. 故障日志记录和SNMP 警报发送,访问系统事件日志 (System Event Log ,SEL) 和传感器状况。 注:目前,我们公司线上主要要求实现远程重启和远程屏幕两个功能。 1.3 ipmi进行远程管理的必要条件 (1)服务器硬件本身提供对 IPMI的支持。 目前惠普、戴尔和NEC 等大多数厂商的服务器都支持 IPMI 2.0但并不是所有服务器都支持,所以应该先通过产品手册或在 BIOS 中确定服务器是否支持 IPMI,也就是说服务器在主板上要具有 BMC 等嵌入式的管理微控制器。 (2)操作系统提供相应的 IPMI驱动。 通过操作系统监控服务器自身的IPMI信息时需要系统内核提供相应的支持,linux 系统通过内核对 OpenIPMI(IPMI驱动)的支持来提供对 IPMI的系统接口。 (3) IPMI管理工具。 本文选择的是Linux 下的命令行方式的 IPMI平台管理工具 ipmitool。 1.4 New for IPMI v 2.0 新版本的ipmi增加了一些新特性,以下列出几个比较重要的功能: 1.Enhanced Authentication----RMCP+,key, sessions, au user //认证协议 由RMCP到RMCP+,采用安全哈希算法

ipmi工具使用方法

工具使用方法: 打开cmd窗口,进入工具所在目录,执行: ipmitool -v -I lanplus -H "ip" -U "username" -P "password" sel>IP_sel2.0.txt ipmitool -v -I lanplus -H "ip" -U "username" -P "password" sdr>IP_sdr2.0.txt ipmitool -v -I lanplus -H "ip" -U "username" -P "password" sensor>IP_sensor2.0.txt ipmitool -v -I lanplus -H "ip" -U "username" -P "password" fru>IP_fru2.0.txt 若不支持该命令,可改为执行 ipmitool -v -I lan -H "ip" -U "username" -P "password" sel >IP_sel1.5.txt ipmitool -v -I lan -H "ip" -U "username" -P "password" sdr >IP_sdr1.5.txt ipmitool -v -I lan -H "ip" -U "username" -P "password" sensor >IP_sensor1.5.txt ipmitool -v -I lan -H "ip" -U "username" -P "password" fru >IP_fru1.5.txt 参数说明: "ip":服务器所在ip "username":用户名 "password":密码 执行结果:

ipmitool工具常用命令汇总

i p m i t o o l工具常用命令汇总目录

1.工具的安装 yum install -y OpenIPMI ipmitool 开启服务 /etc/ipmi status /etc/ipmi start [root@cell83 ~]# ipmitool -V ipmitool 2.命令的help 明细的命令参考man ipmitool 或者附件 [root@cell83 ~]# ipmitool -h ipmitool usage: ipmitool [options...] -h This help -V Show version information -v Verbose (can use multiple times) -c Display output in comma separated format -d N Specify a /dev/ipmiN device to use (default=0) -I intf Interface to use -H hostname Remote host name for LAN interface -p port Remote RMCP port [default=623] -U username Remote session username -f file Read remote session password from file -z size Change Size of Communication Channel (OEM) -S sdr Use local file for remote SDR cache -D tty:b[:s] Specify the serial device, baud rate to use and, optionally, specify that interface is the system one -4 Use only IPv4 -6 Use only IPv6 -a Prompt for remote password -Y Prompt for the Kg key for IPMIv2 authentication -e char Set SOL escape character -C ciphersuite Cipher suite to be used by lanplus interface -k key Use Kg key for IPMIv2 authentication

IPMI环境配置手册

IPMI环境配置手册 IPMI环境配置手册 (1) 1. VMware下载与安装 (2) 2. VMW ARE上Ubuntu系统的下载与安装 (8) 一、软件下载 (8) 二、软件安装。 (8) 3. 设置unbuntu的网络与主机共享 (22) 4. Terminal终端root (23) 5. 更新源 (25) 6. 安装SSH服务端: (26) 7. 获取该Ubuntu的IP (27) 8. 本地Windows下安装SSH客户端PUTTY的下载与安装 (27) 一、软件下载 (27) 二、软件安装 (28) 关于注销登录的一些事情 (35) 9. 打开PUTTY,输入服务端IP,确定后显示命令行界面 (36) 10. 打开windows的CMD,ping通客户端与服务端: (37) 11. 在PUTTY的命令行界面输入unbuntu用户名密码登录进去 (38) 12. PUTTY下root进去远程控制 (38) 13. 安装ipmitool (39)

14. 显示所有命令 (39) 15. 通过ipmitool进行远程操作: (40) 1.VMware下载与安装 下载地址:(https://www.doczj.com/doc/756797952.html,/soft/show/appid/100964) vmware10虚拟机是个软件,安装后可用来创建虚拟机,在虚拟机上再安装系统,在这个虚拟系统上再安装应用软件,所有应用就像操作一台真正的电脑,因此,我们可以利用虚拟机学习安装操作系统、学用Ghost、分区,格式化,测试各种软件或病毒验证等工作,甚至可以组建网络。即使误操作都不会对你的真实计算机造成任何影响! 1、运行VMware-workstation-full-10.0.0-1295980.exe,打开VMware Workstation 10.0中文安装向导 2、接受许可协议中的条款

ipmitool工具常用命令汇总

i p m i t o o l工具常用命 令汇总 Document serial number【UU89WT-UU98YT-UU8CB-UUUT-UUT108】

ipmitool工具常用命令汇总目录

1.工具的安装 yum install -y OpenIPMI ipmitool 开启服务 /etc/ipmi status /etc/ipmi start [root@cell83 ~]# ipmitool -V ipmitool version 命令的help 明细的命令参考man ipmitool 或者附件 [root@cell83 ~]# ipmitool -h ipmitool version ipmitool [options...] -h This help -V Show version information -v Verbose (can use multiple times) -c Display output in comma separated format -d N Specify a /dev/ipmiN device to use (default=0)

-I intf Interface to use -H hostname Remote host name for LAN interface -p port Remote RMCP port [default=623] -U username Remote session username -f file Read remote session password from file -z size Change Size of Communication Channel (OEM) -S sdr Use local file for remote SDR cache -D tty:b[:s] Specify the serial device, baud rate to use and, optionally, specify that interface is the system one -4 Use only IPv4 -6 Use only IPv6 -a Prompt for remote password -Y Prompt for the Kg key for IPMIv2 authentication -e char Set SOL escape character -C ciphersuite Cipher suite to be used by lanplus interface -k key Use Kg key for IPMIv2 authentication -y hex_key Use hexadecimal-encoded Kg key for IPMIv2 authentication

IPMI&ipmitool

IPMI & ipmitool 本文档分为原理篇和应用篇,原理篇介绍了IPMI的原理及相关技术,应用篇讲解使用ipmitool来实现IPMI管理与监控的两种方式,最后举例说明ipnm-ipmi脚本如何实现Intel@节点能耗管理。 目录 原理篇 (2) 一、IPMI含义 (2) 二、IPMI发展历史及版本介绍 (2) 三、IPMI技术优点 (3) 四、IPMI工作原理 (3) 、技术实现 (4) 五、 六、未来技术趋势 (6) 七、IPMI功能总结 (7) 应用篇 (7) 一、简介 (7) 二、使用IPMI的先决条件 (8) 三、 实现对Linux服务器的IPMI管理 (9) 1、实现对本地服务器的管理 (9) 2、实现对远程服务器的管理 (11) 四、Intel@节点能耗管理 (12) 附录A Ipmitool安装 (13) 附录B Ipmitool接口说明 (13) 1、OPEN INTERFACE (13) 2、LAN INTERFACE (14) 3、LANPLUS INTERFACE (15)

原理篇 含义 一、IPMI含义 智能平台管理界面(Intelligent Platform Management Interface) 的缩写,它是管理基于Intel@结构的企业系统中所使用外围设备采用的一种工业标准。IPMI 的主要特征是,资源清册、日志记录及恢复控制功能均独立于主处理器、BIOS 和操作系统提供。 及版本介绍 二、IPMI发展历史 发展历史及版本介绍 到目前为止IPMI的一共发行了三个版本,分别是1998年的Version 1.0,2001年的Version 1.5以及2004年的Version 2.0。 在IPMI推出之前,每个计算机厂商都自行开发了监控其平台中各组件性能的方案,这些方案倾向于将一个企业或电信公司与某一具体厂商紧密结合,通常管理效率低下。随着数据中心计算设备和电信网络的激增,这种长期形成的缺点已经变得日益严重。 英特尔并不受硬件厂商的欢迎,所以如果能够开发和推广一种合理化方案,对英特尔来说是很有意义的,最初的支持者有惠普、戴尔和NEC,倡导者们计划开发出一种标准方式,也就是IPMI,可以通过不同的平台获取信息。 IPMI 1.0在1998年发布,后来相继推出的两个版本1.5和2.0。 IPMI 1.5规范包括了通过串行口、调制解调器以及局域网远程控制网络服务器进行系统管理的能力。即使在服务器未开电源的情况下,管理员也能远距离拨号进入IPMI系统,查询服务器系统的健康状况,进行重开机或重关机,或重新配置以及恢复系统。另外系统也可以自动地通过电话或者局域网向服务器管理员发出警报信息,这样网络管理人员便可以随时随地在第一时间了解整个网络系统的物理健康状况,以采取积极的应对措施。 IPMI2.0关注的是安全问题,它通过一种被称为安全散列算法(SHA-1)和基于密钥哈希消息的技术以支持高级认证;定义了高级加密标准(AES),提供高级加密功能;并且支持虚拟局域网(VLAN),从而给予管理员更多的控制权加强了安全性能。此外,还定义了SOL (Serial Over Lan)远程管理指令,利用它们可改变IPMI会话过程中本地串口传送数据方向,从而实现对远程服务器的Pre-os访问,提供了通过LAN远程查看、启动、诊断和维修故障的标准方式。

ipmitool工具常用命令汇总审批稿

i p m i t o o l工具常用命令 汇总 YKK standardization office【 YKK5AB- YKK08- YKK2C- YKK18】

ipmitool工具常用命令汇总目录

1.工具的安装 yum install -y OpenIPMI ipmitool 开启服务 /etc/ipmi status /etc/ipmi start [root@cell83 ~]# ipmitool -V ipmitool version 命令的help 明细的命令参考man ipmitool 或者附件 [root@cell83 ~]# ipmitool -h ipmitool version ipmitool [options...] -h This help -V Show version information -v Verbose (can use multiple times) -c Display output in comma separated format -d N Specify a /dev/ipmiN device to use (default=0) -I intf Interface to use -H hostname Remote host name for LAN interface -p port Remote RMCP port [default=623] -U username Remote session username -f file Read remote session password from file -z size Change Size of Communication Channel (OEM) -S sdr Use local file for remote SDR cache -D tty:b[:s] Specify the serial device, baud rate to use and, optionally, specify that interface is the system one -4 Use only IPv4 -6 Use only IPv6 -a Prompt for remote password -Y Prompt for the Kg key for IPMIv2 authentication -e char Set SOL escape character

曙光服务器ipmi部署记录

服务器ipmi服务部署记录 I620&A840 部署 这两种机型的部署比较简单,如果有ESXI系统的话,直接ipmi部署就好了。 I620需要在BIOS的servermanage中远程管理卡的网卡模式调整为Failover-G。A840不需要,直接是网卡共享(在MGMT和4个LAN口中共享)。

测试 Figure 1 修改网卡模式为Failover-G Figure 2reset server后,会丢掉两个包,远程视图正常

Figure 3power cycle之后,有两次丢共丢了4个包,远程视图正常。 总结 1.A840最喜欢,如果有系统,比如esxi,可以直接使用ipmitool直接部署, 然后就可以拿浏览器进行测试了。 2.I620,一般,配置完成后,需要接入MGMT,然后调整下网卡模式为Failover-G 模式。 A620 部署 初次部署 初次部署,是指部署之后,需要插入网线到MGMT口才可以使用。 带有ESXI系统 1.进入esxi系统 2.拷贝ipmitool软件到esxi系统的/bin/目录下

3.使用命令配置 4.ipmitool lan set 1 ipsrc static 5.ipmitool lan set 1 ipaddr 172.1 6.11.x 6.ipmitool lan set 1 netmask 255.255.255.0 7.ipmitool lan set 1 defgw ipaddr 172.16.11.254 8.ipmitool lan set 1 vlan id off 9.ipmitool user set password 2 xxx 10.ipmitool lan set 1 access on 空白机器 1.准备USB硬盘 2.准备LiveCD,带有openipmiipmitool megacli megactl megastatus 3.将LiveCD客户到U盘 4.开机启动 5.按DEL调整启动顺序,将U盘向上放置 6.ipmitool lan set 1 ipsrc static 7.ipmitool lan set 1 ipaddr 172.16.11.x 8.ipmitool lan set 1 netmask 255.255.255.0 9.ipmitool lan set 1 defgw ipaddr 172.16.11.254 10.ipmitool lan set 1 vlan id off 11.ipmitool user set password 2 xxx 12.ipmitool lan set 1 access on 二次调整 1.二次调整,目的是去掉MGMT这根网线。 2.插入网线到MGMT口。 3.通过360浏览器打开MGMT地址。 4.展开 configuration> network页面。 5.默认network interface setting是LAN3。 6.调整为Usebothinterface。 7.配置LAN3为dhcp。 8.配置LAN1 为 static,之前的地址。 9.分别点击save保存。

ipmitool 命令

IPMItool Command-line Management of Intelligent Devices (https://www.doczj.com/doc/756797952.html,) Duncan Laurie Sun Microsystems Linux Software Engineering duncan@https://www.doczj.com/doc/756797952.html, Intelligent Platform Management Interface Platform Management refers to the monitoring,logging,recovery and inventory control features implemented in hardware and?rmware.The key differentiator of Intelligent Platform Management is that these functions are independent of the main CPU,BIOS,and OS. There are two major components of platform management:the Service Processor or Baseboard Management Controller(BMC)and System Management Software(SMS).The service processor is the brain behind platform management and its primary purpose is to provide autonomous sensor monitoring and event logging features.Typical sensor-related events are out-of-range temperature or voltage and fan failure.When an event occurs it is noted in the system event log and made available to SMS.The service processor can even be wired to a standby power source and function when the server is powered down or the operating system has crashed.This allows platform status to be obtained and recovery initiated under situations where in-band delivery mechanisms are unavailable. In modern systems,the Intelligent Platform Management Interface provides a hardware level interface speci?cation for monitoring and control functions.It de?nes a standard,abstract,message-based interface between the BMC and SMS and a common set of commands for operations such as accessing sensor values,setting thresholds,logging events,and controlling a watchdog timer.IPMI messages can be used to communicate with the BMC over serial and LAN interfaces,so software designed for in-band(local)management can be re-used for out-of-band(remote) management simply by changing the low-level communications layer. Introduction to IPMItool IPMItool is a simple command-line interface to systems that support the Intelligent Platform Management Interface v1.5speci?cation.It provides the ability to read the sensor data repository and print sensor values,display the contents of the system event log,print?eld replaceable unit information,read and set LAN con?guration parameters, and perform remote chassis power control.It was originally written to take advantage of IPMI-over-LAN interfaces but is also capable of using the system interface as provided by a kernel device driver such as OpenIPMI.IPMItool is available under a BSD-compatible license. System Management Software is generally complex and makes platform management only part of a much larger management picture.However,many system administrators and developers rely on command-line tools that can be

DELL服务器IPMI配置简介

DELL服务器IPMI配置简介 方法一: 一、启动机器,在看见提示CTRL+E 时点击CTRL+E进入IPMI设置界面 1、IPMI Over LAN 设置为ON 2、IPMI LAN Channel 项进入设置BMC的IP地址和子网掩码(注意IP地址不能和 本地操作系统下IP地址冲突,要保证网内唯一性) 3、User Configuration 进入设置用户名和密码

4、点击ESC 选择保存设置并推出。 二、连接测试 找到另外一台机器(注意:如果也是服务器的话那么必须先配置这台机器的BMC控制器地址才能PING通刚才配置的机器的BMC,工作站就不需要配置) 1、确保机器能够PING通刚才配置的BMC地址。 2、命令行方式进入到ipmish.exe文件所在文件夹。 3、输入命令: >impish –interactive >connect –ip 刚才机器BMC地址–u root –p calvin (注:默认密码为calvin) 这时如果没有返回错误,那么表示连接成功,这是就可以使用相关的命令取得该主机的硬件信息,以及开关机操作等。 三、常用命令 1、操作系统信息/主板信息 > sysinfo fru >sysinfo id

2、机箱内温度信息 >sensor temp Index : 1 Status : Normal Probe Name : System Board Ambient Temp Reading : 20.0 C Minimum Warning Threshold : 8.0 C Maximum Warning Threshold : 42.0 C Minimum Failure Threshold : 3.0 C Maximum Failure Threshold : 47.0 C 4、风扇信息 >sensor fan 5、电压 >sensor volt 6、各个插槽借口连接状态信息 >sensor numeric 7、日志信息 >sel (返回日志个数) >sel get (返回所有日志) >sel clear (删除所有日志) 8、电源 >power status (当前电源状态) >power on (开机) >power off (通过操作系统关机) >power cycle (关闭系统,暂停后再打开系统) >power reset (传送系统重设信号,而不管电源状态是什么) >power force (模拟按下电源按钮,强制系统关机) 9、LCD面板闪烁开关 > identify on (闪烁) > identify off (停止闪烁) > identify on –t 100 (设置闪烁世间100秒) 方法二: 配置bmc可以有多种方法配置,比如开机时候按ctrl+E直接进入配置界面;或者是利用dell 的server admin (web界面)工具包配置,以及dell SDK光盘里面syscfg(CLI命令行)工具配置;还可以通过ipmitool工具进行配置,ipmitool是一个开源软件,这是最方便的配置方式。考虑到多数机器都是在机房,所以这里主要演示利用ipmitool进行配置的方法。其他配置方式参考dell文档光盘,有详细的傻瓜化文档。 1. 开启ipmi 服务 #/etc/init.d/ipmi start 2. 编译安装ipmitool 工具

IPMItool使用文档

戴尔IPMI默认用户名:root 密码:calvin 曙光IPMI默认用户名:admin 密码:admin 浪潮IPMI默认用户名:admin 密码:admin H3CIPMI默认用户名:admin 密码:Password@_ 安装: yum install ipmitool 启动服务: service ipmi start lanplus是操作远程机器, 如果要操作本地机器,需要把lanplus换成 open 1. 查看开关机状态: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) power status 2. 开机: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) power on 3. 关机: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) power off 4. 重启: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户

名的密码) power reset 二、IP网络设置 说明:[ChannelNo] 字段是可选的,ChannoNo为1(Share Nic网络)或者8(BMC独立管理网络);设置网络参数,必须首先设置IP为静态,然后再进行其他设置; 1. 查看网络信息: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan print [ChannelNo] 2. 修改IP为静态还是DHCP模式: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan set ipsrc 3. 修改IP地址: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan set ipaddr 4. 修改子网掩码: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan set netmask 5. 修改默认网关: ipmitool -H (BMC的管理IP地址) -I lanplus -U (BMC登录用户名) -P (BMC 登录用户名的密码) lan set defgw ipaddr <默认网关>

曙光IPMI系统管理平台用户使用指南

曙光IPMI系统管理平台用户使用指南

目录 概述 (3) ?智能平台管理接口(IPMI) (3) ?基板管理控制器(BMC) (3) IPMI的相关配置 (4) ?获取/配置IP地址等信息 (4) 1.在BIOS下进行配置 (4) 2.用DOS工具进行获取/配置 (5) 3.在windows操作系统下配置 (6) 4.在linux操作系统下配置 (7) ?IPMI LAN Dedicate(专用)模式修改 (8) 1.DOS模式下通过IPMICFG工具修改 (8) 2.Windows或linux系统下通过web方式进行修改 (8) 使用web浏览器进行远程登录 (10) ?Web浏览器远程登录管理平台 (10) 1.首页 (10) 2.主菜单 (10) 3.系统信息(System) (11) 4.服务器状态(Server Health) (11) 5.配置(Configuration) (12) 6.远程控制(Remote Control) (21) 7.虚拟介质(Virtual Media) (24) 8.维护(Maintenance) (25) 9.杂项(Miscellaneous) (29) ?Java iKVM控制台 (29) 1.virtual media菜单 (30) 2.Record菜单 (31) 3.键盘宏(Macro)菜单 (31) 4.选项(Options)菜单 (32) 5.用户(User)菜单 (36) 6.屏幕抓图(Capture)菜单 (36) 7.Exit退出iKVM (36) 通过IPMI安装操作系统 (37) ?安装前的准备 (37) 1.网络结构 (37) 2.虚拟介质 (37) 3.介质共享 (37) ?系统安装过程 (38) 1.登录web管理平台 (38) 2.进入iKVM远程控制台 (38) 3.设置虚拟介质 (38) 4.从虚拟光驱引导系统安装过程 (41)

IPMI远程管理实验

IPMI远程管理实验on DELL PE2950 ipmi的介绍此处省略... ipmi能够不依赖服务器的CPU,内存,存储,电源等独立工作,是一种廉价远程管理方案 以一台未安装OS的DELL PE2950 (ipmi v2.0)为实验机器(这里就不讨论IPMI的本地应用了),LAN内分别在WINDOWS(XP)平台和LINUX平台通过IPMI对2950进行管理DELL 2950 BMC的设置: IPMI OVER LAN --> ON IPMI LAN CHANNEL --> 填入IP地址,可以和该服务器操作系统中的IP 一致,不过要确保后面客户机的IP和此IP在一个网段 User Configuration --> 填入权限,用户名和密码 Press [ ESC ] , save it , reboot +++ Windows XP平台+++ 安装DELL服务器管理软件-OpenManagment_V5.2.0,在"C:\Program Files\Dell\SysMgt\bmc\" 下,ipmish.exe,在命令行模式运行 基本语法: > ipmish -ip -u -p ej: > ipmish -ip 172.16.0.4 -u root -p 123456 power status >>> 查看当前电源状态 > ipmish -ip 172.16.0.4 -u root -p 123456 power reset >>> reset该机器 > ipmish -interactive 我喜欢将上面放在批处理里,直接双击,进ipmi的shell环境, 然后 > connect -ip -u -p 验证成功后,就可以直接输入BMC控制命令,这里介绍三个比较有用的命令,其余命令和更详细的用法,可以在bmc shell里自己查看帮助> help > power [status|off[-force]|on|reset|cycle] >>> 可以远程在不进入系统的情况下进行开关机,重启,等等 > sensor [temp|fan|volt|discrete|numeric] [-format ] >>> 查看系统传感器的命令,支持温度,电压,风扇等等 > sel [[get [[[-begin ][-max |-end ]]|-last ] [-format ]] |clear|status] >>> 查看和管理系统日志sel get > log.txt 保存日志; sel clear > sysinfo [fru|id] >>> 查看FRU 或者BMC 信息 +++ Linux 平台+++ RHEL AS4U4,安装时勾选了IPMI管理包,自己另装的话,注意要装上IPMI驱动模块和IPMITOOL管理工具. #service ipmi start #ipmitool -I open shell #### 可以直接进入本地BMC shell #ipmitool -I lan -H -U shell #### 输入password,进入IPMI交互模式,当然这里也可以把shell直接换成bmc命令, 另外ipmitool支持端口,所以是否可以先做DNA T,然后远程直接管理内网机器.

相关主题
文本预览
相关文档 最新文档