Skip to content

Commit f79aa2d

Browse files
authored
Merge pull request #53597 from rohennes/TELCODOCS-804-BMO
TELCODOCS-804 adding conceptual info about the BMO
2 parents c3db0c4 + 8f5ffd4 commit f79aa2d

File tree

4 files changed

+80
-6
lines changed

4 files changed

+80
-6
lines changed
89.5 KB
Loading
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// This is included in the following assemblies:
2+
//
3+
// post_installation_configuration/bare-metal-configuration.adoc
4+
5+
:_module-type: CONCEPT
6+
[id="bmo-about-the-bare-metal-operator_{context}"]
7+
= About the Bare Metal Operator
8+
9+
Use the Bare Metal Operator (BMO) to provision, manage, and inspect bare-metal hosts in your cluster.
10+
11+
The BMO uses three resources to complete these tasks:
12+
13+
* `BareMetalHost`
14+
* `HostFirmwareSettings`
15+
* `FirmwareSchema`
16+
17+
The BMO maintains an inventory of the physical hosts in the cluster by mapping each bare-metal host to an instance of the `BareMetalHost` custom resource definition. Each `BareMetalHost` resource features hardware, software, and firmware details. The BMO continually inspects the bare-metal hosts in the cluster to ensure each `BareMetalHost` resource accurately details the components of the corresponding host.
18+
19+
The BMO also uses the `HostFirmwareSettings` resource and the `FirmwareSchema` resource to detail firmware specifications for the bare-metal host.
20+
21+
The BMO interfaces with bare-metal hosts in the cluster by using the Ironic API service. The Ironic service uses the Baseboard Management Controller (BMC) on the host to interface with the machine.
22+
23+
Some common tasks you can complete by using the BMO include the following:
24+
25+
* Provision bare-metal hosts to the cluster with a specific image
26+
* Format a host's disk contents before provisioning or after deprovisioning
27+
* Turn on or off a host
28+
* Change firmware settings
29+
* View the host's hardware details
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
// This is included in the following assemblies:
2+
//
3+
// post_installation_configuration/bare-metal-configuration.adoc
4+
:_content-type: CONCEPT
5+
[id="bmo-bare-metal-operator-architecture_{context}"]
6+
= Bare Metal Operator architecture
7+
8+
The Bare Metal Operator (BMO) uses three resources to provision, manage, and inspect bare-metal hosts in your cluster. The following diagram illustrates the architecture of these resources:
9+
10+
image::302_OpenShift_Bare_Metal_Operator_0223.png[BMO architecture overview]
11+
12+
.BareMetalHost
13+
14+
The `BareMetalHost` resource defines a physical host and its properties. When you provision a bare-metal host to the cluster, you must define a `BareMetalHost` resource for that host. For ongoing management of the host, you can inspect the information in the `BareMetalHost` or update this information.
15+
16+
The `BareMetalHost` resource features provisioning information such as the following:
17+
18+
* Deployment specifications such as the operating system boot image or the custom RAM disk
19+
* Provisioning state
20+
* Baseboard Management Controller (BMC) address
21+
* Desired power state
22+
23+
The `BareMetalHost` resource features hardware information such as the following:
24+
25+
* Number of CPUs
26+
* MAC address of a NIC
27+
* Size of the host's storage device
28+
* Current power state
29+
30+
.HostFirmwareSettings
31+
You can use the `HostFirmwareSettings` resource to retrieve and manage the firmware settings for a host. When a host moves to the `Available` state, the Ironic service reads the host's firmware settings and creates the `HostFirmwareSettings` resource. There is a one-to-one mapping between the `BareMetalHost` resource and the `HostFirmwareSettings` resource.
32+
33+
You can use the `HostFirmwareSettings` resource to inspect the firmware specifications for a host or to update a host's firmware specifications.
34+
35+
[NOTE]
36+
====
37+
You must adhere to the schema specific to the vendor firmware when you edit the `spec` field of the `HostFirmwareSettings` resource. This schema is defined in the read-only `FirmwareSchema` resource.
38+
====
39+
40+
.FirmwareSchema
41+
Firmware settings vary among hardware vendors and host models. A `FirmwareSchema` resource is a read-only resource that contains the types and limits for each firmware setting on each host model. The data comes directly from the BMC by using the Ironic service. The `FirmwareSchema` resource enables you to identify valid values you can specify in the `spec` field of the `HostFirmwareSettings` resource.
42+
43+
A `FirmwareSchema` resource can apply to many `BareMetalHost` resources if the schema is the same.
44+
45+
[role="_additional-resources"]
46+
.Additional resources
47+
* link:https://metal3.io/[Metal³ API service for provisioning bare-metal hosts]
48+
* link:https://ironicbaremetal.org/[Ironic API service for managing bare-metal infrastructure]

post_installation_configuration/bare-metal-configuration.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
When deploying {product-title} on bare metal hosts, there are times when you need to make changes to the host either before or after provisioning. This can include inspecting the host's hardware, firmware, and BIOS details. It can also include formatting disks or changing modifiable BIOS settings. There are two resources that you can use with the Bare Metal Operator (BMO):
10-
11-
* `BareMetalHost`
12-
* `HostFirmwareSettings`
13-
14-
There is also a read-only `FirmwareSchema` resource, which you can use to determine the valid values that you can send to a host when making changes to host firmware settings.
9+
When deploying {product-title} on bare metal hosts, there are times when you need to make changes to the host either before or after provisioning. This can include inspecting the host's hardware, firmware, and firmware details. It can also include formatting disks or changing modifiable firmware settings.
1510

11+
include::modules/bmo-about-the-bare-metal-operator.adoc[leveloffset=+1]
12+
include::modules/con_bmo-bare-metal-operator-architecture.adoc[leveloffset=+2]
1613
include::modules/bmo-about-the-baremetalhost-resource.adoc[leveloffset=+1]
1714
include::modules/bmo-getting-the-baremetalhost-resource.adoc[leveloffset=+1]
1815

0 commit comments

Comments
 (0)