Hard LINUX
De DocUnix.
Commande Générique d'accès aux BIOS
dmidecode | pg
Materiel Dell
Dell fournit un outil nommé omreport qui permet de déterminer le matériel installé dans le serveur : L'aide de la commande fournit l'écran suivant :
$ omreport -?
omreport Reports component properties.
The available command(s) are:
Command Description
about Product and version properties.
system System component properties.
rac Command not supported. Use the racadm utility.
chassis Chassis component properties.
storage Display storage component properties.
Usage: omreport <command...> [name=value...] ... [option...]
Valid command line options are:
-? Print available command(s) or command help.
-fmt <lst|tbl|ssv|cdv|xml> Format for output results, default is lst.
Where: lst List format.
tbl Table format.
ssv Semicolon separated format.
cdv Custom delimiter separated format.
xml Raw XML format.
-outc <file> Redirect output to file, delete old if exists.
OR
-outa <file> Redirect output to file, append to old if exists.
OR
Output may also be redirected using Operating System facilities (e.g. |more).
Par exemple pour obtenir la configuration matériel :
$ omreport system summary
System Summary
------------------
Software Profile
------------------
Systems Management
Name : Server Administrator
Version : x.y.z
Description : Systems Management Software
Contains : Data Engine x.y.z
: Hardware Application Programming Interface x.y.z
: Instrumentation Service x.y.z
: Instrumentation Service Integration Layer x.y.z
: OS Specific Authentication files x.y.z
: OpenManage Inventory Collector x.y.z
: Operating System Specific WSMan Client Package x.y.z
: RAC Command Interface x.y.z
: RAC Integration Layer x.y.z
: Remote Access Card Data Populator x.y.z
: Secure Port Server x.y.z
: Server Administrator Common Framework x.y.z
: Server Administrator Core files x.y.z
: Server Administrator Install Core (subscription) x.y.z
: Storage Management x.y.z
: Sun Java Runtime Environment x.y.z
Operating System
Name : Red Hat -----------------------------
Version : release -----------------------------
System Time : Thu Dec 2 13:37:13 2010
System Bootup Time : Fri Nov 13 11:17:53 2010
--------
System
--------
System
Host Name : hostname
System Location : Please set the value
Life Cycle Controller : Enabled
---------------------
Main System Chassis
---------------------
Chassis Information
Chassis Model : PowerEdge xxxx
Chassis Service Tag : xxxxxxxx
Chassis Lock : Present
Chassis Asset Tag :
Remote Access Information
Remote Access Device : iDRACx
vFlash Media : Absent
Processor 1
Processor Brand : Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
Processor Version : Model 26 Stepping 5
Voltage : 1200 mV
Processor 2
Processor Brand : Intel(R) Xeon(R) CPU E5540 @ 2.53GHz
Processor Version : Model 26 Stepping 5
Voltage : 1200 mV
Memory
Total Installed Capacity : 16384 MB
Memory Available to the OS : 15916 MB
Total Maximum Capacity : 196608 MB
Memory Array Count : 1
Memory Array 1
Location : System Board or Motherboard
Use : System Memory
Installed Capacity : 16384 MB
Maximum Capacity : 196608 MB
Slots Available : 18
Slots Used : 8
ECC Type : Multibit ECC
Slot PCI1
Adapter : [Not Occupied]
Type : PCI E Gen 2 X8
Data Bus Width : 4x or x4
Speed : [Not Obtained, see card documentation]
Slot Length : Long
Voltage Supply : 3.3 Volts
Slot PCI2
Adapter : [Not Occupied]
Type : PCI E Gen 2 X8
Data Bus Width : 4x or x4
Speed : [Not Obtained, see card documentation]
Slot Length : Long
Voltage Supply : 3.3 Volts
Slot PCI3
Adapter : [Not Occupied]
Type : PCI E Gen 2
Data Bus Width : 8x or x8
Speed : [Not Obtained, see card documentation]
Slot Length : Long
Voltage Supply : 3.3 Volts
Slot PCI4
Adapter : [Not Occupied]
Type : PCI E Gen 2
Data Bus Width : 8x or x8
Speed : [Not Obtained, see card documentation]
Slot Length : Long
Voltage Supply : 3.3 Volts
BIOS Information
Manufacturer : Dell Inc.
Version : x.y.z
Release Date : MM/DD/YYYY
Firmware Information
Name : iDRACx
Version : x.yy
--------------------------
Remote Access Controller
--------------------------
Remote Access Controller Information
Product : iDRACx
IP Address : zzz.zzz.zzz.zzz
IP Subnet : zzz.zzz.zzz.zzz
IP Gateway : zzz.zzz.zzz.zzz
IPv6 Address 1 : ::
IPv6 Address 2 : ::
IPv6 Gateway : ::
--------------
Network Data
--------------
Network Interface 0
IP Address : yyy.yyy.yyy.yyy
Subnet Mask : yyy.yyy.yyy.yyy
Default Gateway : yyy.yyy.yyy.yyy
MAC Address : xx:xx:xx:xx:xx:xx
Network Interface 1
IP Address : [No Value]
MAC Address : xx:xx:xx:xx:xx:xx
Network Interface 2
IP Address : [No Value]
MAC Address : xx:xx:xx:xx:xx:xx
Network Interface 3
IP Address : [No Value]
MAC Address : xx:xx:xx:xx:xx:xx
--------------------
Storage Enclosures
--------------------
Storage Enclosures
Name : Backplane
Service Tag : xxxxxxx
D'autres options sont possibles comme :
#log System Summary omreport system summary #log Server Info omreport chassis info #log BIOS Setup omreport chassis bios omreport chassis biossetup #log BMC Info omreport chassis bmc #log Slots Info omreport chassis slots #log Sorage Info omreport storage controller omreport storage vdisk

