Skip to content

Commit e846779

Browse files
authored
Merge pull request #44188 from jldohmann/BZ2066913
2 parents acd0c19 + 3f108c6 commit e846779

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

modules/installation-special-config-raid.adoc

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77

88
You can enable software RAID partitioning to provide an external data volume. {product-title} supports RAID 0, RAID 1, RAID 4, RAID 5, RAID 6, and RAID 10 for data protection and fault tolerance. See "About disk mirroring" for more details.
99

10+
.Prerequisites
11+
12+
* You have downloaded the {product-title} installation program on your installation node.
13+
* You have installed Butane on your installation node.
14+
+
15+
[NOTE]
16+
====
17+
Butane is a command-line utility that {product-title} uses to provide convenient, short-hand syntax for writing machine configs, as well as for performing additional validation of machine configs. For more information, see the _Creating machine configs with Butane_ section.
18+
====
19+
20+
.Procedure
21+
1022
. Create a Butane config that configures a data volume by using software RAID.
1123

1224
* To configure a data volume with RAID 1 on the same disks that are used for a mirrored boot disk, create a `$HOME/clusterconfig/raid1-storage.bu` file, for example:
@@ -87,19 +99,14 @@ storage:
8799
with_mount_unit: true
88100
----
89101

90-
. Run Butane to create a RAID manifest from the Butane config you created in the previous step, for example:
91-
+
92-
[source,terminal]
93-
----
94-
$ butane $HOME/clusterconfig/<butane_file> -o ./<manifest_name>.yaml <1>
95-
----
96-
<1> Replace `<butane_file>` and `<manifest_name>` with the file names from the previous step. For example, `raid1-alt-storage.bu` and `raid1-alt-storage.yaml` for secondary disks.
97-
98-
. Apply the manifest to your cluster by running the following command:
102+
. Create a RAID manifest from the Butane config you created in the previous step and save it to the `<installation_directory>/openshift` directory. For example, to create a manifest for the compute nodes, run the following command:
99103
+
100104
[source,terminal]
101105
----
102-
$ oc create -f <manifest_name>.yaml
106+
$ butane $HOME/clusterconfig/<butane_config>.bu -o <installation_directory>/openshift/<manifest_name>.yaml <1>
103107
----
108+
<1> Replace `<butane_config>` and `<manifest_name>` with the file names from the previous step. For example, `raid1-alt-storage.bu` and `raid1-alt-storage.yaml` for secondary disks.
104109

105110
. Save the Butane config in case you need to update the manifest in the future.
111+
112+
. Continue with the remainder of the {product-title} installation.

0 commit comments

Comments
 (0)