ipmitool工具常用命令汇总情况.docx

上传人:b****9 文档编号:25124860 上传时间:2023-06-05 格式:DOCX 页数:22 大小:21.81KB
下载 相关 举报
ipmitool工具常用命令汇总情况.docx_第1页
第1页 / 共22页
ipmitool工具常用命令汇总情况.docx_第2页
第2页 / 共22页
ipmitool工具常用命令汇总情况.docx_第3页
第3页 / 共22页
ipmitool工具常用命令汇总情况.docx_第4页
第4页 / 共22页
ipmitool工具常用命令汇总情况.docx_第5页
第5页 / 共22页
点击查看更多>>
下载资源
资源描述

ipmitool工具常用命令汇总情况.docx

《ipmitool工具常用命令汇总情况.docx》由会员分享,可在线阅读,更多相关《ipmitool工具常用命令汇总情况.docx(22页珍藏版)》请在冰豆网上搜索。

ipmitool工具常用命令汇总情况.docx

ipmitool工具常用命令汇总情况

ipmitool工具常用命令汇总

 

 

yuminstall-yOpenIPMIipmitool

开启服务

 

[rootcell83~]#ipmitool-V

 

明细的命令参考manipmitool

或者附件

[rootcell83~]#ipmitool-h

 

usage:

ipmitool[options...]

-hThishelp

-VShowversioninformation

-vVerbose(canusemultipletimes)

-cDisplayoutputinmaseparatedformat

-dNSpecifya/dev/ipmiNdevicetouse(default=0)

-IintfInterfacetouse

-HhostnameRemotehostnameforLANinterface

-pportRemoteRMCPport[default=623]

-UusernameRemotesessionusername

-ffileReadremotesessionpasswordfromfile

-zsizeChangeSizeofmunicationChannel(OEM)

-SsdrUselocalfileforremoteSDRcache

-Dtty:

b[:

s]Specifytheserialdevice,baudratetouse

and,optionally,specifythatinterfaceisthesystemone

-4UseonlyIPv4

-6UseonlyIPv6

-aPromptforremotepassword

-YPromptfortheKgkeyforIPMIv2authentication

-echarSetSOLescapecharacter

-CciphersuiteCiphersuitetobeusedbylanplusinterface

-kkeyUseKgkeyforIPMIv2authentication

-yhex_keyUsehexadecimal-encodedKgkeyforIPMIv2authentication

-LlevelRemotesessionprivilegelevel[default=ADMINISTRATOR]

Appenda'+'tousename/privilegelookupinRAKP1

-AauthtypeForceuseofauthtypeNONE,PASSWORD,MD2,MD5orOEM

-PpasswordRemotesessionpassword

-EReadpasswordfromIPMI_PASSWORDenvironmentvariable

-KReadkgkeyfromIPMI_KGKEYenvironmentvariable

-maddressSetlocalIPMBaddress

-bchannelSetdestinationchannelforbridgedrequest

-taddressBridgerequesttoremotetargetaddress

-BchannelSettransitchannelforbridgedrequest(dualbridge)

-TaddressSettransitaddressforbridgerequest(dualbridge)

-llunSetdestinationlunforrawmands

-ooemtypeSetupforOEM(use'list'toseeavailableOEMtypes)

-OseloemUsefileforOEMSELeventdescriptions

-NsecondsSpecifytimeoutforlan[default=2]/lanplus[default=1]interface

-RretrySetthenumberofretriesforlan/lanplusinterface[default=4]

Interfaces:

openLinuxOpenIPMIInterface[default]

imbIntelIMBInterface

lanIPMIv1.5LANInterface

lanplusIPMIv2.0RMCP+LANInterface

serial-terminalSerialInterface,TerminalMode

serial-basicSerialInterface,BasicMode

usbIPMIUSBInterface(OEMInterfaceforAMIDevices)

mands:

rawSendaRAWIPMIrequestandprintresponse

i2cSendanI2CMasterWrite-Readmandandprintresponse

spdPrintSPDinfofromremoteI2Cdevice

lanConfigureLANChannels

chassisGetchassisstatusandsetpowerstate

powerShortcuttochassispowermands

eventSendpre-definedeventstoMC

mcManagementControllerstatusandglobalenables

sdrPrintSensorDataRepositoryentriesandreadings

sensorPrintdetailedsensorinformation

fruPrintbuilt-inFRUandscanSDRforFRUlocators

gendevRead/WriteDeviceassociatedwithGenericDevicelocatorssdr

selPrintSystemEventLog(SEL)

pefConfigurePlatformEventFiltering(PEF)

solConfigureandconnectIPMIv2.0Serial-over-LAN

tsolConfigureandconnectwithTyanIPMIv1.5Serial-over-LAN

isolConfigureIPMIv1.5Serial-over-LAN

userConfigureManagementControllerusers

channelConfigureManagementControllerchannels

sessionPrintsessioninformation

dcmiDataCenterManagementInterface

nmNodeManagerInterface

sunoemOEMmandsforSunservers

kontronoemOEMmandsforKontrondevices

picmgRunaPICMG/ATCAextendedcmd

fwumUpdateIPMCusingKontronOEMFirmwareUpdateManager

firewallConfigureFirmwareFirewall

delloemOEMmandsforDellsystems

shellLaunchinteractiveIPMIshell

execRunlistofmandsfromfile

setSetruntimevariableforshellandexec

hpmUpdateHPMponentsusingPICMGHPM.1file

ekanalyzerrunFRU-EkeyinganalyzerusingFRUfiles

imeUpdateIntelManageabilityEngineFirmware

vitaRunaVITA46.11extendedcmd

lan6ConfigureIPv6LANChannels

 

[rootcell83~]#ipmitool-Iopenlanprint

[rootcell83~]#ipmitool-Iopenlanprint|grepIP

IPAddressSource:

StaticAddress

IPHeader:

TTL=0x40Flags=0x40Precedence=0x00TOS=0x10

 

[rootcell83~]#ipmitool-Iopenchassishelp

Chassismands:

status,power,identify,policy,restart_cause,poh,bootdev,bootparam,selftest

[rootcell83~]#ipmitool-Iopenchassisstatus

SystemPower:

on

PowerOverload:

false

PowerInterlock:

inactive

MainPowerFault:

false

PowerControlFault:

false

PowerRestorePolicy:

previous

LastPowerEvent:

ChassisIntrusion:

inactive

Front-PanelLockout:

inactive

DriveFault:

false

Cooling/FanFault:

false

SleepButtonDisable:

notallowed

DiagButtonDisable:

allowed

ResetButtonDisable:

notallowed

PowerButtonDisable:

allowed

SleepButtonDisabled:

false

DiagButtonDisabled:

true

ResetButtonDisabled:

false

PowerButtonDisabled:

false

查看当前电源状态

[rootcell83~]#ipmitool-Iopenchassispowerstatus

ChassisPowerison

打开电源

ipmitool-Iopenchassispoweron

关闭电源

ipmitool-Iopenchassispoweroff

重启电源

ipmitool-Iopenchassispowercycle

重置电源

ipmitool-Iopenchassispowerreset

其他配置

ipmitool-Iopenchassispowerdiag

ipmitool-Iopenchassispowersoft

查询时间间隔:

[rootcell83~]#ipmitool-Iopenchassisidentify

Chassisidentifyinterval:

default(15seconds)

设置时间间隔:

[rootcell83~]#ipmitool-Iopenchassisidentifyhelp

chassisidentify

defaultis15seconds

0toturnoff

forcetoturnonindefinitely

[rootcell83~]#ipmitool-Iopenchassispolicyhelp

chassispolicy

list:

returnsupportedpolicies

always-on:

turnonwhenpowerisrestored

previous:

returntopreviousstatewhenpowerisrestored

always-off:

stayoffafterpowerisrestored

[rootcell83~]#ipmitool-Iopenchassisrestart_cause

Systemrestartcause:

unknown

[rootcell83~]#ipmitool-Iopenchassispoh

GetChassisPower-On-Hoursfailed:

Invalidmand

[rootcell83~]#ipmitool-Iopenchassisbootdevhelp

bootdev[clear-cmos=yes|no]

bootdev[options=help,...]

none:

Donotchangebootdeviceorder

pxe:

ForcePXEboot

disk:

ForcebootfromdefaultHard-drive

safe:

ForcebootfromdefaultHard-drive,requestSafeMode

diag:

ForcebootfromDiagnosticPartition

cdrom:

ForcebootfromCD/DVD

bios:

ForcebootintoBIOSSetup

floppy:

ForcebootfromFloppy/primaryremovablemedia

[rootcell83~]#ipmitool-Iopenchassisbootparamhelp

bootparamget

bootparamsetbootflag[options=...]

Legaldevicesare:

none:

Nooverride

force_pxe:

ForcePXEboot

force_disk:

ForcebootfromdefaultHard-drive

force_safe:

ForcebootfromdefaultHard-drive,requestSafeMode

force_diag:

ForcebootfromDiagnosticPartition

force_cdrom:

ForcebootfromCD/DVD

force_bios:

ForcebootintoBIOSSetup

Legaloptionsare:

help:

printthismessage

PEF:

Clearvalidbitonreset/powercyclecausebyPEF

timeout:

Automaticallyclearbootflagvalidbitontimeout

watchdog:

Clearvalidbitonreset/powercyclecausebywatchdog

reset:

Clearvalidbitonpushbuttonreset/softreset

power:

Clearvalidbitonpowerupviapowerpushbuttonorwakeevent

AnyOptionmaybeprependedwithno-toinvertsenseofoperation

 

查看帮助

[rootcell83~]#ipmitool-Iopendelloemhelp

usage:

delloem[option...]

mands:

lcd

mac

lan

setled

powermonitor

vFlash

Forhelponindividualmandstype:

delloemhelp

[rootcell83~]#ipmitool-Iopendelloemlcdhelp

GenericDELLHW:

lcdset{none}|{default}|{custom}

SetLCDtextdisplayedduringnon-faultconditions

iDRAC11goriDRAC12goriDRAC13g:

lcdset{mode}|{lcdqualifier}|{errordisplay}

AllowsyoutosettheLCDmodeanduser-definedstring.

lcdsetmode{none}|{modelname}|{ipv4address}|{macaddress}|

{systemname}|{servicetag}|{ipv6address}|{ambienttemp}

{systemwatt}|{assettag}|{userdefined}

AllowsyoutosettheLCDdisplaymodetoanyofthepreceding

parameters

lcdsetlcdqualifier{watt}|{btuphr}|{celsius}|{fahrenheit}

Allowsyoutosettheunitforthesystemambienttemperaturemode.

lcdseterrordisplay{sel}|{simple}

Allowsyoutosettheerrordisplay.

lcdinfo

ShowLCDtextthatisdisplayedduringnon-faultconditions

 

lcdsetvkvm{active}|{inactive}

SetvKVMactiveandinactive,messagewillbedisplayedonlcd

whenvKVMisactiveandvKVMsessionisinprogress

lcdsetfrontpanelaccess{viewandmodify}|{viewonly}|{disabled}

SetLCDmodetoviewandmodify,viewonlyordisabled

lcdstatus

ShowLCDStatusforvKVMdisplay

andFrontPanelaccessmode{viewandmodify}|{viewonly}|{disabled}

[rootcell83~]#ipmitool-Iopendelloemmachelp

maclist

ListstheMACaddressofLOMs

macget

ShowstheMACaddressofspecifiedLOM.0-7SystemLOM,8-DRAC/iDRAC.

 

[rootcell83~]#ipmitool-Iopendelloemmaclist

SystemLOMs

NICNumberMACAddressStatus

0b8:

2a:

72:

db:

56:

2aEnabled

1b8:

2a:

72:

db:

56:

2bEnabled

2b8:

2a:

72:

db:

56:

28Enabled

3b8:

2a:

72:

db:

56:

29Enabled

iDRAC7MACAddressb0:

83:

fe:

c9:

6d:

31

[rootcell83~]#ipmitool-Iopendelloemlanhelp

lanset

setstheNICSelectionMode:

oniDRAC12gORiDRAC13g:

dedicated,sharedwithlom1,sharedwithlom2,sharedwithlom3,shared

withlom4,sharedwithfailoverlom1,sharedwithfailoverlom2,shared

withfailoverlom3,sharedwithfailoverlom4,sharedwithFailoverall

loms,sharedwithFailoverNone).

onothersystems:

dedicated,shared,sharedwithfailoverlom2,

sharedwithFailoverallloms.

langet

oniDRAC12goriDRAC13g:

returnsthecurrentNICSelectionMode(dedicated,sharedwithlom1,shared

withlom2,sharedwithlom3,sharedwithlom4,sharedwithfailoverlom1,

shared

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1