NEC Express5800/R120b-2 Guide de l'utilisateur Page 543

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 556
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 542
Appendix I
Accessing Power and Performance Data
This chapter describes how to collect the power and performance data, including power
consumption, inlet air temperature, and processor utilization of NEC Express server in usual
operation. These are defined in ENERGY STAR® Program Requirements for Computer Servers
and must be available to users.
The sample program shown below is verified to be run normally on Windows Server® 2008
Enterprise 32bit (x86) Edition.
POWER CONSUMPTION
Run the following commands to access power consumption readings on BMC (Baseboard
Management Controller) via IPMI (Intelligen Platform Management Interface).
Network Function Code: 3Eh (Controller-specific OEM)
Command Code: 0Bh (Get Current Sensor Data)
Shown below is a sample file created by Visual Basic Script (e.g. Power.vbs).
' Start Script
Option Explicit
' Prepare for IPMI Driver
Dim osvc, oclass
Dim oinstance, oipmi
set osvc = getobject("winmgmts:root\wmi")
set oclass = osvc.get("microsoft_ipmi")
for each oinstance in osvc.instancesof("microsoft_ipmi")
set oipmi = oinstance
next
'Format the IPMI command request
Dim oinparams
set oinparams = oclass.methods_("requestresponse").inparameters
oinparams.networkfunction = &h3e ‘ OEM NetworkFunction
oinparams.lun = 0
oinparams.responderaddress = &h20
oinparams.command = &h0b Get Current Sensor Data Command
oinparams.requestdatasize = 0
Vue de la page 542
1 2 ... 538 539 540 541 542 543 544 545 546 547 548 ... 555 556

Commentaires sur ces manuels

Pas de commentaire