OMSA installation
wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash yum install -y net-snmp net-snmp-devel net-snmp-utils wget perl OpenIPMI yum -y install srvadmin-all #安装路径:/opt/dell/srvadmin/ /opt/dell/srvadmin/sbin/srvadmin-services.sh start #启动OMSA ln -s /opt/dell/srvadmin/bin/omreport /usr/local/bin/
Alternate address
official website
Dell server hardware using omreport view information
First, Command Guide
omreport chassis # display the general status of all major components omreport chassis memory # Display memory information omreport chassis temps # temperature of the display main components of the system omreport storage adisk controller = 0 # Check the disk array disk state omreport storage pdisk controller = 0 # view Physics disk information omreport storage vdisk controller = View virtual disk status to # 0 the omreport # View the controller Storage controller (ie RAID card) property omreport storage enclosure controller = 0 # view the enclosure of the property omreport storage battery # battery properties View
It can also be used as such a good segmentation data when writing the script: omreport chassis info -fmt ssv
-fmt ssv
Example:
[root@localhost wcy]# omreport chassis info -fmt ssv Chassis Information Index;0 Chassis Name;Main System Chassis Host Name;localhost.localdomain iDRAC7 Version;1.40.40 (Build 17) Lifecycle Controller 2 Version;1.1.5.165 Chassis Model;PowerEdge R420 Chassis Lock;Present Chassis Service Tag;6X8QZY1 Express Service Code;15070774393 Chassis Asset Tag;Unknown Flash chassis identify LED state;Off Flash chassis identify LED timeout value;300 [root@localhost wcy]# omreport chassis info Chassis Information Index : 0 Chassis Name : Main System Chassis Host Name : localhost.localdomain iDRAC7 Version : 1.40.40 (Build 17) Lifecycle Controller 2 Version : 1.1.5.165 Chassis Model : PowerEdge R420 Chassis Lock : Present Chassis Service Tag : 6X8QZY1 Express Service Code : 15070774393 Chassis Asset Tag : Unknown Flash chassis identify LED state : Off Flash chassis identify LED timeout value : 300
Second, the sample command
1. System Summary Information
Chassis Model # server model
express service code # Express Service Code (available during the warranty in the official website server time)
Chassis Service Tag Service Tag #
[root@zeping ~]# omreport chassis info Chassis Information Index : 0 Chassis Name : Main System Chassis Host Name : zeping.linuxhub.cn iDRAC7 Version : 1.40.40 (Build 17) Lifecycle Controller 2 Version : 1.1.5.165 Chassis Model : PowerEdge R720 Chassis Lock : Present Chassis Service Tag : 4TMMGY1 Express Service Code : 10498648393 Chassis Asset Tag : Unknown Flash chassis identify LED state : Off Flash chassis identify LED timeout value : 300
2. Display virtual disk information (array information)
Status # Status array
layout of array # card type
Size # space array
bus protocol # bus protocol
Media Media #
[root@zeping ~]# omreport storage vdisk List of Virtual Disks in the System Controller PERC H710 Mini (Embedded) ID : 0 Status : Ok Name : Virtual Disk0 State : Ready Hot Spare Policy violated : Not Assigned Encrypted : No Layout : RAID-5 Size : 11,176.50 GB (12000675495936 bytes) T10 Protection Information Status : No Associated Fluid Cache State : Not Applicable Device Name : /dev/sda Bus Protocol : SAS Media : HDD Read Policy : Adaptive Read Ahead Write Policy : Write Back Cache Policy : Not Applicable Stripe Element Size : 64 KB Disk Cache Policy : Disabled
3. Review the physical disk information
Vendor ID # Vendor ID
Product Code # disk ID
Serial # Serial Number
Part Number Part number
Revision # Revision
manufacturing date # disk was manufactured (Japan)
Manufacturing Week # disk was manufactured (week)
manufactured in # disk was manufactured (year)
capacity # disk capacity
has been used with RAID disk space # RAID disk space
available disk space RAID # RAID disk space available
sector size sector size #
hot spare # whether hot backup
bus protocol # bus protocol
media # media
negotiation speed # negotiate the speed
has the ability to support fast speed #
[root@zeping ~]# omreport storage controller controller=0 #ID等于0的连接器 ID : 0:1:0 Status : Ok Name : Physical Disk 0:1:1 State : Online Power Status : Spun Up Bus Protocol : SAS Media : HDD Part of Cache Pool : Not Applicable Remaining Rated Write Endurance : Not Applicable Failure Predicted : No Revision : MS05 Driver Version : Not Applicable Model Number : Not Applicable T10 PI Capable : No Certified : Yes Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 3,725.50 GB (4000225165312 bytes) Used RAID Disk Space : 3,725.50 GB (4000225165312 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST4000NM0005 Serial No. : Z4C04CQ7 Part Number : TH0XWM1W2123363I02P9A00 Negotiated Speed : 6.00 Gbps Capable Speed : 6.00 Gbps PCIe Negotiated Link Width : Not Applicable PCIe Maximum Link Width : Not Applicable Sector Size : 512B Device Write Cache : Not Applicable Manufacture Day : 07 Manufacture Week : 11 Manufacture Year : 2016 SAS Address : 5000C500853BD529 Non-RAID HDD Disk Cache Policy : Not Applicable Disk Cache Policy : Not Applicable Form Factor : Not Available Sub Vendor : Not Available
4. The temperature of the main components of the display system
# Current temperature readings
minimum warning threshold Warning threshold minimum temperature #
Maximum Warning Threshold Warning Threshold # maximum temperature
minimum threshold value # fault fault threshold minimum temperature
maximum failure threshold maximum temperature fault threshold #
[root@zeping ~]# omreport chassis temps Temperature Probes Information ------------------------------------ Main System Chassis Temperatures: Ok ------------------------------------ Index : 0 Status : Ok Probe Name : System Board Inlet Temp Reading : 29.0 C Minimum Warning Threshold : 3.0 C Maximum Warning Threshold : 42.0 C Minimum Failure Threshold : -7.0 C Maximum Failure Threshold : 47.0 C
The memory slots info
Installed Capacity Installed Capacity #
maximum capacity # maximum capacity
available operating systems OS # total installed available total installed capacity of the
available slots # available slots
using the slot # of the slot with the
connection connector name # memory devices on
the type of memory # type
size single memory size #
[root@zeping ~]# omreport chassis memory Memory Information Health : Ok Attributes of Memory Array(s) Attributes of Memory Array(s) Location : System Board or Motherboard Use : System Memory Installed Capacity : 65536 MB Maximum Capacity : 786432 MB Slots Available : 24 Slots Used : 8 Error Correction : Multibit ECC Total of Memory Array(s) Total Installed Capacity : 65536 MB Total Installed Capacity Available to the OS : 64575 MB Total Maximum Capacity : 786432 MB Details of Memory Array 1 Index : 0 Status : Ok Connector Name : DIMM_A1 Type : DDR3 - Synchronous Registered (Buffered) Size : 8192 MB
6.CPU processor information
Processor Brand # processor brand
Processor Version # processor version
of the current speed of the current speed #
Core # of cores
[root@zeping ~]# omreport chassis processors Processors Information Health : Ok Index : 0 Status : Ok Connector Name : CPU1 Processor Brand : Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz Processor Version : Model 45 Stepping 7 Current Speed : 2000 MHz State : Present Core Count : 6
7.CPU processor details
# 64 support 64-bit support for
Hyper-Threading (HT) # Hyper-Threading (HT)
Virtualization Technology (VT) # Virtualization Technology (VT)
switching demand (DBS) demand-based switching technology # (DBS)
[root@zeping ~]# omreport chassis pwrsupplies Power Supplies Information Power Supply Redundancy Redundancy Status : Full Individual Power Supply Elements Index : 0 Status : Ok Location : PS1 Status Type : AC Rated Input Wattage : 900 W Maximum Output Wattage : 750 W Firmware Version : 69.45.99 Online Status : Presence Detected Power Monitoring Capable : Yes
8. The power supply device information
Rated input power rated input # Watt
maximum output power maximum output wattage #
[root@zeping ~]# omreport chassis pwrsupplies Power Supplies Information Power Supply Redundancy Redundancy Status : Full Individual Power Supply Elements Index : 0 Status : Ok Location : PS1 Status Type : AC Rated Input Wattage : 900 W Maximum Output Wattage : 750 W Firmware Version : 69.45.99 Online Status : Presence Detected Power Monitoring Capable : Yes
9. Power Management
# Read current power
warning threshold # warning threshold power
failure threshold # threshold power failure
Power Headroom # power headroom
System Instant Skroom # of instantaneous clearance
System Peak Headroom # system peak headroom
[root@zeping ~]# omreport chassis pwrmonitoring Power Consumption Information Power Consumption Index : 2 Status : Ok Probe Name : System Board Pwr Consumption Reading : 126 W Warning Threshold : 896 W Failure Threshold : 980 W Amperage PS1 Current 1 : 0.2 A PS2 Current 2 : 0.0 A Power Headroom System Instantaneous Headroom : 756 W System Peak Headroom : 613 W Power Tracking Statistics Statistic : Energy Consumption Measurement Start Time : Wed Jul 10 01:37:33 2013 Measurement Finish Time : Fri Jul 8 09:27:41 2016 Reading : 2981.0 kWh Statistic : System Peak Power Measurement Start Time : Wed Jul 10 01:37:33 2013 Peak Time : Fri Jul 19 10:32:15 2013 Peak Reading : 287 W Statistic : System Peak Amperage Measurement Start Time : Wed Jul 10 01:37:33 2013 Peak Time : Sat Jan 11 07:35:38 2014 Peak Reading : 6.1 A
10. The information detector fan
# Read current fan speed (rev / min)
minimum fault Fault Threshold Threshold Minimum # (r / min)
[root@zeping ~]# omreport chassis fans Fan Probes Information Fan Redundancy Redundancy Status : Full Probe List Index : 0 Status : Ok Probe Name : System Board Fan1 RPM Reading : 3960 RPM Minimum Warning Threshold : 840 RPM Maximum Warning Threshold : [N/A] Minimum Failure Threshold : 600 RPM Maximum Failure Threshold : [N/A]
11. Hardware Log
omreport system esmlog # hardware log omreport system alertlog # alert log omreport system alertaction # View Alert Actions are configured for warning and failure events on your system components Summary
View another
// memory # as Free -m # CAT / proc / meminfo # dmidecode -t Memory // CPU # lscpu # CAT / proc / cpuinfo # dmidecode -t Processor # dmidecode | grep "CPU" // get CPU information // hard disk # -lhP df # lsblk # fdisk the -l # dmesg | grep SD // view the information inside the boot disk info # hdparm the -I / dev / sda // Check disk hardware information, open the function, in particular, detailed information [hdparm need yum installation] # smartctl -H / dev / sda // Check hard Drive health # smartctl --all / dev / sda // [smartctl need to use yum install] # smartctl -h // there are many useful parameters // card lspci # | grep -i eth # ifconfig -a # ip Link show # ethtool eth0 eth0 // display the card of detailed parameters and indicators // system information # dmidecode -t system Dmidecode # | grep "Product" # dmidecode | grep "Manufacturer" // get vendors # dmidecode | grep -B 4 "SerialNumber " | more // get the serial number information # dmidecode | grep "Date" // get the production date // dmesg there are a lot of information and dmidecode, it covers all hardware information. // motherboard # lspci // the BIOS # dmidecode -t the BIOS # dmidecode -q // list all the useful information // RAID information # lspci | grep RAID // lists the RAID card information # megacli64 // need to install