当前位置:   article > 正文

linux查看spare盘的数量,戴尔Dell服务器使用OMSA软件omreport查看硬件信息|磁盘阵列健康监控...

linux查看dell服务器

Dell服务器使用omreport查看硬件信息

一.命令指南

1

2

3

4

5

6

7

8

9

omreportchassis# 显示所有主要组件的常规状态

omreportchassismemory# 显示内存信息

omreportchassistemps# 显示系统主要组件的温度

omreportstorageadiskcontroller=0# 查看磁盘陈列中的硬盘状态

omreportstoragepdiskcontroller=0# 查看物理磁盘信息

omreportstoragevdiskcontroller=0# 查看虚拟硬盘的状态

omreportstoragecontroller# 查看控制器(即RAID卡)的属性

omreportstorageenclosurecontroller=0# 查看enclosure的属性

omreportstoragebattery# 查看电池属性

在写脚本的时候还可以这样使用好分割数据: omreport chassis info -fmt ssv

1

–fmtssv

二.命令样例

1.系统摘要信息

Chassis Model #服务器型号

Express Service Code #快速服务代码(可在在官网查询服务器保修时间)

Chassis Service Tag #服务标签

1

2

3

4

5

6

7

8

9

10

11

12

13

14

[root@zeping ~]# omreport chassis info

ChassisInformation

Index: 0

ChassisName: MainSystemChassis

HostName: zeping.linuxhub.cn

iDRAC7Version: 1.40.40 (Build 17)

LifecycleController 2 Version: 1.1.5.165

ChassisModel: PowerEdgeR720

ChassisLock: Present

ChassisServiceTag: 4TMMGY1

ExpressServiceCode: 10498648393

ChassisAssetTag: Unknown

FlashchassisidentifyLEDstate: Off

FlashchassisidentifyLEDtimeoutvalue : 300

2.显示虚拟磁盘信息(阵列信息)

Status #阵列状态

Layout #阵列卡类型

Size #阵列空间大小

Bus Protocol #总线协议

Media #介质

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

[root@zeping ~]# omreport storage vdisk

ListofVirtualDisksin theSystem

ControllerPERCH710Mini (Embedded)

ID: 0

Status: Ok

Name: VirtualDisk0

State: Ready

HotSparePolicyviolated: Not Assigned

Encrypted: No

Layout: RAID–5

Size: 11,176.50 GB (12000675495936 bytes)

T10ProtectionInformationStatus : No

AssociatedFluidCacheState: Not Applicable

DeviceName: /dev/sda

BusProtocol: SAS

Media: HDD

Read Policy: AdaptiveRead Ahead

Write Policy: Write Back

CachePolicy: Not Applicable

StripeElementSize: 64 KB

DiskCachePolicy: Disabled

3.查看物理磁盘信息

Vendor ID #供应商ID

Product ID #磁盘ID

Serial No. #序列号

Part Number #部件号

Revision #修订

Manufacture Day #磁盘制造日期(日)

Manufacture Week #磁盘制造日期(周)

Manufacture Year #磁盘制造日期(年份)

Capacity #磁盘容量

Used RAID Disk Space #已用 RAID 磁盘空间

Available RAID Disk Space #可用 RAID 磁盘空间

Sector Size #扇区大小

Hot Spare #是否热备份

Bus Protocol #总线协议

Media #介质

Negotiated Speed #协商速度

Capable Speed #支持速度

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

[root@zeping ~]# omreport storage controller controller=0  #ID等于0的连接器

ID: 0:1:0

Status: Ok

Name: PhysicalDisk 0:1:1

State: Online

PowerStatus: SpunUp

BusProtocol: SAS

Media: HDD

PartofCachePool: Not Applicable

RemainingRatedWrite Endurance : Not Applicable

FailurePredicted: No

Revision: MS05

DriverVersion: Not Applicable

ModelNumber: Not Applicable

T10PICapable: No

Certified: Yes

EncryptionCapable: No

Encrypted: Not Applicable

Progress: Not Applicable

MirrorSetID: Not Applicable

Capacity: 3,725.50 GB (4000225165312 bytes)

UsedRAIDDiskSpace: 3,725.50 GB (4000225165312 bytes)

AvailableRAIDDiskSpace: 0.00 GB (0 bytes)

HotSpare: No

VendorID: DELL(tm)

ProductID: ST4000NM0005

SerialNo.: Z4C04CQ7

PartNumber: TH0XWM1W2123363I02P9A00

NegotiatedSpeed: 6.00 Gbps

CapableSpeed: 6.00 Gbps

PCIeNegotiatedLink Width: Not Applicable

PCIeMaximumLink Width: Not Applicable

SectorSize: 512B

DeviceWrite Cache: Not Applicable

ManufactureDay: 07

ManufactureWeek: 11

ManufactureYear: 2016

SASAddress: 5000C500853BD529

Non–RAIDHDDDiskCachePolicy: Not Applicable

DiskCachePolicy: Not Applicable

FormFactor: Not Available

SubVendor: Not Available

4.显示系统主要组件的温度

Reading #当前温度

Minimum Warning Threshold #警告阈值最小温度

Maximum Warning Threshold #警告阈值最大温度

Minimum Failure Threshold #故障阈值最小温度

Maximum Failure Threshold #故障阈值最大温度

1

2

3

4

5

6

7

8

9

10

11

12

13

[root@zeping ~]# omreport chassis temps

TemperatureProbesInformation

——————————————————

MainSystemChassisTemperatures: Ok

——————————————————

Index: 0

Status: Ok

ProbeName: SystemBoardInletTemp

Reading: 29.0 C

MinimumWarningThreshold : 3.0 C

MaximumWarningThreshold : 42.0 C

MinimumFailureThreshold : –7.0 C

MaximumFailureThreshold : 47.0 C

5.内存插槽信息

Installed Capacity #安装容量

Maximum Capacity #最大容量

Total Installed Capacity Available to the OS #操作系统可用的总安装容量

Slots Available #可用的插槽

Slots Used #已用插槽

Connector Name #连接器上的内存设备

Type #内存类型

Size #单条内存大小

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

[root@zeping ~]# omreport chassis memory

MemoryInformation

Health : Ok

AttributesofMemoryArray(s)

AttributesofMemoryArray(s)

Location: SystemBoardor Motherboard

Use: SystemMemory

InstalledCapacity : 65536MB

MaximumCapacity: 786432MB

SlotsAvailable: 24

SlotsUsed: 8

ErrorCorrection: MultibitECC

TotalofMemoryArray(s)

TotalInstalledCapacity: 65536MB

TotalInstalledCapacityAvailableto theOS : 64575MB

TotalMaximumCapacity: 786432MB

DetailsofMemoryArray 1

Index: 0

Status: Ok

ConnectorName : DIMM_A1

Type: DDR3 – SynchronousRegistered (Buffered)

Size: 8192MB

6.CPU处理器信息

Processor Brand #处理器品牌

Processor Version #处理器版本

Current Speed #当前速度

Core Count #核心数

1

2

3

4

5

6

7

8

9

10

11

[root@zeping ~]# omreport chassis processors

ProcessorsInformation

Health : Ok

Index: 0

Status: Ok

ConnectorName: CPU1

ProcessorBrand: Intel(R) Xeon(R) CPUE5–2620 0 @ 2.00GHz

ProcessorVersion : Model 45 Stepping 7

CurrentSpeed: 2000MHz

State: Present

CoreCount: 6

7.CPU处理器详细信息

64-bit Support #64 位支持

HyperThreading(HT) #超线程 (HT)

Virtualization Technology(VT) #虚拟化技术 (VT)

Demand Based Switching(DBS) #按需切换技术 (DBS)

1

[root@zeping ~]# omreport chassis processors index=0 #每一个核(index=0)

8.电源设备信息

Rated Input Wattage #额定输入瓦特

Maximum Output Wattage #最大输出瓦特

1

2

3

4

5

6

7

8

9

10

11

12

13

14

[root@zeping ~]# omreport chassis pwrsupplies

PowerSuppliesInformation

PowerSupplyRedundancy

RedundancyStatus : Full

IndividualPowerSupplyElements

Index: 0

Status: Ok

Location: PS1Status

Type: AC

RatedInputWattage: 900 W

MaximumOutputWattage: 750 W

FirmwareVersion: 69.45.99

OnlineStatus: PresenceDetected

PowerMonitoringCapable : Yes

9.电源管理

Reading #当前功耗

Warning Threshold #警告阈值功耗

Failure Threshold #故障阈值功耗

Power Headroom #电源净空

System Instantaneous Headroom #系统瞬时净空

System Peak Headroom #系统峰值净空

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

[root@zeping ~]# omreport chassis pwrmonitoring

PowerConsumptionInformation

PowerConsumption

Index: 2

Status: Ok

ProbeName: SystemBoardPwrConsumption

Reading: 126 W

WarningThreshold : 896 W

FailureThreshold : 980 W

Amperage

PS1Current 1 : 0.2 A

PS2Current 2 : 0.0 A

PowerHeadroom

SystemInstantaneousHeadroom : 756 W

SystemPeakHeadroom: 613 W

PowerTrackingStatistics

Statistic: EnergyConsumption

MeasurementStartTime: WedJul 10 01:37:33 2013

MeasurementFinishTime : FriJul8 09:27:41 2016

Reading: 2981.0 kWh

Statistic: SystemPeakPower

MeasurementStartTime : WedJul 10 01:37:33 2013

PeakTime: FriJul 19 10:32:15 2013

PeakReading: 287 W

Statistic: SystemPeakAmperage

MeasurementStartTime : WedJul 10 01:37:33 2013

PeakTime: SatJan 11 07:35:38 2014

PeakReading: 6.1 A

10.风扇探测器信息

Reading #当前风扇转速(转/分)

Minimum Failure Threshold #故障阈值最小(转/分)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

[root@zeping ~]# omreport chassis fans

FanProbesInformation

FanRedundancy

RedundancyStatus : Full

ProbeList

Index: 0

Status: Ok

ProbeName: SystemBoardFan1RPM

Reading: 3960 RPM

MinimumWarningThreshold : 840 RPM

MaximumWarningThreshold : [N/A]

MinimumFailureThreshold : 600 RPM

MaximumFailureThreshold : [N/A]

11.硬件日志

1

omreportsystemesmlog#硬件日志

1

omreportsystemalertlog #警报日志

1

omreportsystemalertaction#查看为系统组件的警告和故障事件所配置的警报措施的摘要

需要先安装OMSA才的omreport命令

1

2

3

4

5

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

yuminstall –y net–snmpnet–snmp–develnet–snmp–utilswgetperlOpenIPMI

yum–y installsrvadmin–all#安装路径:/opt/dell/srvadmin/

/opt/dell/srvadmin/sbin/srvadmin–services.sh start#启动OMSA

ln –s /opt/dell/srvadmin/bin/omreport /usr/local/bin/

This article is under CC BY-NC-SA 4.0 license.

Please quote the original link:https://www.liujason.com/article/276.html

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/172643
推荐阅读
相关标签
  

闽ICP备14008679号