|
7 | 7 |
|
8 | 8 | 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.
|
9 | 9 |
|
| 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 | + |
10 | 22 | . Create a Butane config that configures a data volume by using software RAID.
|
11 | 23 |
|
12 | 24 | * 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:
|
87 | 99 | with_mount_unit: true
|
88 | 100 | ----
|
89 | 101 |
|
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: |
99 | 103 | +
|
100 | 104 | [source,terminal]
|
101 | 105 | ----
|
102 |
| -$ oc create -f <manifest_name>.yaml |
| 106 | +$ butane $HOME/clusterconfig/<butane_config>.bu -o <installation_directory>/openshift/<manifest_name>.yaml <1> |
103 | 107 | ----
|
| 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. |
104 | 109 |
|
105 | 110 | . 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