Emerson 4620 manual Emerson Extensions Using HPI-B

Page 33

Emerson Extensions

Using HPI-B

 

 

After calling saHpiControlStateSet(), a new resource with the domain name you supplied as parameter is created. Additionally, a hot swap event of type ACTIVE for the created resource is sent. The newly created shelf is also added to the HPI multishelf configuration file as a new entry.

All shelves must have different IP addresses.

4.3.5.2Removing Shelves and Domains

In order to dynamically remove a shelf/domain, you must invoke the HPI function saHpiControlStateSet() and provide the following parameters.

Parameter

Value

 

 

SessionId

Handle to session context.

 

 

ResourceId

Resource ID of the addressed resource.

 

 

CtrlNum

Number of the control for which the state is

 

being set.

 

 

CtrlState

Pointer to control state as described in Table

 

"Domain Management Control State" on page 29.

 

In this control state, fill the field body as follows:,

 

[0]

: 2 (stands for "remove domain")

 

[1] - [4] : IP address of shelf you want to add (little

 

endian order)

 

[5]

- [6] : port of shelf (little endian order)

 

[7]

- [n] : Domain name

 

 

 

If the domain/shelf specified in the call exists, the domain/shelf is removed, an HPI domain removed event is generated and any sessions that may be open to this domain are closed. Furthermore the domain shelf resource in the HPI domain is removed and a hot swap even of type "NOT_PRESENT" is generated.

4.4Emerson Extensions

The following describes features which are not specified in the HPI-B specifications, but were added by Emerson.

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

33

Image 33
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 Overview of Contents About this ManualAbbreviations About this Manual Abbreviation Description ConventionsNotation Description BoldSummary of Changes Comments and SuggestionsAbout this Manual Notation Description Page Introduction System Management Interfaces OverviewStandard Compliances ArchitectureSystem Management Interfaces Overview HPI Library HPI LibraryHigh Availability HPI DaemonHPI 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 DescriptionSetting Up HPI Clients Installing 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 Using HPI-B Limitations with Respect to HPI-B Base SpecificationLimitations 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 Domain Management Control StateShelf 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 EventsUsing HPI-B Adding and Removing Shelves and Domains 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 ValuesHPI Logging Support Using HPI-B 15 Log RDR16 Log Control 17 Log Control State Using HPI-BHPI Logging SupportExample Applications Example Application Source FilesList 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