Documente Academic
Documente Profesional
Documente Cultură
B D Desmore A z
back to KB list
FIRST PUBLISHED Mar 11th 2013, 7:43:53 pm
SUMMARY
This KB provides examples of using the IPMI tools from a hypervisor perspective. micro-controller and the major component of the IPMI
You can execute all the ipmitool commands from the Controller VM on all the sub-system. BMC has both an ethernet interface and a
directly attached interface to the chipset on the
supported hypervisors, but you must specify the authentication information and
motherboard. Such a conguration allows to access
lanplus specication.
the micro-controller directly (from the hypervisor) or
remotely over LAN (from Controller VM).
Solution
Authentication
KB Feedback
Direct connection from the ESXi host does not require any authentication. For
Feedback
(234 Ratings)
Hyper-V, there are two ways to authenticate: using the username (U) and
password (P) switches or the environment (e) switch. Did this article help you?
This article resolved my issue.
Serial console redirection from the Controller VM requires the username (U) and This article did not resolve my issue.
Helped resolve, but need more information.
password (P) information. It also requires the host (H) and lanplus interface (-I)
to be specied. The lanplus parameter is required to enable the IPMI 2.0 RMPC+ Submit feedback on this article
protocol.
If the username and password are cached in the environment variables, the
environment (E) option can be used instead of (U) and (P) ones.
Submit
Resetting the Password
Please note that all password resets must be done local to the host as this is the
only way to get access to IPMI on that host if you've lost the password. IPMICFG
is a tool available from SuperMicro and works with Linux or Windows machines.
Please be sure to use the directory for the les appropriate to your system
(Linux/Windows/x64/x32).
hostname$ipmitoolusersetpassword2
<password>
AHV/Hyper-V DownloadIPMICFG
(using ipmicfg) hostname\path\to\ipmicfg>ipmicfguser
list
IDNameCallinLinkAuthIPMIMsgChannel
PrivLimit
2ADMINtruefalsefalseUnknown(0x00)
hostname\path\to\ipmicfg>ipmicfg>ipmicfg
usersetpwd2<password>
ESXi /ipmitool
AHV /usr/bin/ipmitool
Feedback
Hyper- C:\ProgramFiles
V (x86)\sourceforge\ipmiutil\ipmiutil.exe
ESXi/AHV ipmitoolCMDOPT/?
Hyper-V ipmitoolCMD?
ESXi/AHV Hyper-V
Feedback
0x0c11 lanportlan1
Failover: Failover:
ipmitoolraw0x300x70 ipmiutilsmcoem
0x0c12 lanportfailover
SettingthelocatorLEDonthenode
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINchassisidentifyforce
Chassisidentifyinterval:indefinite
TurnoffthelocatorLED
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINchassisidentify0
Chassisidentifyinterval:off
SetthelocatorLEDonfor255secondsonly
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINchassisidentify255
Chassisidentifyinterval:255seconds
IPMIstoresinformationintotheSystemEventLog(SEL),SensorDataRecord
Documentation z Support & Forums z Downloads z My Products z
B D Desmore A z
(SDR)repository,andtheFieldReplaceableUnits(FRUs).
SystemEventLog(SEL)
TheBMCcontainsacentral,nonvolatileSELthatcanbeaccessedevenaftera
CPUfailureontheserver,forexamplethroughtheIPMILANaccess.
AseriesofIPMIcommandspermitsreadinganddeletingtheSEL.Sincethe
memoryfortheSELislimited,itmustbeperiodicallycheckedanddeleted,so
thatadditionaleventscanbedocumented.Thefollowingtwoarticlesprovide
additionalinformationregardingthis:
QuerySELevents
nutanix@CVM$ipmitoolH10.128.41.121UADMINPADMINvsellist
1|03/13/2014|02:47:10|PowerSupply#0xc8|Failuredetected|
Asserted
2|03/13/2014|03:20:21|PowerSupply#0xc8|Failuredetected|
Deasserted
3|03/13/2014|04:22:22|PowerSupply#0xc8|Failuredetected|
Asserted
4|03/13/2014|05:33:57|PowerSupply#0xc8|Failuredetected|
Deasserted
Feedback
5|03/13/2014|23:19:20|PowerSupply#0xc8|Failuredetected|
Asserted
6|03/14/2014|02:53:14|PowerSupply#0xc8|Failuredetected|
Deasserted
7|03/18/2014|23:23:35|PowerSupply#0xc8|Failuredetected|
Asserted
8|03/18/2014|23:38:08|PowerSupply#0xc8|Failuredetected|
Deasserted
9|04/06/2014|07:21:53|Memory|CorrectableECC|Asserted|CPU2
DIMM2
QuerySELeventswithadditionalverbosity
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINvsellist
SELRecordID:0001
RecordType:02
Timestamp:03/13/201402:47:10
GeneratorID:0020
EvMRevision:04
SensorType:PowerSupply
SensorNumber:c8
EventType:SensorspecificDiscrete
EventDirection:AssertionEvent
EventData:f1ffff
Description:Failuredetected
Documentation z Support & Forums z Downloads z My Products z
B D Desmore A z
<snip>
ClearingtheSEL
nutanix@CVM$ipmitoolH10.128.41.121UADMINPADMINvselclear
SensorReadings
nutanix@CVM$ipmitoolH10.128.41.121UADMINPADMINsensorlist
CPU1Temp|35.000|degreesC|ok|0.000|0.000
|0.000|95.000|98.000|100.000
CPU2Temp|32.000|degreesC|ok|0.000|0.000
|0.000|95.000|98.000|100.000
SystemTemp|31.000|degreesC|ok|9.000|7.000
|5.000|80.000|85.000|90.000
PeripheralTemp|44.000|degreesC|ok|9.000|7.000
|5.000|80.000|85.000|90.000
PCHTemp|49.000|degreesC|ok|11.000|8.000
|5.000|90.000|95.000|100.000
FAN1|4575.000|RPM|ok|300.000|450.000
|600.000|18975.000|19050.000|19125.000
FAN2|4575.000|RPM|ok|300.000|450.000
|600.000|18975.000|19050.000|19125.000
Feedback
FAN3|5175.000|RPM|ok|300.000|450.000
|600.000|18975.000|19050.000|19125.000
FAN4|5100.000|RPM|ok|300.000|450.000
|600.000|18975.000|19050.000|19125.000
VTT|1.008|Volts|ok|0.816|0.864
|0.912|1.344|1.392|1.440
CPU1Vcore|0.832|Volts|ok|0.480|0.512
|0.544|1.488|1.520|1.552
CPU2Vcore|0.816|Volts|ok|0.480|0.512
|0.544|1.488|1.520|1.552
VDIMMAB|1.488|Volts|ok|1.104|1.152
|1.200|1.648|1.696|1.744
VDIMMCD|1.504|Volts|ok|1.104|1.152
|1.200|1.648|1.696|1.744
VDIMMEF|1.488|Volts|ok|1.104|1.152
|1.200|1.648|1.696|1.744
VDIMMGH|1.504|Volts|ok|1.104|1.152
|1.200|1.648|1.696|1.744
+1.1V|1.104|Volts|ok|0.880|0.928
|0.976|1.216|1.264|1.312
+1.5V|1.488|Volts|ok|1.248|1.296
|1.344|1.648|1.696|1.744
3.3V|3.264|Volts|ok|2.640|2.784
|2.928|3.648|3.792|3.936
+3.3VSB|3.312|Volts|ok|2.640|2.784
|2.928|3.648|3.792|3.936
5V|4.928|Volts|ok|4.096|4.288
Documentation z Support & Forums z Downloads z My Products z
B D Desmore A z
|4.480|5.504|5.696|6.912
+5VSB|5.056|Volts|ok|4.096|4.288
|4.480|5.504|5.696|6.912
12V|12.084|Volts|ok|10.176|10.494
|10.812|13.250|13.568|13.886
VBAT|3.168|Volts|ok|2.400|2.544
|2.688|3.312|3.456|3.600
PS1Status|0x1|discrete|0x0100|na|na
|na|na|na|na
PS2Status|0x1|discrete|0x0100|na|na
|na|na|na|na
SensorReadings,verbosePowerSupplyexample
nutanix@CVM$ipmitoolH10.128.41.121UADMINPADMINvsensorlist|
grepA5PS.*Status
SensorID:PS1Status(0xc8)
EntityID:10.1
SensorType(Discrete):PowerSupply
StatesAsserted:PowerSupply
[Presencedetected]
Feedback
SensorID:PS2Status(0xc9)
EntityID:10.2
SensorType(Discrete):PowerSupply
StatesAsserted:PowerSupply
[Presencedetected]
ResettheBMC(nonimpactingtotheControllerVM,Host,anduserVMs)
**NoteforG4basedsystems:
FA34applieswhichcouldimpacttheControllerVMandhost.Performingthe"/ipmitoolmc
resetcold"isaverylowprobabilitycausefortheG4modelhosttohangwhentheBMCis
manuallyresetwithacoldrestart.ThisissueisfixedbytheBIOS1.5dforthe
G4models(pleaserefertotheFieldAdvisoryfordetails).
NutanixrecommendscustomerswithBIOSolderthanversion
1.5donG4basedsystemsinCriticalenvironmentstomigrateVMsoffthehost
beforeperformingtheIPMIreset.Asafurtherprecaution,theclustershouldalsobe
confirmedtobefaulttolerantforanodebeingdown(DataResiliencyis
displayedasOKonthePrismwebconsolehomepage),beforeproceedinginthis
situation.
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINmcresetcold
SentcoldresetcommandtoMC
Waitatleastoneminutefortheresettocomplete.
Documentation z Support & Forums z Downloads z My Products z
B D Desmore A z
Alternativemethodfortheaboveresetis:
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINraw0x060x02
Again,waitforaminuteforthereset.Ifyouhavebrowseraccess,youcancheckforcompletionbybrowsingtothe
IPMIinterface,orissuea'sellist'commandorsimilartocheckforresponse.
Determinetheserialnumberofthenode:
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINfru
FRUDeviceDescription:BuiltinFRUDevice(ID0)
ChassisType:Other
ChassisPartNumber:CSE827HDR1K62MBP
ChassisSerial:C82700B20M10660
BoardMfgDate:SunDec3115:00:001995
BoardMfg:Supermicro
BoardSerial:ZM139S138653
BoardPartNumber:X9DRTHF+INI22
ProductManufacturer:Nutanix
ProductPartNumber:NX6000
ProductSerial:13SM12340019
Feedback
ProductAssetTag:8339
Resetthehost(hypervisor).Notethatthisisasuddenresetandisnotgraceful
Itishighlyrecommendedthatthisisperformedfromthehost,nottheCVM,tominimizethechanceofresettingthe
wronghost.
/ipmitoolchassispoweroff/cycle/reset
/ipmitoolchassispowerdiag#tosendaNMItothelocal
ESXi(server)
IPMIpolicywhenthepowerisrestored:
Helptext:
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINchassispolicy
chassispolicy<state>
list:returnsupportedpolicies
alwayson:turnonwhenpowerisrestored
previous:returntopreviousstatewhenpoweris
restored
alwaysoff:stayoffafterpowerisrestored
Actualsetting:
Documentation z Support & Forums z Downloads z My Products z
B D Desmore A z
nutanix@CVM$ipmitoolH10.128.41.121UADMINP
ADMINchassispolicylist
Supportedchassispowerpolicy:previous
Troubleshooting;ESX;Hyper V;KVM;Hardware;IPMI;BMC
Product Documentation Open Case AOS (NOS) Installed Base NUTANIX INC. 1740 TECHNOLOGY DR. SUITE 400. SAN JOSE, CA 95110
Knowledge Base View Cases Acropolis Upgrade Paths Licenses TEL: (855)-688-2649 EXT. 3 I REGIONAL TOLL FREE NUMBERS
Solutions Documentation .NEXT Forums Hypervisor Details
EOL Information Terms & Conditions Prism Central
Field Advisories Tools & Firmware
Training Foundation
Security Advisories
Compatibility Matrix
Feedback