Pivotal Knowledge Base

フォローする

DCA V1 のための有用な omreport コマンドについて

環境

製品 バージョン
DCA  Version 1

 

概要

本記事では、omreport ユーティリティーに関して、DCA v1 上で有用なコマンドについて述べる。

omreport のヘルプマニュアルの表示には常に omhelp omreport コマンドを使用されたい。

1. システムコンポーネントプロパティー

-- システムログ

omreport system alertlog  --アラートログ表示
omreport system esmlog    --ハードウェア(Embedded System Management)ログ表示
omreport system cmdlog    --コマンドログ表示

-- OS

[root@sdw1 ~]# omreport system operatingsystem
Operating System Information

Host Name                : sdw1
Operating System         : Red Hat Enterprise Linux Server
Operating System Version : release 5.5 (Tikanga) Kernel 2.6.18-194.11.1.el5 (x86_64)
System Time              : Mon Nov 12 13:46:39 2012
System Bootup Time       : Wed Mar 16 10:22:25 2011

-- 全システムコンポーネント概要(主要なコンポーネントのバージョンを含む)

[root@sdw1 ~]# omreport system summary
System Summary

------------------
Software Profile
------------------
Systems Management
Name                       : Server Administrator
Version                    : 6.3.0
Description                : Systems Management Software
Contains                   : A library for parsing GNU style command line arguments 6.3.0
                           : Data Engine 5.9.3
                           : Hardware Abstraction Programming Interface 5.9.3
                           : Instrumentation Services 5.9.3
                           : Modular Server Virtual Media CLI Utils 1.0.0
                           : Monolithic Server Virtual Media CLI Utils 1.0.0
                           : OpenManage Inventory Collector 6.3.0
                           : RAC Command Interface 4.6.5
                           : RAC Integration Layer 6.3.0
                           : Remote Access Card Data Populator 6.3.0
                           : Server Administrator Common Framework 6.3.0
                           : Server Administrator Core and CLI 6.3.0
                           : Server Administrator XML Support SDK 6.3.0
                           : Storage Management System Utilities Package / Libsysfs 1.3.0
                           : Storage Management accessors package 3.3.0
                           : Storage Management common files for GUI and CLI 3.3.0
                           : Storage Management populator package 3.3.0
                           : StoreLib package for storage management 6.3.0
                           : System Utilities Package/Libsysfs for LSI storage libraries 2.1.0
                           : iDRAC Command Interface 6.3.0

Operating System
Name                       : Red Hat Enterprise Linux Server
Version                    : release 5.5 (Tikanga) Kernel 2.6.18-194.11.1.el5 (x86_64)
System Time                : Mon Nov 12 13:48:46 2012
System Bootup Time         : Wed Mar 16 10:22:25 2011

(......)

-- アップデート可能な全てのコンポーネントの現バージョン情報(BIOS、OS、各種コントローラーのバージョンを含む)

[root@sdw1 ~]# omreport system version
Version Report

---------------------
Main System Chassis
---------------------

Name    : BIOS
Version : 1.3.6


Name    : iDRAC6
Version : 1.52

----------
Software
----------

Name    : Red Hat Enterprise Linux Server
Version : release 5.5 (Tikanga) Kernel 2.6.18-194.11.1.el5 (x86_64)


Name    : Dell Server Administrator
Version : 6.3.0

-----------------------------
Storage Controller Firmware
-----------------------------

Name    : PERC H700 Integrated
Version : 12.3.0-0032

2. 筐体コンポーネントプロパティー

-- ピーク消費電力の統計情報としきい値の確認

[root@sdw1 ~]# omreport chassis pwrmonitoring
Power Consumption Information

Power Consumption
Index             : 2
Status            : Ok
Probe Name        : System Board System Level
Reading           : 308 W
Warning Threshold : 917 W
Failure Threshold : 966 W

Amperage
Location : PS 1 Current
Reading  : 0.6 A

Location : PS 2 Current
Reading  : 0.6 A

Power Headroom
Attribute : System Instantaneous Headroom
Value     : 663 W

Attribute : System Peak Headroom
Value     : 452 W

Power Tracking Statistics
Statistic               : Energy Consumption
Measurement Start Time  : Wed Aug 11 10:22:01 2010
Measurement Finish Time : Mon Nov 12 14:02:38 2012
Reading                 : 467.2 KWh

Statistic              : System Peak Power
Measurement Start Time : Tue Jul 27 19:21:16 2010
Peak Time              : Mon Aug  6 09:58:23 2012
Peak Reading           : 520 W

Statistic              : System Peak Amperage
Measurement Start Time : Tue Jul 27 19:21:16 2010
Peak Time              : Tue Jul 27 19:34:17 2010
Peak Reading           : 4.2 A

-- 電力容量確認

[root@sdw1 ~]# omreport chassis pwrmanagement
Power Inventory and Budget

Power Inventory
Attribute : System Idle Power
Value     : 383 W

Attribute : System Maximum Potential Power
Value     : 715 W

Power Budget
Attribute : Enable Power Cap
Values    : Disabled

Attribute : Power Cap
Values    : 715 W ( 100% )

-- 電源の状態確認

[root@sdw1 ~]# omreport chassis pwrsupplies
Power Supplies Information

---------------------------------------
Main System Chassis Power Supplies : Ok
---------------------------------------

Power Supply Redundancy : Ok

Attribute : Redundancy Status
Value     : Full


Individual Power Supply Elements
Index                    : 0
Status                   : Ok
Location                 : PS 1 Status
Type                     : AC
Rated Input Wattage      : 972 W
Maximum Output Wattage   : 750 W
Online Status            : Presence Detected
Power Monitoring Capable : Yes

Index                    : 1
Status                   : Ok
Location                 : PS 2 Status
Type                     : AC
Rated Input Wattage      : 972 W
Maximum Output Wattage   : 750 W
Online Status            : Presence Detected
Power Monitoring Capable : Yes

-- ファン

[root@sdw1 ~]# omreport chassis fans|grep -i stat
Attribute : Redundancy Status
Status                    : Ok
Status                    : Ok
Status                    : Ok
Status                    : Ok
Status                    : Ok
Status                    : Ok
Status                    : Ok
Status                    : Ok
Status                    : Ok
Status                    : Ok
Memory
[root@sdw1 ~]# omreport chassis memory|egrep "Index|Status"
Index          : 0
Status         : Ok
Index          : 1
Status         : Ok
Index          : 2
Status         : Ok
Index          :
Status         : Unknown
Index          : 3
Status         : Ok
Index          : 4
Status         : Ok
Index          : 5
Status         : Ok
Index          :
Status         : Unknown

-- NIC

[root@sdw1 ~]# omreport chassis nics|egrep "Name|Status"
Interface Name    : eth0
Connection Status : Connected
Interface Name    : eth1
Connection Status : Disabled
Interface Name    : eth2
Connection Status : Connected
Interface Name    : eth3
Connection Status : Connected
CPUs

[root@sdw1 ~]# omreport chassis processors
Processors Information

Health : Ok

Index             : 0
Status            : Ok
Connector Name    : CPU1
Processor Brand   : Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
Processor Version : Model 44 Stepping 2
Current Speed     : 2933  MHz
State             : Present
Core Count        : 6

Index             : 1
Status            : Ok
Connector Name    : CPU2
Processor Brand   : Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
Processor Version : Model 44 Stepping 2
Current Speed     : 2933  MHz
State             : Present
Core Count        : 6

-- 温度

[root@sdw1 ~]# omreport chassis temps
Temperature Probes Information

------------------------------------
Main System Chassis Temperatures: Ok
------------------------------------

Index                     : 0
Status                    : Ok
Probe Name                : System Board Ambient Temp
Reading                   : 27.0 C
Minimum Warning Threshold : 8.0 C
Maximum Warning Threshold : 45.0 C
Minimum Failure Threshold : 3.0 C
Maximum Failure Threshold : 50.0 C
Voltage
[root@sdw1 ~]# omreport chassis volts|egrep "Index|Status"
Index                     : 0
Status                    : Ok
Index                     : 1
Status                    : Ok
Index                     : 2
Status                    : Ok
Index                     : 3
Status                    : Ok
Index                     : 4
Status                    : Ok
Index                     : 5
Status                    : Ok
Index                     : 6
Status                    : Ok
Index                     : 7
Status                    : Ok
Index                     : 8
Status                    : Ok
Index                     : 9
Status                    : Ok
Index                     : 10
Status                    : Ok
Index                     : 11
Status                    : Ok
Index                     : 12
Status                    : Ok
Index                     : 13
Status                    : Ok
Index                     : 14
Status                    : Ok
Index                     : 15
Status                    : Ok
Index                     : 16
Status                    : Ok
Index                     : 17
Status                    : Ok
Index                     : 18
Status                    : Ok
Index                     : 19
Status                    : Ok
Index                     : 20
Status                    : Ok

-- CMOS バッテリー

[root@sdw1 ~]# omreport chassis batteries
Batteries

Health : Ok

Individual Battery Elements
Index      : 0
Status     : Ok
Probe Name : System Board CMOS Battery
Reading    : Good

3. ストレージコンポーネントプロパティーの表示

-- 物理ディスクステータス

[root@sdw1 ~]# omreport storage pdisk controller=0|egrep "^ID |Status|State|Failure"
ID                        : 0:0:0
Status                    : Ok
Power Status              : Spun Up
State                     : Online
Failure Predicted         : No
ID                        : 0:0:1
Status                    : Ok
Power Status              : Spun Up
State                     : Online
Failure Predicted         : No

(......)

-- 論理ディスクステータス

[root@sdw1 ~]#  omreport storage vdisk|egrep "^Name|State|Write|Read"
Name                      : root
State                     : Ready
Read Policy               : Adaptive Read Ahead
Write Policy              : Write Back
Name                      : data
State                     : Ready
Read Policy               : Adaptive Read Ahead
Write Policy              : Write Back
Name                      : root
State                     : Ready
Read Policy               : Adaptive Read Ahead
Write Policy              : Write Back
Name                      : data
State                     : Ready
Read Policy               : Adaptive Read Ahead
Write Policy              : Write Back

-- コントローラーステータス

[root@sdw1 ~]#  omreport storage controller|egrep "^ID|^State|^Status|^Firmware"
ID                                            : 0
Status                                        : Ok
State                                         : Ready
Firmware Version                              : 12.3.0-0032
Controller Battery
[root@sdw1 ~]#  omreport storage battery
List of Batteries in the System

Controller PERC H700 Integrated (Slot 4)

ID                        : 0
Status                    : Ok
Name                      : Battery 0
State                     : Ready
Recharge Count            : Not Applicable
Max Recharge Count        : Not Applicable
Predicted Capacity Status : Ready
Learn State               : Idle
Next Learn Time           : 37 days 20 hours
Maximum Learn Delay       : 7 days 0 hours
Learn Mode                : Auto

-- コントローラーコネクターステータス

[root@sdw1 ~]# omreport storage connector controller=0|egrep "^ID|Status"
ID             : 0
Status         : Ok
ID             : 1
Status         : Ok
Tips: On segments, please make sure that, each vdisk contains 6 pdisks, otherwize the vdisk may be in degraded status even if all pdisks are healthy.
[root@sdw1 ~]# omreport storage pdisk controller=0 vdisk=1|grep ^ID
ID                        : 0:0:0
ID                        : 0:0:1
ID                        : 0:0:2
ID                        : 0:0:3
ID                        : 0:0:4
ID                        : 0:0:5
[root@sdw1 ~]# omreport storage pdisk controller=0 vdisk=2|grep ^ID
ID                        : 0:0:6
ID                        : 0:0:7
ID                        : 0:0:8
ID                        : 0:0:9
ID                        : 0:0:10
ID                        : 0:0:11

4. バッテリー問題関連

-- システムログ生成

[root@sdw1 ~]# omconfig storage controller action=exportlog controller=0
Command successful!

-- 製造業者名確認

[root@sdw1 ~]# logfile=`ls -t /var/log/lsi*.log|head -1`;cat $logfile | grep 'Manufacturer Name' | head -n 1; omreport chassis info | grep 'Chassis Service Tag'
T5:     Manufacturer Name        : SMP-PA1.9
Chassis Service Tag                      : 1VCCJN1

-- 他の情報と最大容量確認

[root@sdw1 ~]# logfile=`ls -t /var/log/lsi*.log|head -1`;cat $logfile | grep -A 8 'BATTERY MONITORED INFORMATION' |tail -8| cut -c 6-
____________________________________________________________________________

 Temperature             : 28 C                  Voltage             : 4066 V
 Current                 : 0 mA                  GasGaugeStat        : 40e0
 GPID                    : 81110d2               ChargerStatus       : 2
 Remaining Capacity      : 1612 mAh              Full Charge Capacity: 1625 mAh
 Relative Stat of Charge : 100 %                 FwBBUState          : 1
____________________________________________________________________________

コメント

Powered by Zendesk