IBM x3650 M3のハードウェアRAID構成ディスクの1つに障害が発生。VMware ESXiホストを担うこのサーバに MegaRAID Storage Managerは使えず、結局、ターミナルからMegaCliで アラーム音 を 止める ことができました。
RAIDディスク障害アラーム
VMware ESXiホストを担うIBM x3650 M3(関連記事はこちら)のハードウェアRAIDを構成する物理ディスクの1つに障害が発生しました。

図1.x3650M3 ディスク障害発生
あいにく予備ディスクは無く、交換ディスク手配まで時間が掛かりそうなので、けたたましく鳴り続けるアラーム音を止める方法を探します。
IBM x3650M3のIMMでは
IBM x3650M3のIMM (Integrated Management Module) は、M2よりはマシと言う程度の機能しか実装されておらず、IMMのWebUI上で本件に関してできることは、何か異常が発生していることと、
その内容がディスク異常であることと、その発生時刻の確認まででした。
MegaRAID Storage Managerなら
管理ソフトウェアのMegaRAID Storage Manager(関連記事はこちら)が使えれば、 Physical タブにてコントローラを右クリックのメニューから、アラームの有効無効を制御することができます。
ただ、MegaRAID Storage ManagerとVMware ESXiの相性が芳しくなく、以前より何度か挑戦するも情報量が少ないこともあり、ESXiホスト内のコントローラへのアクセスはうまくいったことがありません。
MegaCliのでビープ音停止
MegaRAIDコントローラ管理用CLIであるMegaCliのチートシートのようなKBの中に、アラームを無効化するおまじないを見つけました。
幸い、ESXiホスト構築時にMegaCliをインストール済でしたが、未導入の場合はvibをダウンロードし、 esxcli コマンドでインストールします(インストール後はホストの再起動が必要になるので、この手のvibはホスト構築時に導入を済ませておいた方が良いでしょう)。
1 |
[root@vm21:~] esxcli software vib install -v=vmware-esx-MegaCli-8.07.07.vib --force --maintenance-mode --no-sig-check |
ESXi Host Client上でSSHサービスを有効にしたら、ターミナルでESXiホストに入ります。
MegaCliのいるところまで辿り、コマンドを実行すると、即アラームは鳴り止みました。
1 2 3 4 5 6 7 8 9 10 |
[root@vm21:/opt/lsi/MegaCLI] ls -la -r-xr-xr-x 1 root root 2403044 Dec 19 2012 MegaCli -r-x------ 1 root root 286981 Dec 19 2012 libstorelib.so [root@vm21:/opt/lsi/MegaCLI] ./MegaCli -AdpSetProp Alarmdsbl -a0 Adapter 0: Set alarm to Disabled success. Exit Code: 0x00 [root@vm21:/opt/lsi/MegaCLI] |
MegaCliの基本コマンド
せっかくなので、MegaCliでRAIDコントローラの情報をいくつか取得してみます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
[root@vm21:/opt/lsi/MegaCLI] ./MegaCli -LDInfo -Lall -aALL Adapter 0 -- Virtual Drive Information: Virtual Drive: 0 (Target Id: 0) Name : RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0 Size : 930.390 GB Sector Size : 512 Mirror Data : 930.390 GB State : Degraded Strip Size : 128 KB Number Of Drives : 2 Span Depth : 1 Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled Encryption Type : None Is VD Cached: No Exit Code: 0x00 |
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 43 44 45 46 47 |
[root@vm21:/opt/lsi/MegaCLI] ./MegaCli -Pdlist -Aall Adapter #0 Enclosure Device ID: 252 Slot Number: 0 Drive's position: DiskGroup: 0, Span: 0, Arm: 1 Enclosure position: N/A Device Id: 18 WWN: Sequence Number: 2 Media Error Count: 0 Other Error Count: 7 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SATA Raw Size: 931.512 GB [0x74706db0 Sectors] Non Coerced Size: 931.012 GB [0x74606db0 Sectors] Coerced Size: 930.390 GB [0x744c8000 Sectors] Sector Size: 0 Firmware state: Online, Spun Up Device Firmware Level: BE24 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x4433221103000000 Connected Port Number: 1(path0) Inquiry Data: 9XG179M7ST91000640NS 81Y9731 81Y3829IBM BE24 IBM FRU/CRU: 81Y9731 FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 6.0Gb/s Link Speed: 6.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Temperature : N/A PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 6.0Gb/s Drive has flagged a S.M.A.R.T alert : No Exit Code: 0x00 |
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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
[root@vm21:/opt/lsi/MegaCLI] ./MegaCli -Adpallinfo -Aall Adapter #0 ============================================================================== Versions ================ Product Name : ServeRAID M5014 SAS/SATA Controller Serial No : SV02008590 FW Package Build: 12.0.1-0090 Mfg. Data ================ Mfg. Date : 05/16/10 Rework Date : 00/00/00 Revision No : Battery FRU : N/A Image Versions in Flash: ================ BIOS Version : 3.09.00 FW Version : 2.0.13-0748 Preboot CLI Version: 02.00-015:#%00008 WebBIOS Version : 3.0-22-e_12-Rel NVDATA Version : 2.02.0038 Boot Block Version : 2.00.00.00-0018 BOOT Version : 01.250.04.219 Pending Images in Flash ================ None PCI Info ================ Controller Id : 0000 Vendor Id : 1000 Device Id : 0079 SubVendorId : 1014 SubDeviceId : 03c7 Host Interface : PCIE Link Speed : 0 Number of Frontend Port: 0 Device Interface : PCIE Number of Backend Port: 8 Port : Address 0 0000000000000000 1 4433221103000000 2 0000000000000000 3 0000000000000000 4 0000000000000000 5 0000000000000000 6 0000000000000000 7 0000000000000000 HW Configuration ================ SAS Address : 500605b002343e50 BBU : Absent Alarm : Present NVRAM : Present Serial Debugger : Present Memory : Present Flash : Present Memory Size : 256MB TPM : Absent On board Expander: Absent Upgrade Key : Absent Temperature sensor for ROC : Absent Temperature sensor for controller : Absent Settings ================ Current Time : 5:16:29 4/11, 2023 Predictive Fail Poll Interval : 300sec Interrupt Throttle Active Count : 16 Interrupt Throttle Completion : 50us Rebuild Rate : 90% PR Rate : 30% BGI Rate : 30% Check Consistency Rate : 30% Reconstruction Rate : 30% Cache Flush Interval : 4s Max Drives to Spinup at One Time : 2 Delay Among Spinup Groups : 12s Physical Drive Coercion Mode : 1GB Cluster Mode : Disabled Alarm : Disabled Auto Rebuild : Enabled Battery Warning : Enabled Ecc Bucket Size : 15 Ecc Bucket Leak Rate : 1440 Minutes Restore HotSpare on Insertion : Disabled Expose Enclosure Devices : Enabled Maintain PD Fail History : Enabled Host Request Reordering : Enabled Auto Detect BackPlane Enabled : SGPIO/i2c SEP Load Balance Mode : Auto Use FDE Only : Yes Security Key Assigned : No Security Key Failed : No Security Key Not Backedup : No Default LD PowerSave Policy : Controller Defined Maximum number of direct attached drives to spin up in 1 min : 0 Auto Enhanced Import : No Any Offline VD Cache Preserved : No Allow Boot with Preserved Cache : No Disable Online Controller Reset : No PFK in NVRAM : No Use disk activity for locate : No POST delay : 90 seconds BIOS Error Handling : Stop On Errors Current Boot Mode :Normal Capabilities ================ RAID Level Supported : RAID0, RAID1, RAID5, RAID00, RAID10, RAID50, PRL 11, PRL 11 with spanning, SRL 3 supported, PRL11-RLQ0 DDF layout with no span, PRL11-RLQ0 DDF layout with span Supported Drives : SAS, SATA Allowed Mixing: Mix in Enclosure Allowed Status ================ ECC Bucket Count : 0 Limitations ================ Max Arms Per VD : 32 Max Spans Per VD : 8 Max Arrays : 128 Max Number of VDs : 64 Max Parallel Commands : 1008 Max SGE Count : 80 Max Data Transfer Size : 8192 sectors Max Strips PerIO : 42 Max LD per array : 16 Min Strip Size : 8 KB Max Strip Size : 1.0 MB Max Configurable CacheCade Size: 0 GB Current Size of CacheCade : 0 GB Current Size of FW Cache : 0 MB Device Present ================ Virtual Drives : 1 Degraded : 1 Offline : 0 Physical Devices : 2 Disks : 1 Critical Disks : 0 Failed Disks : 0 Supported Adapter Operations ================ Rebuild Rate : Yes CC Rate : Yes BGI Rate : Yes Reconstruct Rate : Yes Patrol Read Rate : Yes Alarm Control : Yes Cluster Support : No BBU : Yes Spanning : Yes Dedicated Hot Spare : Yes Revertible Hot Spares : Yes Foreign Config Import : Yes Self Diagnostic : Yes Allow Mixed Redundancy on Array : No Global Hot Spares : Yes Deny SCSI Passthrough : No Deny SMP Passthrough : No Deny STP Passthrough : No Support Security : No Snapshot Enabled : No Support the OCE without adding drives : No Support PFK : No Support PI : No Support Boot Time PFK Change : No Disable Online PFK Change : No Support Shield State : No Block SSD Write Disk Cache Change: No Supported VD Operations ================ Read Policy : Yes Write Policy : Yes IO Policy : Yes Access Policy : Yes Disk Cache Policy : Yes Reconstruction : Yes Deny Locate : No Deny CC : No Allow Ctrl Encryption: No Enable LDBBM : No Support Breakmirror : No Power Savings : No Supported PD Operations ================ Force Online : Yes Force Offline : Yes Force Rebuild : Yes Deny Force Failed : No Deny Force Good/Bad : No Deny Missing Replace : No Deny Clear : No Deny Locate : No Support Temperature : No Disable Copyback : No Enable JBOD : No Enable Copyback on SMART : No Enable Copyback to SSD on SMART Error : Yes Enable SSD Patrol Read : No PR Correct Unconfigured Areas : Yes Enable Spin Down of UnConfigured Drives : No Disable Spin Down of hot spares : No Spin Down time : 0 T10 Power State : No Error Counters ================ Memory Correctable Errors : 0 Memory Uncorrectable Errors : 0 Cluster Information ================ Cluster Permitted : No Cluster Active : No Default Settings ================ Phy Polarity : 0 Phy PolaritySplit : 0 Background Rate : 30 Strip Size : 128kB Flush Time : 4 seconds Write Policy : WB Read Policy : None Cache When BBU Bad : Disabled Cached IO : No SMART Mode : Mode 6 Alarm Disable : No Coercion Mode : 1GB ZCR Config : Unknown Dirty LED Shows Drive Activity : No BIOS Continue on Error : 0 Spin Down Mode : None Allowed Device Type : SAS/SATA Mix Allow Mix in Enclosure : Yes Allow HDD SAS/SATA Mix in VD : No Allow SSD SAS/SATA Mix in VD : No Allow HDD/SSD Mix in VD : No Allow SATA in Cluster : No Max Chained Enclosures : 16 Disable Ctrl-R : Yes Enable Web BIOS : Yes Direct PD Mapping : No BIOS Enumerate VDs : Yes Restore Hot Spare on Insertion : No Expose Enclosure Devices : Yes Maintain PD Fail History : Yes Disable Puncturing : Yes Zero Based Enclosure Enumeration : No PreBoot CLI Enabled : Yes LED Show Drive Activity : No Cluster Disable : Yes SAS Disable : No Auto Detect BackPlane Enable : SGPIO/i2c SEP Use FDE Only : Yes Enable Led Header : No Delay during POST : 4 EnableCrashDump : No Disable Online Controller Reset : No EnableLDBBM : No Un-Certified Hard Disk Drives : Allow Treat Single span R1E as R10 : No Max LD per array : 16 Power Saving option : All power saving options are enabled Default spin down time in minutes: 0 Enable JBOD : No Time taken to detect CME : 60s Exit Code: 0x00 |
文法にとてもクセのあるCLIですが、サーバ管理には便利に使えそうです。