|
Other manuals for this model:
manual abstract
Table of Contents
1 FC SNIA HBA API Overview.........................................................................................7
Introduction............................................................................................................................................7
Disclaimer...............................................................................................................................................7
Common Library Source and Readme Files.....................................................................................7
The SNIA Public License...................................................................................................................7
Terms and Acronyms in this Guide........................................................................................................8
FC SNIA HBA API Overview.................................................................................................................9
FC SNIA HBA API Features...................................................................................................................9
2 HBA Common Library APIs.........................................................................................11
Introduction - How to Read Each API..................................................................................................11
General Vendor Implemented Functions.............................................................................................11
HBA_GetVersion.............................................................................................................................11
HBA_LoadLibrary...........................................................................................................................11
HBA_FreeLibrary............................................................................................................................12
HBA_GetNumberOfAdapters.........................................................................................................13
HBA_GetAdapterName..................................................................................................................13
HBA_OpenAdapter ........................................................................................................................14
HBA_CloseAdapter ........................................................................................................................15
Informational Functions.......................................................................................................................15
HBA_GetAdapterAttributes............................................................................................................15
HBA_GetAdapterPortAttributes ....................................................................................................16
HBA_GetPortStatistics ....................................................................................................................17
HBA_GetDiscoveredPortAttributes ...............................................................................................18
HBA_GetPortAttributesByWWN....................................................................................................20
FC-3 Management Functions................................................................................................................21
HBA_ SendCTPassThru...................................................................................................................21
HBA_GetEventBuffer......................................................................................................................22
HBA_SetRNIDMgmtInfo................................................................................................................24
HBA_GetRNIDMgmtInfo................................................................................................................25
HBA_SendRNID..............................................................................................................................26
FCP Information Functions...................................................................................................................27
HBA_GetFcpTargetMapping...........................................................................................................27
HBA_GetFcpPersistentBinding.......................................................................................................29
SCSI Informational Functions...............................................................................................................30
HBA_SendScsiInquiry.....................................................................................................................30
HBA_SendReportLUNs...................................................................................................................32
HBA_SendReadCapacity.................................................................................................................33
Control Functions.................................................................................................................................34
HBA_RefreshInformation................................................................................................................35
HBA_ResetStatistics.........................................................................................................................35
Compiling User Applications with HP's HBA API Common Library.................................................35
3 Creating a Vendor Library for HP's HBA SNIA API ................................................37
The /etc/hba.conf File............................................................................................................................37
Headers for Inclusion............................................................................................................................37
Simplifying Code with the Common Library.......................................................................................37
Sample Programs..................................................................................................................................37
Table of Contents
3
...Other models in this manual:
Network Equipment - HP-UX 11i v1 I/O Cards (346.83 kb)