dell免費工具OMSA在dellR610 centos6.1~3上安裝

dell開源工具omsa安裝後可查看硬件信息狀態,硬件報錯等。類似於dell企業版idrac




1.安裝epel源

rpm -ivh http://mirrors.hustunique.com/epel/6/i386/epel-release-6-8.noarch.rpm


2.安裝依賴包

yum install libcmpiCppImpl0 libwsman1 sblim-sfcb sblim-sfcc openwsman-client openwsman-server smbios-utils


3.獲取dell最新yum的rpeo

wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash


4./etc/redhat-release添加redhat標識(rhel系統不用)

sed -i 's/$/ Santiago/' /etc/redhat-release


5.安裝openmanage所有包

yum install srvadmin-all


6.修改openmanage對系統類型的檢查:

sed -i 's/OEM String 1/Vendor/' /opt/dell/srvadmin/sbin/CheckSystemType


7.logout系統再login,運行openmanage(全OK則啓動成功)

/opt/dell/srvadmin/sbin/srvadmin-services.sh start


8.訪問https://yourserver:1311(賬號密碼爲系統root賬號密碼)


9.通過CLI命令顯示硬件信息:

(1)(顯示幫助信息):

/opt/dell/srvadmin/bin/omreport -?


omreport         Reports component properties.


The available command(s) are:


Command          Description

about            Product and version properties.

licenses         Displays the digital licenses of the installed hardware devices.

preferences      Report system preferences.

system           System component properties.

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).


個人以爲這裏主要用到chassis,storage兩個分支

給幾個例子:

查看電源:

omreport chassis pwrmonitoring

Power Consumption Information


Power Consumption

Index             : 1

Status            : Ok

Probe Name        : System Board System Level

Reading           : 77 W

Warning Threshold : 917 W

Failure Threshold : 966 W


Amperage

PS 1 Current : 0.2 A


Power Headroom

System Instantaneous Headroom : 548 W

System Peak Headroom          : 437 W


Power Tracking Statistics

Statistic               : Energy Consumption

Measurement Start Time  : Tue Sep 13 08:26:31 2011

Measurement Finish Time : Mon Mar 10 14:28:25 2014

Reading                 : 386.7 KWh


Statistic              : System Peak Power

Measurement Start Time : Mon Sep  5 10:22:06 2011

Peak Time              : Fri Aug 31 03:41:28 2012

Peak Reading           : 193 W


Statistic              : System Peak Amperage

Measurement Start Time : Mon Sep  5 10:22:06 2011

Peak Time              : Sat Aug 18 09:35:54 2012

Peak Reading           : 0.9 A


查看風扇:

omreport chassis fans

Fan Probes Information


Fan Redundancy

Redundancy Status : Full


Probe List

Index                     : 0

Status                    : Ok

Probe Name                : System Board FAN MOD 1A RPM

Reading                   : 5160 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 1

Status                    : Ok

Probe Name                : System Board FAN MOD 2A RPM

Reading                   : 5280 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 2

Status                    : Ok

Probe Name                : System Board FAN MOD 3A RPM

Reading                   : 5280 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 3

Status                    : Ok

Probe Name                : System Board FAN MOD 4A RPM

Reading                   : 5160 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 4

Status                    : Ok

Probe Name                : System Board FAN MOD 5A RPM

Reading                   : 5280 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 5

Status                    : Ok

Probe Name                : System Board FAN MOD 6A RPM

Reading                   : 5160 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 6

Status                    : Ok

Probe Name                : System Board FAN MOD 1B RPM

Reading                   : 3960 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 7

Status                    : Ok

Probe Name                : System Board FAN MOD 2B RPM

Reading                   : 3960 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 8

Status                    : Ok

Probe Name                : System Board FAN MOD 3B RPM

Reading                   : 3960 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 9

Status                    : Ok

Probe Name                : System Board FAN MOD 4B RPM

Reading                   : 3960 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 10

Status                    : Ok

Probe Name                : System Board FAN MOD 5B RPM

Reading                   : 3840 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


Index                     : 11

Status                    : Ok

Probe Name                : System Board FAN MOD 6B RPM

Reading                   : 3960 RPM

Minimum Warning Threshold : [N/A]

Maximum Warning Threshold : [N/A]

Minimum Failure Threshold : 1920 RPM

Maximum Failure Threshold : [N/A]


查看內存:

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 : 16384  MB

Maximum Capacity   : 196608  MB

Slots Available    : 12

Slots Used         : 4

Error Correction   : Multibit ECC


Total of Memory Array(s)

Total Installed Capacity                     : 16384  MB

Total Installed Capacity Available to the OS : 15934  MB

Total Maximum Capacity                       : 196608  MB


Details of Memory Array 1

Index          : 0

Status         : Ok

Connector Name : DIMM_A1

Type           : DDR3 - Synchronous Registered (Buffered)

Size           : 4096  MB


Index          : 1

Status         : Ok

Connector Name : DIMM_A2

Type           : DDR3 - Synchronous Registered (Buffered)

Size           : 4096  MB


Index          :

Status         : Unknown

Connector Name : DIMM_A3

Type           : [Not Occupied]

Size           :


Index          :

Status         : Unknown

Connector Name : DIMM_A4

Type           : [Not Occupied]

Size           :


Index          :

Status         : Unknown

Connector Name : DIMM_A5

Type           : [Not Occupied]

Size           :


Index          :

Status         : Unknown

Connector Name : DIMM_A6

Type           : [Not Occupied]

Size           :


Index          : 2

Status         : Ok

Connector Name : DIMM_B1

Type           : DDR3 - Synchronous Registered (Buffered)

Size           : 4096  MB


Index          : 3

Status         : Ok

Connector Name : DIMM_B2

Type           : DDR3 - Synchronous Registered (Buffered)

Size           : 4096  MB


Index          :

Status         : Unknown

Connector Name : DIMM_B3

Type           : [Not Occupied]

Size           :


Index          :

Status         : Unknown

Connector Name : DIMM_B4

Type           : [Not Occupied]

Size           :


Index          :

Status         : Unknown

Connector Name : DIMM_B5

Type           : [Not Occupied]

Size           :


Index          :

Status         : Unknown

Connector Name : DIMM_B6

Type           : [Not Occupied]

Size           :


查看cpu:


omreport chassis processors

Processors Information


Health : Ok


Index             : 0

Status            : Ok

Connector Name    : CPU1

Processor Brand   : Intel(R) Xeon(R) CPU           E5645  @ 2.40GHz

Processor Version : Model 44 Stepping 2

Current Speed     : 2400  MHz

State             : Present

Core Count        : 6


Index             : 1

Status            : Ok

Connector Name    : CPU2

Processor Brand   : Intel(R) Xeon(R) CPU           E5645  @ 2.40GHz

Processor Version : Model 44 Stepping 2

Current Speed     : 2400  MHz

State             : Present

Core Count        : 6


查看cmos電池:

omreport chassis batteries

Batteries


Health : Ok


Individual Battery Elements

Index      : 0

Status     : Ok

Probe Name : System Board CMOS Battery

Reading    : Good


查看raid卡:

omreport storage controller

Controller  SAS 6/iR Integrated (Embedded)


Controllers

ID                                            : 0

Status                                        : Ok

Name                                          : SAS 6/iR Integrated

Slot ID                                       : Embedded

State                                         : Ready

Firmware Version                              : 00.25.47.00.06.22.03.00

Latest Available Firmware Version             : Not Applicable

Driver Version                                : 3.04.20

Minimum Required Driver Version               : Not Applicable

Storport Driver Version                       : Not Applicable

Minimum Required Storport Driver Version      : Not Applicable

Number of Connectors                          : 2

Rebuild Rate                                  : Not Applicable

BGI Rate                                      : Not Applicable

Check Consistency Rate                        : Not Applicable

Reconstruct Rate                              : Not Applicable

Alarm State                                   : Not Applicable

Cluster Mode                                  : Not Applicable

SCSI Initiator ID                             : Not Applicable

Cache Memory Size                             : Not Applicable

Patrol Read Mode                              : Not Applicable

Patrol Read State                             : Not Applicable

Patrol Read Rate                              : Not Applicable

Patrol Read Iterations                        : Not Applicable

Abort Check Consistency on Error              : Not Applicable

Allow Revertible Hot Spare and Replace Member : Not Applicable

Load Balance                                  : Not Applicable

Auto Replace Member on Predictive Failure     : Not Applicable

Redundant Path view                           : Not Applicable

CacheCade Capable                             : Not Applicable

Persistent Hot Spare                          : Not Applicable

Encryption Capable                            : Not Applicable

Encryption Key Present                        : Not Applicable

Encryption Mode                               : Not Applicable

Preserved Cache                               : Not Applicable


查看虛擬磁盤:

omreport storage vdisk

List of Virtual Disks in the System


Controller SAS 6/iR Integrated (Embedded)

ID                            : 0

Status                        : Ok

Name                          : Virtual Disk 0

State                         : Ready

Hot Spare Policy violated     : Not Assigned

Encrypted                     : Not Applicable

Layout                        : RAID-1

Size                          : 278.88 GB (299439751168 bytes)

Associated Fluid Cache State  : Not Applicable

Device Name                   : /dev/sda

Bus Protocol                  : SAS

Media                         : HDD

Read Policy                   : Not Applicable

Write Policy                  : Not Applicable

Cache Policy                  : Not Applicable

Stripe Element Size           : Not Applicable

Disk Cache Policy             : Disabled


查看物理磁盤:


omreport storage pdisk controller=0

List of Physical Disks on Controller SAS 6/iR Integrated (Embedded)


Controller SAS 6/iR Integrated (Embedded)

ID                              : 0:0:0

Status                          : Ok

Name                            : Physical Disk 0:0:0

State                           : Online

Power Status                    : Not Applicable

Device Name                     : Not Available

Bus Protocol                    : SAS

Media                           : HDD

Part of Cache Pool              : Not Applicable

Device Life Remaining           : Not Applicable

Remaining Rated Write Endurance : Not Applicable

Failure Predicted               : No

Revision                        : DA07

Driver Version                  : Not Applicable

Model Number                    : Not Applicable

Certified                       : Not Applicable

Encryption Capable              : No

Encrypted                       : Not Applicable

Progress                        : Not Applicable

Mirror Set ID                   : Not Applicable

Capacity                        : 278.88 GB (299439751168 bytes)

Used RAID Disk Space            : 278.88 GB (299439751168 bytes)

Available RAID Disk Space       : 0.00 GB (0 bytes)

Hot Spare                       : No

Vendor ID                       : DELL(tm)

Product ID                      : MBF2300RC

Serial No.                      : EB03PB80BAGA

Part Number                     : PH0740Y77557118K83L4A03

Negotiated Speed                : 3.00 Gbps

Capable Speed                   : 3.00 Gbps

Device Write Cache              : Not Applicable

Manufacture Day                 : 07

Manufacture Week                : 34

Manufacture Year                : 2011

SAS Address                     : 50000393781B0D5E


ID                              : 0:0:1

Status                          : Ok

Name                            : Physical Disk 0:0:1

State                           : Online

Power Status                    : Not Applicable

Device Name                     : Not Available

Bus Protocol                    : SAS

Media                           : HDD

Part of Cache Pool              : Not Applicable

Device Life Remaining           : Not Applicable

Remaining Rated Write Endurance : Not Applicable

Failure Predicted               : No

Revision                        : DA07

Driver Version                  : Not Applicable

Model Number                    : Not Applicable

Certified                       : Not Applicable

Encryption Capable              : No

Encrypted                       : Not Applicable

Progress                        : Not Applicable

Mirror Set ID                   : Not Applicable

Capacity                        : 278.88 GB (299439751168 bytes)

Used RAID Disk Space            : 278.88 GB (299439751168 bytes)

Available RAID Disk Space       : 0.00 GB (0 bytes)

Hot Spare                       : No

Vendor ID                       : DELL(tm)

Product ID                      : MBF2300RC

Serial No.                      : EB03PB80BF26

Part Number                     : PH0740Y77557118K843OA03

Negotiated Speed                : 3.00 Gbps

Capable Speed                   : 3.00 Gbps

Device Write Cache              : Not Applicable

Manufacture Day                 : 07

Manufacture Week                : 34

Manufacture Year                : 2011

SAS Address                     : 500003937820726A




*以上步驟在dellR610,710 系統爲centos6.1~3上成功,dellR620 centos6.4以上時有報錯。暫未找到原因


此文非原創,只是按照官方文檔及谷歌。留作備忘,隨意轉載



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章