HBA_GetNumberOfAdapters(3HBAAPI) Common Fibre Channel HBA Information Library Functions HBA_GetNumberOfAdapters(3HBAAPI)NAME
HBA_GetNumberOfAdapters - report the number of HBAs known to the Common Library
SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ]
#include <hbaapi.h>
HBA_UINT32 HBA_GetNumberOfAdapters(void);
DESCRIPTION
The HBA_GetNumberOfAdapters() function report the number of HBAs known to the Common Library. This number is the sum of the number of HBAs
reported by each VSL loaded by the Common Library.
RETURN VALUES
The HBA_GetNumberOfAdapters() function returns the number of adapters known to the Common Library will be returned.
EXAMPLES
Example 1: Using HBA_GetNumberOfAdapters()
numberOfAdapters = HBA_GetNumberOfAdapters();
for (hbaCount = 0; hbaCount < numberOfAdapters; hbaCount++) {
/* ... */
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: FC-MI 1.92 (API |
| |version 1) |
+-----------------------------+-----------------------------+
| |Standard: FC-HBA Version 4 |
| |(API version 2) |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO libhbaapi(3LIB), attributes(5)
T11 FC-MI Specification
SunOS 5.10 1 Sep 2003 HBA_GetNumberOfAdapters(3HBAAPI)
Check Out this Related Man Page
HBA_GetNumberOfAdapters(3HBAAPI) Common Fibre Channel HBA Information Library Functions HBA_GetNumberOfAdapters(3HBAAPI)NAME
HBA_GetNumberOfAdapters - report the number of HBAs known to the Common Library
SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ]
#include <hbaapi.h>
HBA_UINT32 HBA_GetNumberOfAdapters(void);
DESCRIPTION
The HBA_GetNumberOfAdapters() function report the number of HBAs known to the Common Library. This number is the sum of the number of HBAs
reported by each VSL loaded by the Common Library.
RETURN VALUES
The HBA_GetNumberOfAdapters() function returns the number of adapters known to the Common Library will be returned.
EXAMPLES
Example 1 Using HBA_GetNumberOfAdapters()
numberOfAdapters = HBA_GetNumberOfAdapters();
for (hbaCount = 0; hbaCount < numberOfAdapters; hbaCount++) {
/* ... */
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-------------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-------------------------------------+
|Interface Stability |Standard: FC-MI 1.92 (API version 1) |
+-----------------------------+-------------------------------------+
| |Standard: FC-HBA Version 4 (API ver- |
| |sion 2) |
+-----------------------------+-------------------------------------+
|MT-Level |Safe |
+-----------------------------+-------------------------------------+
SEE ALSO libhbaapi(3LIB), attributes(5)
T11 FC-MI Specification
SunOS 5.11 1 Sep 2003 HBA_GetNumberOfAdapters(3HBAAPI)
Due to speed mismatch, the server kept crashing. Sun suggests that I need to move the two HBA cards from the 66Mhz to the 33Mhz slots. There are tons of disks that are connected to these HBAs and I have Veritas volume manager.
Does anyone have a list of what I need to do prior/after moving to... (3 Replies)
Hello...I got a problem here. I have HBAs installed in one of the domains in E20 and I gotta find out the brand and firmware. But when I do a prtconf, I cannot see the HBA. For other servers installed with HBAs, when I do prtconf on them I can see either qlc or em. Can you guys enlighten me how to... (5 Replies)
Hi,
I'm connecting a Solaris 10 server to a Netapp filer with two single port Emulex (Sun StorageTek PCI-X Enterprise 4GB FC HBA) HBAs. After physically installing both these HBAs what do I ned to do within Solaris 10 to enable them and configure them with persistent bindings.
Do I need... (6 Replies)
Hi every body,
Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber.
Note it is direct connection & there is no switches between the servers.
I'm concern about using HBA adapters, it is possible or not.
Thanks in advance. :) (3 Replies)
Hi All,
I'm actually trying to configure a Qlogic HBA on a solaris9 connecting in a Brocade SAN. I installed Solaris9 and now trying to look at FC devices..
bash-2.05# luxadm -e port
Found path to 0 HBA ports
bash-2.05# luxadm probe
No Network Array enclosures found in /dev/es... (7 Replies)
Read the rest of this article here --> Computer Things (Programming With The Lowest Common Denominator)
I found this interesting, what do you think? Do you agree, disagree, don't care, etc :-) (1 Reply)
This is getting very confusing for me, and appreciate if someone can help.
Platform: Power VM ( Virtual I/O Server)
ioslevel 2.1.3.10-FP23
# oslevel -s
6100-05-00-0000
Storage: IBM DS4300
Two HBAs - Dual Port Fibre Adapter Channels
Each card has two ports , so a total of 4 ports going... (3 Replies)
The chassis config is right... this blade can boot to VMware ESXi and see HBAs and LUNs. Solaris isn't seeing the HBAs at all... luxadm probe returns ERROR: No Fibre Channel Adapters found.
fcinfo hba-port -l returns No Adapters Found.
prtdiag -v gets me:
==== Upgradeable Slots... (3 Replies)