Emerson 4620 manual Accessing HPI Domains Using HPI-B

Page 25

Accessing HPI Domains

Using HPI-B

 

 

The following figure illustrates an example configuration with four domains and three shelves.

Figure 4-1 Multishelf Library - Representation of Shelves as Domains

Any FRUs available in a shelf are represented as HPI resources together with Resource Data Records (RDRs) corresponding to that FRU. Whenever a FRU is added to or removed from a shelf, the corresponding HPI resource/RDR is added/removed from the HPI domain.

4.3.2Accessing HPI Domains

In order to access an HPI domain, you must open a session via the HPI call saHpiSessionOpen() and provide as first parameter the domain ID of the corresponding HPI domain. How to obtain the domain ID is described later within this section about the multishelf HPI library.

If you want to access several shelves, then you need to open several sessions simultaneously, one session for each HPI domain which represents a shelf. It is also possible to open several sessions for one HPI domain/shelf only as well.

When the connection to a shelf is lost, all running HPI calls which access the corresponding domain return immediately with the error code SA_HPI_ERR_NO_RESPONSE. All open sessions for the affected domain are automatically closed by the multishelf library. In the meantime, the library tries to regain access to the shelf. As soon as the connection is reestablished, the domain is recreated and the application can open another session and access the domain again. Whenever a domain is created or removed, an HPI event from the HPI Communication State sensor is generated in the default domain (see Connection State Sensor on page 30 and HPI Domain Events on page 31).

HPI events are handled domain wide. This means that HPI events from a shelf or FRUs in that shelf are only visible and can only be received within the session that corresponds to that domain.

System Management Interface Based on HPI-B (Centellis 4620) User’s Guide (6806800D85A)

25

Image 25
Contents System Management Interface Based on HPI-B Centellis Contact Address Contents Related Documentation ContentsDefinition of Domain Management Resource List of TablesPage List of Figures Page About this Manual Overview of ContentsAbbreviations About this Manual Abbreviation Description ConventionsNotation Description BoldComments and Suggestions Summary of ChangesAbout this Manual Notation Description Page Introduction System Management Interfaces OverviewStandard Compliances ArchitectureSystem Management Interfaces Overview HPI Library HPI LibraryHPI Daemon High AvailabilityHPI Daemon Page Installing and Configuring the HPI-B Daemon Software Installation and ConfigurationOverview RPM Files for HPI-B Clients and DaemonsConfiguring an HPI Daemon Installing an HPI-B DaemonOverview of HPI-B Directories and Files on ATCA-F120 Directory DescriptionInstalling HPI Clients Setting Up HPI ClientsOverview of HPI-B Directories and Files on Node Blades Multishelf Library Configuration File HPI Daemon Entries Configuring HPI ClientsIP Addresses/Ports of HPI Daemons in a Centellis 4620 Shelf Entry DescriptionDeveloping Applications Directory ContentBuilding the Application Development RPMs Directory StructurePage Limitations with Respect to HPI-B Base Specification Using HPI-BLimitations Overview Working with the Multishelf LibraryAccessing HPI Domains Using HPI-B Accessing HPI DomainsHow Domains and Shelves are Represented Using HPI-B How Domains and Shelves are RepresentedHow Domains and Shelves are Represented Using HPI-B Domain Management Control RDR Definition of Domain Management ResourceSaHpiRptEntryT Value SaHpiRdrT ValueDomain Management Control State Domain Management ControlShelf Management Resource Connection State RDR Using HPI-BHow Domains and Shelves are RepresentedDomain Connection Sensor Discovering Shelves and DomainsDomain Connection Sensor Reading Domain Connection Sensor EventsAdding and Removing Shelves and Domains Using HPI-B Adding and Removing Shelves and DomainsParameter Value Emerson Extensions Emerson Extensions Using HPI-B10 Boot Option RDR Ipmi System Boot Options Support11 Boot Option Control Using HPI-B HPI Controls for Domain and Shelf ManagementIpmi System Boot Options SupportUsing HPI-B 12 Boot Option StateGet operations Set operationsHPI Logging Support Post Type Control13 Post Type HPI Control RDR 14 Post Type HPI Control Sate Values15 Log RDR HPI Logging Support Using HPI-B16 Log Control 17 Log Control State Using HPI-BHPI Logging SupportExample Application Source Files Example ApplicationsList of Supported Example Applications Example Applications List of Supported Example Applications List of Supported Example ApplicationsExample Applications Display everything #------------------------------hpifumi #------------------------------ hpihotswap String Example Applications List of Supported Example Applications Option #------------------------------ hpishelf Value Display sensors Related Specifications Emerson Network Power Embedded Computing DocumentsTable B-2 Related Specifications Related Documentation