Specifications
2
Software Architecture
21
AsshowninFigure 5,theHPIclientlibrary(HCL)isadynamicallylinkedlibrary(DLL)that
providestheHPIAPIaswellasanintegratedRMCPclientforremoteHPIclient‐server
communication.TheHCLsourcecodeisindependentoftheoperatingsystemand
managementprocessor,andworkswithany
genericHPI‐compliantapplication.TheHCLLinux
libraryisinstalledontheShelfManagermodule.TheHCLsourcecodeisavailableinthe
Radisyssoftwaredistribution.
AnSNMPagentisintegratedwiththeHCLinordertoprovideHPIservicestoanSNMP
managementapplication.ToenabletheHPIsubagent,seeEnablingtheHPIsubagenton
page 61.ForthespecificSNMPobjectstouse,seeChapter4,ChangingShelfSettingsUsing
HPI,onpage 53.
TheHPIclientlibrarycommunicateswiththeHPIserverthrougharemotesocketinterface
(seeFigure 6).TheHCLencapsulatesHPIrequestmessagesintoRMCPpackets,whichare
deliveredoverUserDatagramProtocol(UDP).TheHPIserverisresidentontheShelfManager
andacceptsremotecommandsreceivedattheRMCPserverport,623.
Figure 6. HPI implementation
ShMC
ShMS
HPI Server
HPI Server
Socket I/F
HPI Client
Socket I/F
HPI API
Application
Command
Socket
Event
Socket
HPI
Session