WMI HBA Provider to enumerate

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 14 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
dricketts
Posts: 3
Last visit: Mon Apr 14, 2008 6:22 am

WMI HBA Provider to enumerate

Post by dricketts »

I've installed Microsoft Fibre Channel Information tool (FCInfo.exe) on a server but I'm still unable to enumerate the HBA provider (MSFC_FCAdapterHBAAttributes) via VBScript. Mention is made of a DLL (hbaapi.dll) and MOF file ( hbaapi.mof) but nothing clearly states what to do. Also, if I run FCInfo.exe with switches, it produces the error message "Unable to detect any HBA API enabled adapters." What steps am I missing? Please help.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

WMI HBA Provider to enumerate

Post by jvierra »

Check for installation of components:

dir %systemroot%system32wbemhbaapi.*

You should see hbaapi.mof and hbaapi.dll in this folder if the WMI support has been installed.

Check vendor docs to see how to install CIM/WMI support. Each vendor is different. Adapter must be installed and operational along with support components.

jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

WMI HBA Provider to enumerate

Post by jvierra »

A little research shows that your message is correct.

The "Unable to detect any HBA API enabled adapters" message says you have no adapters or that your adapter is not supported under HBA.

The DLLs are alway in System32 on W2K3 and later. The MOF will only activate when a supported fiberchanel adapter is installed. Once installed the WMI classes should become available.

Look at the microsoft hardware site for a list of supported adapters.
http://www.microsoft.com/whdc/hcl/default.mspx
User avatar
dricketts
Posts: 3
Last visit: Mon Apr 14, 2008 6:22 am

WMI HBA Provider to enumerate

Post by dricketts »

I will follow-up. Thank you so much.
User avatar
dricketts
Posts: 3
Last visit: Mon Apr 14, 2008 6:22 am

WMI HBA Provider to enumerate

Post by dricketts »

I saw hbaapi.dll but hbaappi.mof is missing.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

WMI HBA Provider to enumerate

Post by jvierra »

What Server OS?

What adapter?

YOu need to check that these issues are satisfied first.
User avatar
unnisworld
Posts: 2
Last visit: Tue Nov 24, 2009 5:55 pm

WMI HBA Provider to enumerate

Post by unnisworld »

Figuring out the correct name space value was a challenge. This worked, winrm e wmi/root/wmi/MSFC_FCAdapterHBAAttributes
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

WMI HBA Provider to enumerate

Post by jvierra »

Looks wrong. Are you sure about that? Yoo many WMI bits.

User avatar
unnisworld
Posts: 2
Last visit: Tue Nov 24, 2009 5:55 pm

WMI HBA Provider to enumerate

Post by unnisworld »

If you don't want to use alias, This is the full url,winrm e http://schemas.microsoft.com/wbem/wsman ... Attributes
This topic is 14 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked