SOP Configure local storage

Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
David Kirwan 2021-09-16 11:12:39 +09:00
parent bcf8bf187c
commit 0a1ee8e13c
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
== Configure the Local Storage Operator
=== Resources
- [1] https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.7/html/deploying_openshift_container_storage_using_bare_metal_infrastructure/deploy-using-local-storage-devices-bm
- [2] https://github.com/centosci/ocp4-docs/blob/master/sops/localstorage/installation.md
=== Installation
For installation instructions visit the official docs at: [1]. The CentOS CI SOP at [2] also has more context but it is now slightly dated.
- From the webconsole, click on the `Operators` option, then `OperatorHub`
- Search for `Local Storage`
- Click install
- Make sure the `Update Channel` matches the major.minor version of your OCP4 install
- Choose `A specific namespace on this cluster`
- Choose `Operator recommended namespace`
- Update approval set to automatic
- Click install
=== Configuration
A prerequisite to this step is to have all volumes on the nodes already formatted and available prior to this step. This can be done via a machineconfig/ignition file during installation time, or alternatively SSH onto the boxes and manually create / format the volumes.
- Create a `LocalVolumeDiscovery` and configured it to target the disks on all nodes
- When that process is complete, it creates `LocalVolumeDiscoveryResult` objects which you can search the type for, then examine to see if it has found the correct disks and if they are showing as available.
- Create a `LocalVolumeSet`: name `local-block` storage class `local-block` type all, devicetypes disk, part, filter disks by, choose the selected nodes worker01-03, volume mode block. Create.
- After a period of time check the newly created LocalVolumeSet `local-block` object's yaml definition, it should show the correct number of volumes listed in the `totalProvisionedDeviceCount` field.

View file

@ -7,3 +7,5 @@
- xref:sop_configure_image_registry_operator.adoc[SOP Configure the Image Registry Operator]
- xref:sop_configure_oauth_ipa.adoc[SOP Configure oauth Authentication via IPA/Noggin]
- xref:sop_disable_provisioners_role.adoc[SOP Disable the Provisioners Role]
- xref:sop_configure_local_storage_operator.adoc[SOP Configure the Local Storage Operator]