IPMI System Boot Options SupportUsing HPI-B
Table 4-12 Boot Option State
SaHpiCtrlStateT | Value |
|
|
Type | SAHPI_CTRL_TYPE_OEM |
|
|
StateUnion.Oem.Mid | MOTHPI_MANUFACTURER_ID_MOTOROLA |
|
|
StateUnion.Oem.BodyLength | Get operations: |
| When input parameter: 3 |
| When output parameter: Total length of the response data - |
| 2 |
| Set operations: |
| Total length of the request data |
|
|
StateUnion.Oem.Body | Get operations: |
| When input parameter: |
| Byte 0: Parameter selector |
| Byte 1: Set selector |
| Byte 2: Block selector |
| When output parameter: |
| Response data from the GetSystemBootOptions IPMI |
| command without the first two bytes |
| Set operations: |
| Request data for the IPMI SetSystemBootOptionss |
| command |
|
|
Example: on most Emerson blades, the BIOS software is stored twice on a flash device, BIOS bank 1 and BIOS bank 2. The bank to boot from can be selected with the System Boot Options Control.
You have to select parameter 96 with the Boot Option Select Control and then set the BIOS 1
(0) or BIOS 2 (1) with the Boot Option Control.
The following example shows how to set BIOS 2 for a resource with the ID 120 using an example program which is delivered together with the
hpibootoptions -r 120 96 1
The example program hpibootoptions, which is available in the base RPM package, shows how an option can be set or got.
System Management Interface Based on | 35 |