Adding file systems to an IBM Storage Scale (CNSA) cluster

Provides steps to add multiple remote file systems to an existing IBM Storage Scale (CNSA) cluster using the Red Hat® OpenShift® Container Platform web console.

Before you begin

Ensure that the following prerequisites are met:
  • An IBM Storage Scale (CNSA) cluster is already configured as an external system. For instructions, see Configuring with IBM Storage Scale.
  • You have administrative access to the Red Hat OpenShift Container Platform web console.
  • The file systems to be added already exist on the IBM Storage Scale cluster.

Procedure

  1. Log in to the Red Hat OpenShift Container Platform web console with administrative privileges.
  2. From the navigation menu, go to Storage > External systems.
  3. On the External systems page, locate the configured IBM Scale (CNSA) cluster.
  4. Click the More actions (⋮) icon at the end of the IBM Scale (CNSA) cluster row.
  5. Select Add Remote FileSystem.
  6. In the Add Remote FileSystem dialog, enter the name of the IBM Storage Scale file system that you want to add.
  7. Click Add.
    Note: To exit without adding the file system, click Cancel.
  8. Verify that the newly added file system appears under the selected IBM Storage Scale (CNSA) cluster.
  9. Repeat steps 4 through 8 to add additional file systems to the same IBM Storage Scale (CNSA) cluster.
  10. Create a StorageClass for each added file system, if required.

    After adding the file system, manually create a StorageClass to enable dynamic provisioning.

    Important: In IBM Fusion 2.12 and earlier releases, IBM Fusion automatically created a StorageClass when a file system was added. Starting with IBM Fusion 2.13 and later, and with the integration of the IBM Storage Scale remote mount capability in Fusion Data Foundation 4.21 or later, StorageClasses are no longer created automatically. You must create them manually after adding the file system, if required.

    Use the following example as a reference to create a StorageClass for each added file system. Update the parameter values to match your environment and file system configuration.

    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
      name: ibm-spectrum-scale-sc
    provisioner: spectrumscale.csi.ibm.com
    parameters:
      clusterId: "1234567890123456"
      volBackendFs: "fs1-1234567890123456"
      version: "2"
      shared: "false"
    allowVolumeExpansion: true
    reclaimPolicy: Delete
    volumeBindingMode: Immediate

    For more information about the StorageClass configurations supported by IBM Storage Scale, see Configuring a storage class for use with the CSI driver.