You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* xref:../../installing/installing_bare_metal_ipi/ipi-install-installation-workflow.adoc#configuring-host-network-interfaces-in-the-install-config-yaml-file_ipi-install-installation-workflow[(Optional) Configuring host network interfaces in the install-config.yaml file]
23
+
* xref:../../scalability_and_performance/managing-bare-metal-hosts.adoc#automatically-scaling-machines-to-available-bare-metal-hosts_managing-bare-metal-hosts[Automatically scaling machines to the number of available bare metal hosts]
. Power off the bare metal node by using the baseboard management controller, and ensure it is off.
33
+
. Power off the bare metal node by using the baseboard management controller (BMC), and ensure it is off.
34
34
35
35
. Retrieve the user name and password of the bare metal node's baseboard management controller. Then, create `base64` strings from the user name and password:
<1> Replace `<num>` for the worker number of the bare metal node in the two `name` fields and the `credentialsName` field.
97
-
<2> Replace `<base64-of-uid>` with the `base64` string of the user name.
98
-
<3> Replace `<base64-of-pwd>` with the `base64` string of the password.
99
-
<4> Replace `<NIC1-mac-address>` with the MAC address of the bare metal node's first NIC. See the BMC addressing section for additional BMC configuration options. Replace `<protocol>` with the BMC protocol, such as IPMI, RedFish, or others.
100
-
<5> Replace `<bmc-ip>` with the IP address of the bare metal node's baseboard management controller.
101
-
<6> Optional. You can set the `networkConfig` configuration option to configure host network interfaces. See "(Optional) Configuring host network interfaces in the `install-config.yaml` file" in the "Setting up the environment for an OpenShift installation" section for configuration details.
<1> Optional: To configure network for a newly created node, specify the name of the secret that contains the network configuration. Follow the `nmstate` syntax to define the network configuration for your node.
109
+
<2> Replace `<num>` for the worker number of the bare metal node in the `name` fields, the `credentialsName` field, and the `preprovisioningNetworkDataName` field.
110
+
<3> Replace `<base64-of-uid>` with the `base64` string of the user name.
111
+
<4> Replace `<base64-of-pwd>` with the `base64` string of the password.
112
+
<5> Replace `<NIC1-mac-address>` with the MAC address of the bare metal node's first NIC. See the "BMC addressing" section for additional BMC configuration options.
113
+
<6> Replace `<protocol>` with the BMC protocol, such as IPMI, RedFish, or others. Replace `<bmc-ip>` with the IP address of the bare metal node's baseboard management controller.
114
+
<7> To skip certificate validation, set `disableCertificateVerification` to `true`.
115
+
<8> Replace `<bmc-username>` with the `bmc` string of the user name.
116
+
<9> Replace `<bmc-password>` with the `bmc` string of the password.
117
+
<10> Optional: Provide the network configuration secret name in the `preprovisioningNetworkDataName` of the `BareMetalHost` CR if you have configured network for the newly created node.
secret/openshift-worker-<num>-network-config-secret created
118
135
secret/openshift-worker-<num>-bmc-secret created
119
136
baremetalhost.metal3.io/openshift-worker-<num> created
120
137
----
@@ -136,3 +153,8 @@ Where `<num>` is the worker node number.
136
153
NAME STATE CONSUMER ONLINE ERROR
137
154
openshift-worker-<num> available true
138
155
----
156
+
+
157
+
[NOTE]
158
+
====
159
+
To allow the worker node to join the cluster, scale the `machineset` object to the number of the `BareMetalHost` objects. You can scale nodes either manually or automatically. To scale nodes automatically, use the `metal3.io/autoscale-to-hosts` annotation for `machineset`.
0 commit comments