unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 FC SNIA API(3C)					     FC SNIA API(3C)




 NAME
      FC SNIA HBA API Fibre Channel Storage Network Industry Association
      Host Bus Adapter Application Programming Interface


 DESCRIPTION
      The Common HBA API provides a consistent HBA standard interface for
      accessing information in a Fibre Channel Storage Area Network that
      would be implemented across vendors as a standard 'C' API supported by
      vendor specific library instances.

      This API library is thread-safe, but threads should not be cancelled
      when execution is in the API.

      The following functions are available in the API for managing a Fibre
      Channel HBA. This API would be exposed to upper level applications to
      control SAN functionality.

      Please refer to FC MI Revision 1.6 Annexure A for details on
      structures used.

      General Vendor-Implemented Functions
		     01.  HBA_GetVersion();
		     02.  HBA_LoadLibrary();
		     03.  HBA_FreeLibrary();
		     04.  HBA_GetNumberOfAdapters();
		     05.  HBA_GetAdapterName();
		     06.  HBA_OpenAdapter();
		     07.  HBA_CloseAdapter();

      Informational Functions
		     08.  HBA_GetAdapterAttributes();
		     09.  HBA_GetAdapterPortAttributes();
		     10.  HBA_GetPortStatistics();
		     11.  HBA_GetDiscoveredPortAttributes();
		     12.  HBA_GetPortAttributesByWWN();

      FC-3 Management Functions
		     13.  HBA_SendCTPassThru();
		     14.  HBA_GetEventBuffer();
		     15.  HBA_SetRNIDMgmtInfo();
		     16.  HBA_GetRNIDMgmtInfo();
		     17.  HBA_SendRNID();

      FCP Information Functions
		     18.  HBA_GetFcpTargetMapping();
		     19.  HBA_GetFcpPersistentBinding();
      NOTE: FCP Information Functions require that the applications calling
      them have an effective user id as that of the root user (euid = 0).

      SCSI Information Functions



 Hewlett-Packard Company	    - 1 -  HP-UX Release 11i : December 2001






 FC SNIA API(3C)					     FC SNIA API(3C)




		     20.  HBA_SendScsiInquiry();
		     21.  HBA_SendReportLUNs();
		     22.  HBA_SendReadCapacity();
      NOTE: SCSI Information Functions require that the applications calling
      them have an effective user id as that of the root user (euid = 0).

      Control Functions
		     23.  HBA_RefreshInformation();
		     24.  HBA_ResetStatistics();

 FILES
      /usr/include/snia_common.h    Contains the related data structures and
				    definitions as in FC MI Revision 1.6.

 AUTHOR
      Hewlett-Packard Company

 SEE ALSO
      HBA_GetVersion(3C), HBA_LoadLibrary(3C), HBA_FreeLibrary(3C),
      HBA_GetNumberOfAdapters(3C), HBA_GetAdapterName(3C),
      HBA_OpenAdapter(3C), HBA_CloseAdapter(3C),
      HBA_GetAdapterAttributes(3C), HBA_GetAdapterPortAttributes(3C),
      HBA_GetPortStatistics(3C), HBA_GetDiscoveredPortAttributes(3C),
      HBA_GetPortAttributesByWWN(3C), HBA_SendCTPassThru(3C),
      HBA_GetEventBuffer(3C), HBA_SetRNIDMgmtInfo(3C),
      HBA_GetRNIDMgmtInfo(3C), HBA_SendRNID(3C),
      HBA_GetFcpTargetMapping(3C), HBA_GetFcpPersistentBinding(3C),
      HBA_SendScsiInquiry(3C), HBA_SendReportLUNs(3C),
      HBA_SendReadCapacity(3C), HBA_RefreshInformation(3C),
      HBA_ResetStatistics(3C)
























 Hewlett-Packard Company	    - 2 -  HP-UX Release 11i : December 2001