《ipmitool工具常用命令汇总》由会员分享,可在线阅读,更多相关《ipmitool工具常用命令汇总(22页珍藏版)》请在金锄头文库上搜索。
1、ipmitool工具常用命令汇总目录1.工具的安装32.命令的help33.查看管理口的IP地址54.管理底盘chassis配置64.1查看底盘配置汇总64.2管理电源64.3管理时间间隔74.4管理电源恢复策略74.5查看上次重启原因74.6查询上电时间84.7管理启动项84.8设置启动项的参数85.使用delloem进行管理95.1配置lcd95.2查看MAC地址105.3设置lan的模式115.4设置背板led的状态11整理为word格式5.5管理电源监控126.查看传感器数据sensor126.1查看当前系统所有的传感器数据136.2设置传感器的告警阈值136.3查看某一传感器的状态信
2、息136.4查看某一个传感器的当前值147.管理传感器仓库sdr147.1查看传感器仓库中的信息列表157.2查看传感器的类型和指定类型的数据167.3查看指定传感器的配置信息177.4查看传感器仓库sdr的配置信息178.查看系统事件sel日志188.1查看sel的状态信息188.2查看sel的中的日志信息18整理为word格式1.工具的安装yum install -y OpenIPMI ipmitool开启服务/etc/init.d/ipmi status/etc/init.d/ipmi startrootcell83 # ipmitool -Vipmitool version 1.8.1
3、82.命令的help明细的命令参考man ipmitool或者附件ipmitool.helprootcell83 # ipmitool -hipmitool version 1.8.18usage: 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 I
4、nterface 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
5、serial device, baud rate to use and, optionally, specify that interface is the system one -4 Use only IPv4 -6 Use only IPv6整理为word格式 -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 int
6、erface -k key Use Kg key for IPMIv2 authentication -y hex_key Use hexadecimal-encoded Kg key for IPMIv2 authentication -L level Remote session privilege level default=ADMINISTRATOR Append a + to use name/privilege lookup in RAKP1 -A authtype Force use of auth type NONE, PASSWORD, MD2, MD5 or OEM -P
7、password Remote session password -E Read password from IPMI_PASSWORD environment variable -K Read kgkey from IPMI_KGKEY environment variable -m address Set local IPMB address -b channel Set destination channel for bridged request -t address Bridge request to remote target address -B channel Set tran
8、sit channel for bridged request (dual bridge) -T address Set transit address for bridge request (dual bridge) -l lun Set destination lun for raw commands -o oemtype Setup for OEM (use list to see available OEM types) -O seloem Use file for OEM SEL event descriptions -N seconds Specify timeout for la
9、n default=2 / lanplus default=1 interface -R retry Set the number of retries for lan/lanplus interface default=4Interfaces:open Linux OpenIPMI Interface defaultimb Intel IMB Interface lan IPMI v1.5 LAN Interface lanplus IPMI v2.0 RMCP+ LAN Interface serial-terminal Serial Interface, Terminal Mode se
10、rial-basic Serial Interface, Basic Mode usb IPMI USB Interface(OEM Interface for AMI Devices) Commands:raw Send a RAW IPMI request and print responsei2c Send an I2C Master Write-Read command and print responsespd Print SPD info from remote I2C devicelan Configure LAN Channelschassis Get chassis stat
11、us and set power statepower Shortcut to chassis power commandsevent Send pre-defined events to MCmc Management Controller status and global enablessdr Print Sensor Data Repository entries and readings整理为word格式sensor Print detailed sensor informationfru Print built-in FRU and scan SDR for FRU locator
12、sgendev Read/Write Device associated with Generic Device locators sdrsel Print System Event Log (SEL)pef Configure Platform Event Filtering (PEF)sol Configure and connect IPMIv2.0 Serial-over-LANtsol Configure and connect with Tyan IPMIv1.5 Serial-over-LANisol Configure IPMIv1.5 Serial-over-LANuser Configure Management Controller userschannel Configure Management Controller channelssession Print session informationdcmi Data Center Management Interfacenm Node Manager Interfacesunoem OEM Commands for Sun serverskontronoem OEM Commands for Kontron devices