Comment 4 for bug 1852328

Revision history for this message
Eric MacDonald (rocksolidmtce) wrote :

This description needs to also include redfish only as a selectable option and how these options are set through horizon and the CLI. Here let me provide that info ...

Now, with this update and the current bmc_access_method as a service parameter removed, the system supports 3 Board Management provisioning options ; ipmi, redfish or dynamic along with (of course) the required BMC IP address, username and password (at the host level).

The bm_type is used to specify the method by which the system maintenance will communicate with the BMC to perform power/reset control as well as sensor monitoring. here is a summary of the selectable board management types.

bm_type=ipmi ... instructs system maintenance to use IPMI when communicating with the BMC
bm_type=redfish ... instructs system maintenance to use Redfish when communicating with the BMC
bm_type=dynamic ... allows system maintenance to choose the access method with a priority towards Redfish
                    if that host demonstrates Redfish support.
                    Otherwise system maintenance will default to use IPMI.

The current bm_type=bmc is now obsolete.

In the following are CLI Board Management provisioning options for each of the new bm_type access methods.

> system host-update <hostname> bm_type=ipmi bm_password=<bmc pw> bm_username=<bm un> bm_ip=<bm ip>
> system host-update <hostname> bm_type=redfish bm_password=<bmc pw> bm_username=<bm un> bm_ip=<bm ip>
> system host-update <hostname> bm_type=dynamic bm_password=<bmc pw> bm_username=<bm un> bm_ip=<bm ip>

In Horizon, like before, for the target host, select 'Edit Host' and the 'Board Management' tab which presents a pull down for 'Board Management Controller type' from which the administrator can select one of the the 3 provisioning options that correspond to the CLI type options mentioned above.

 - Dynamic (learn)
 - Redfish
 - IPMI

Select the preferred method followed by the BMC ip and credentials ; then select 'Save'.
System Inventory then sends this information to System Maintenance which then tries to establish connection to the target BMC using the specified board management type method.

If the information is valid and connection is established then that host's power and reset control become manageable by corresponding system commands and that hosts sensor model will be automatically learned, created and monitored.

If the BMC does not support the selected board management type (access method), say by having selected Redfish for a host that does not support redfish or an invalid bm ip or credentials, the Administrator will see a 'BMC access alarm' (200.010) warning after 2-3 minutes.

A host's BMC can be re-provisioned at any time. Any BMC provisioning changes trigger System Maintenance to re-establish / re-verify connection to the BMC. If the bm ip or board management controller type is changed then System Maintenance will also instruct the hardware monitor to relearn that hosts sensor model.

A host's BMC can be deprovisioned at any time with CLI by setting bm_type=none or selecting No Board Management Controller in the list of Board Management Controller types in Horizon > Edit Host > Board Management tab.

CLI deprovisioning example:

> system host-update <hostname> bm_type=none

In CLI, all bm_type provisioning options are lower case sensitive.