Need Help on Identifying HBA information inside the filter driver.

Hello there experts,

There are other things I want to try if this is possible.
I am trying to view an fc hba information(to publish in web), is there an easier way of getting hba information(Name, Model, interface etc.) from driver side or application side?
in the driver side what i only knew is the scsi address, can i get any fc hba information from that address…my purpose of getting such information is to know what are connected devices from that HBA and how many HBA devices I have from a certain Host.
Aside from Scsi address is the FDO of that scsi address, can i get any fc HBA information out of that FDO?

Maybe you can have some idea, or know some solution,

ty…

Look into HBA WMI Classes
http://msdn.microsoft.com/en-us/library/ms806716.aspx .

You can get almost all the necessary info abt HBA using these WMI classes.
But the catch is, the HBA vendor should have implemented all these WMI
classes!

Fibre Channel Information Tool (fcinfo), from MS uses these classes to
populate some useful information. May be you can try this first…

Regards,
T.V.Gokul.

On Wed, Sep 23, 2009 at 4:02 PM, wrote:

> Hello there experts,
>
> There are other things I want to try if this is possible.
> I am trying to view an fc hba information(to publish in web), is there an
> easier way of getting hba information(Name, Model, interface etc.) from
> driver side or application side?
> in the driver side what i only knew is the scsi address, can i get any fc
> hba information from that address…my purpose of getting such information
> is to know what are connected devices from that HBA and how many HBA devices
> I have from a certain Host.
> Aside from Scsi address is the FDO of that scsi address, can i get any fc
> HBA information out of that FDO?
>
> Maybe you can have some idea, or know some solution,
>
> ty…
>
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Try sending MODE SENSE using SCSI passthrough.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
> Hello there experts,
>
> There are other things I want to try if this is possible.
> I am trying to view an fc hba information(to publish in web), is there an easier way of getting hba information(Name, Model, interface etc.) from driver side or application side?
> in the driver side what i only knew is the scsi address, can i get any fc hba information from that address…my purpose of getting such information is to know what are connected devices from that HBA and how many HBA devices I have from a certain Host.
> Aside from Scsi address is the FDO of that scsi address, can i get any fc HBA information out of that FDO?
>
> Maybe you can have some idea, or know some solution,
>
> ty…
>
>
>
>

Unless you have a real urge to fight WMI, you might be better off using
the Standard HBA API. These WMI classes were based on the HBA API;
Microsoft’s HBA API implementation presents the standard C interface and
calls the WMI classes. An advantage of using the HBA API rather than the
WMI Classes directly is that your code will work on most server OSes.

Gokul TV wrote:

Look into HBA WMI Classes
http://msdn.microsoft.com/en-us/library/ms806716.aspx .

You can get almost all the necessary info abt HBA using these WMI
classes. But the catch is, the HBA vendor should have implemented all
these WMI classes!

Fibre Channel Information Tool (fcinfo), from MS uses these classes to
populate some useful information. May be you can try this first…

Regards,
T.V.Gokul.

On Wed, Sep 23, 2009 at 4:02 PM, > mailto:xxxxx> wrote:
>
> Hello there experts,
>
> There are other things I want to try if this is possible.
> I am trying to view an fc hba information(to publish in web), is
> there an easier way of getting hba information(Name, Model,
> interface etc.) from driver side or application side?
> in the driver side what i only knew is the scsi address, can i get
> any fc hba information from that address…my purpose of getting
> such information is to know what are connected devices from that HBA
> and how many HBA devices I have from a certain Host.
> Aside from Scsi address is the FDO of that scsi address, can i get
> any fc HBA information out of that FDO?
>
> Maybe you can have some idea, or know some solution,
>
> ty…</mailto:xxxxx>

THank you guyz for a wonderful infromation…