3

Yesterday 2 of our ESXi hosts were updated from 6.5 to 6.7 (build 8169922), though after doing this we noticed a few quirks when trying to access the storage hardware monitoring.

In the web UI typically we'd only see elements listed for the Avago/LSI hardware RAID here, with a clear indicator of its overall health, each logical volume's health, and each physical disk's health. Now though all sorts of hardware is showing up that isn't even storage related. (Such as the GPU, Ethernet controllers, and Thunderbolt controllers.)

ESXi 6.7 web UI: Monitor > Hardware > Storage

I've updated the LSI SIMS provider to version 7.6 (30/May/2018), along with MegaCLI utility version 8-07-07, and the storcli utility version 007.0606.0000.0000 (20/Mar/2018). The host has been rebooted after installing each VIB. Looks like the CIM service just doesn't want to know though.

The servers work very fine indeed, VMs are operating as normal. They just lack RAID monitoring and management now, so if an issue happens we just get a buzzer and LED blink, and have to reboot to the LSI WebBIOS to see what it's for to resolve it.

I saw from the VMWare hardware compatibility that our LSI RAID controller models are supported with an official driver so I don't think there is any compatibility issue.

The MegaCLI command is also useless likely because of the same CIM issue. ./MegaCli -adpCount shows Controller Count: 0, which also means that the MegaRAID Storage Manager utility no longer detects ESXi hosts for management too.

--

Finally with the storcli only some parts of it work. This is probably a separate issue though. (Bug in the tool?) It seems if you are specifying command arguments that contain a forward slash '/' it is ignored.

For example, "storcli show" works:

[root@nexus:/opt/lsi/storcli] ./storcli show
CLI Version = 007.0606.0000.0000 Mar 20, 2018
Operating system = VMkernel 6.7.0
Status Code = 0
Status = Success
Description = None

Number of Controllers = 1
Host Name = nexus.***
Operating System  = VMkernel 6.7.0
StoreLib IT Version = 07.0603.0200.0000
StoreLib IR3 Version = 15.53-0

System Overview :
===============

------------------------------------------------------------------------------------
Ctl Model                 Ports PDs DGs DNOpt VDs VNOpt BBU  sPR DS  EHS ASOs Hlth
------------------------------------------------------------------------------------
  0 LSIMegaRAIDSAS9271-8i     8   4   1     1   1     1 Msng On  1&2 Y      4 NdAtn
------------------------------------------------------------------------------------

Ctl=Controller Index|DGs=Drive groups|VDs=Virtual drives|Fld=Failed
PDs=Physical drives|DNOpt=DG NotOptimal|VNOpt=VD NotOptimal|Opt=Optimal
Msng=Missing|Dgd=Degraded|NdAtn=Need Attention|Unkwn=Unknown
sPR=Scheduled Patrol Read|DS=DimmerSwitch|EHS=Emergency Hot Spare
Y=Yes|N=No|ASOs=Advanced Software Options|BBU=Battery backup unit
Hlth=Health|Safe=Safe-mode boot

However, using another command such as "storcli /cx show alarm" does not:

[root@nexus:/opt/lsi/storcli] ./storcli /cx show alarm

syntax error, unexpected $end

     Storage Command Line Tool  Ver 007.0606.0000.0000 Mar 20, 2018

     (c)Copyright 2018, AVAGO Technologies, All Rights Reserved.


help - lists all the commands with their usage. E.g. storcli help
<command> help - gives details about a particular command. E.g. storcli add help

List of commands:

That syntax error, unexpected $end suggests something in the command parser is not right. (I've tried from both the DCUI and SSH.) Weirdly storcli cx show help does work, only showing controller specific commands, but storcli cx show all does not.

(The fact that storcli is able to see the controller at all and query it tells me the driver is fine and compatible.)

Adambean
  • 153
  • 1
  • 1
  • 9
  • 1
    Go to the 6.7 HCL, check EVERY SINGLE component is supported by 6.7, they stopped supporting a LOT of kit between 6.5 and 6.7, like a lot. – Chopper3 Jun 21 '18 at 08:45
  • I did check the CPU and RAID in advance, they were listed on 6.5, 6.5U1, 6.5U2, and 6.7. The only component I know of that isn't supported is the Atheros Killer NIC on the motherboard. – Adambean Jun 21 '18 at 09:23
  • what sort of server systemboard are you using that's got an Atheros Killer NIC on it?!?! – Chopper3 Jun 21 '18 at 09:44
  • Heh, the server for our office actually has a workstation type motherboard. (It's a Gigabyte GA-X170-EXTREME ECC.) It has a Xeon E3-1270 v5 CPU though with ECC memory, and an LSI MegaRAID 9260-8i. --- The other server at our DC doesn't have a Killer NIC though. ;) That has a Xeon E3-1245 v2 CPU with ECC memory, and an LSI MegaRAID 9260-4i. --- Both use Intel NICs, which definitely work, as I can talk to the servers fine. – Adambean Jun 21 '18 at 09:50
  • 1
    Silly me. "storcli" appears to work fine, I didn't realise "/cx" should actually be "/c0" to mean "use controller at index 0". I'm not bothered if MegaCLI doesn't work any more as storcli is the later product. Bit weird about the web UI and MSM utility though. – Adambean Jun 21 '18 at 14:55

3 Answers3

2

You should use

./storcli /c0 show

(0 = number of the controler, you see it in your first command ./storcli show -> Ctl 0)

If you want to see every controller you can use :

./storcli /call show

If you want to see every virtual drive you can use :

./storcli /call/eall show

If you want to see every physical drive you can use :

./storcli /call/eall/sall show

Or you can use :

./storcli /call show all 

for all the information of all controllers.

In your case you have 1 controller, so you can use

./storcli /c0 show all

For alarm status/control you can use :

./storcli /c0 show alarm   (show alarm status)

./storcli /c0 set alarm=silence   (mute buzer alarm)

./storcli /c0 set alarm=off   (shutdown alarm)
SaeX
  • 185
  • 8
  • Thanks, I got this working already. (Comment 21 Jun at 14:55) This won't fix the ESXi UI though. – Adambean Aug 15 '18 at 17:35
  • Yes same issue here with a 9260-8i on ESXi 6.7. I use a script for check the raid status with nagios but you can use directly on a linux machine with an ssh acces to the ESXi. – IceCubee-FR Aug 15 '18 at 17:59
1

Based on the list https://www.vmware.com/resources/compatibility/pdf/vi_cim_guide.pdf last version where LSIProvider mib is support was 6.5u2

Reg
  • 11
  • 1
0

I was unable to get storcli or MegaCLI to display my H200 (crossflashed to 9211-8i in IR mode) adapter information:

[root@hostname:~] esxcli storage core adapter list | grep mpt
vmhba2    mpt2sas    link-n/a    sas.xx     (0000:02:00.0) LSI Logic / Symbios Logic Dell 6Gbps SAS HBA Adapter


[root@hostname:~]  /opt/lsi/storcli/storcli /c0 show
CLI Version = 007.0606.0000.0000 Mar 20, 2018
Operating system = VMkernel 6.7.0
Controller = 0
Status = Failure
Description = Controller 0 not found

[root@hostname:/opt/lsi/MegaCLI] ./MegaCli -adpCount

Controller Count: 0.

I found sas2ircu P20 on the Broadcom website which seems to work (as of 6.7.0 Update 1 Build 11675023):

Download location: https://docs.broadcom.com/docs-and-downloads/host-bus-adapters/host-bus-adapters-common-files/sas_sata_6g_p20/SAS2IRCU_P20.zip

Extract the vmware-esx-sas2ircu.vib from this file and upload it to your ESXi host. Install it using the following command (change path to match your datastore):

[root@hostname:~] esxcli software vib install -v /vmfs/volumes/Datastore/vmware-esx-sas2ircu.vib --no-sig-check

Installation Result
   Message: Operation finished successfully.
   Reboot Required: false
   VIBs Installed: LSI_bootbank_vmware-esx-sas2ircu_20.00.00.00-03
   VIBs Removed:
   VIBs Skipped:

I was then able to use sas2ircu to display my adapter information:

[root@hostname:~] /opt/lsi/bin/sas2ircu 0 display
LSI Corporation SAS2 IR Configuration Utility.
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved.

Read configuration has been initiated for controller 0
------------------------------------------------------------------------
Controller information
------------------------------------------------------------------------
  Controller type                         : SAS2008
  BIOS version                            : 7.39.02.00
  Firmware version                        : 20.00.07.00
  Channel description                     : 1 Serial Attached SCSI
  Initiator ID                            : 0
  Maximum physical devices                : 255
  Concurrent commands supported           : 1720
  Slot                                    : 4
  Segment                                 : 0
  Bus                                     : 2
  Device                                  : 0
  Function                                : 0
  RAID Support                            : Yes
------------------------------------------------------------------------
IR Volume information
------------------------------------------------------------------------
IR volume 1
  Volume ID                               : 286
  Status of volume                        : Okay (OKY)
  Volume wwid                             : 
  RAID level                              : RAID1
  Size (in MB)                            : 113487
  Physical hard disks                     :
  PHY[0] Enclosure#/Slot#                 : 1:4
  PHY[1] Enclosure#/Slot#                 : 1:5
------------------------------------------------------------------------
Physical device information
------------------------------------------------------------------------
Initiator at ID #0

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 4
  SAS Address                             : 
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 114473/234441647
  Manufacturer                            : ATA
  Model Number                            : KINGSTON SA400S3
  Firmware Revision                       : B1D1
  Serial No                               : 
  GUID                                    : 
  Protocol                                : SATA
  Drive Type                              : SATA_SSD

Device is a Hard disk
  Enclosure #                             : 1
  Slot #                                  : 5
  SAS Address                             : 
  State                                   : Optimal (OPT)
  Size (in MB)/(in sectors)               : 114473/234441647
  Manufacturer                            : ATA
  Model Number                            : KINGSTON SA400S3
  Firmware Revision                       : B1D1
  Serial No                               : 
  GUID                                    : 
  Protocol                                : SATA
  Drive Type                              : SATA_SSD
------------------------------------------------------------------------
Enclosure information
------------------------------------------------------------------------
  Enclosure#                              : 1
  Logical ID                              : 
  Numslots                                : 8
  StartSlot                               : 0
------------------------------------------------------------------------
SAS2IRCU: Command DISPLAY Completed Successfully.
SAS2IRCU: Utility Completed Successfully.

I'll grab this information via SSH and monitor my array this way.

JeffWDH
  • 1
  • 1