2 Replies Latest reply on Apr 28, 2018 9:23 AM by vijayrana968

    Script to find HBA exact model

    Sureshkumar M Expert

      Hello All,


      I am trying to find the HBA model from all our ESXi hosts , I found many scripts from communities and other blogs, but the results is generic what I see when I execute the command esxcfg-scsidevs -a


      ie QLogic Corp 2600 Series 16Gb Fibre Channel to PCI Express HBA


      But when I run


      /usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -a  gives me the exact value which I am looking for (QLE2662)


      Key Value Instance:  QLNATIVEFC/qlogic

      Listing keys:

      Name:   0

      Type:   string


      QLogic 16Gb FC Dual-port HBA for System x for QLE2662:

              FC Firmware Version: 7.02.00 (d0d5), Driver version


      Can you please help me to make this scripted to run at cluster level.