Skip to content

Commit 6b99a33

Browse files
committed
Add documentation for RAID feature
In OCP4.10, the feature of configuring the RAID of the worker node in the process of IPI has been added. Add corresponding documents for detailed description. Signed-off-by: Zhou Hao <[email protected]>
1 parent 9e5a697 commit 6b99a33

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

installing/installing_bare_metal_ipi/ipi-install-installation-workflow.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ ifeval::[{product-version} > 4.8]
5353
include::modules/ipi-install-configuring-bios-for-worker-node.adoc[leveloffset=+2]
5454
endif::[]
5555

56+
include::modules/ipi-install-configuring-raid-for-worker-node.adoc[leveloffset=+2]
57+
5658
include::modules/ipi-install-creating-a-disconnected-registry.adoc[leveloffset=+1]
5759

5860
include::modules/ipi-install-deploying-routers-on-worker-nodes.adoc[leveloffset=+1]
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing_bare_metal_ipi/ipi-install-configuration-files.adoc
4+
[id="configuring-raid-for-worker-node_{context}"]
5+
= Configuring RAID for worker node
6+
7+
The following procedure configures RAID (Redundant Array of Independent Disks) for the worker node during the installation process.
8+
9+
[NOTE]
10+
====
11+
. Only servers with BMC (Baseboard Management Controller) type `irmc` are supported. Other types of servers are currently not supported.
12+
. If you want to configure hardware RAID for the server, make sure the server has a RAID controller.
13+
====
14+
15+
.Procedure
16+
. Create manifests.
17+
. Modify the BMH (Bare Metal Host) file corresponding to the worker:
18+
+
19+
[source,terminal]
20+
----
21+
$ vim clusterconfigs/openshift/99_openshift-cluster-api_hosts-3.yaml
22+
----
23+
+
24+
[NOTE]
25+
====
26+
Because servers with BMC type `irmc` do not support software RAID, the following RAID configuration uses hardware RAID as an example.
27+
====
28+
+
29+
.. If you added specific RAID configuration to the spec, this causes the worker node to delete the original RAID configuration in the `preparing` phase and perform a specified configuration on the RAID. For example:
30+
+
31+
[source,yaml]
32+
----
33+
spec:
34+
raid:
35+
hardwareRAIDVolumes:
36+
- level: "0"
37+
name: "sda"
38+
numberOfPhysicalDisks: 1
39+
rotational: true
40+
sizeGibibytes: 0
41+
----
42+
<1> `level` is a required field, and the others are optional fields.
43+
+
44+
.. If you added an empty RAID configuration to the spec, this empty configuration causes the worker node to delete the original RAID configuration during the `preparing` phase, but does not perform a new configuration. For example:
45+
+
46+
[source,yaml]
47+
----
48+
spec:
49+
raid:
50+
hardwareRAIDVolumes: []
51+
----
52+
+
53+
.. If you do not add a `raid` field in the spec, the original RAID configuration is not deleted, and no new configuration will be performed.
54+
. Create cluster.

0 commit comments

Comments
 (0)