Connecting OpenShift

Install Dell Container Storage Modules, create a PowerScale volume from OpenShift, and turn on snapshots, replication and observability.

Updated CompTech Team

OpenShift pods should not carry hand-written /etc/fstab entries for PowerScale. Dell Container Storage Modules (CSM) provide the CSI driver and the sidecars around it: authorisation, snapshots, replication and observability. You install one operator from OperatorHub, then a custom resource per array. This lab does PowerScale. The same operator also manages Dell's other CSI drivers when you use those arrays.

Images come from quay.io. On a sealed cluster, mirror them and install the operator from your mirrored catalog. The package is the certified "Container Storage Modules" listing; confirm the package name with the review command in the operator list when you mirror a new index.

Install the operator

In the console, install Container Storage Modules into a namespace you create for it, dell-csm-operator. Approval is manual on a sealed cluster. Alternatively apply the subscription YAML Dell ships with the release you are pinning. Then:

oc get pods -n dell-csm-operator
oc get csv -n dell-csm-operator

The operator is idle until you create a driver custom resource. It does not mount storage by itself.

Credentials and the driver

Create a namespace for the PowerScale driver and a secret the driver will read. The secret's config file lists every cluster the driver may call. Replication needs the source and the target in this file.

isilonClusters:
  - clusterName: "cluster1"
    username: "ocp-csi"
    password: "<from your secret store>"
    endpoint: "https://powerscale.lab.example.com"
    isDefault: true
    skipCertificateValidation: false
    isiPath: "/ifs/data/ocp"
oc create namespace isilon
oc create secret generic isilon-creds -n isilon --from-file=config=secret.yaml

Create an empty cert secret as well if you are not yet injecting the array CA (isilon-certs-0 in the isilon namespace, as Dell's samples show). Prefer a real CA in additionalTrustBundle style for the cluster, and turn certificate validation on. A driver that skips TLS checks will not be accepted on the sovereign platform.

Install the PowerScale driver by applying Dell's sample custom resource for your CSM version, edited for this namespace, the secret name, and the OneFS endpoint. The provisioner identity it registers is csi-isilon.dellemc.com.

oc get pods -n isilon
oc get csidrivers | grep isilon

The controller and node plugins should be running before you create a storage class. Snapshotter and resizer sidecars are part of the driver install in current CSM releases.

A storage class and a claim

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: powerscale-nfs
provisioner: csi-isilon.dellemc.com
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: Immediate
parameters:
  ClusterName: "cluster1"
  AccessZone: System
  IsiPath: /ifs/data/ocp
  AzServiceIP: 192.168.111.50
  RootClientEnabled: "false"

AzServiceIP is the SmartConnect address for that zone, not a random node. RootClientEnabled: "false" keeps the pod from mounting as root. Create a claim and a pod:

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: corpora
  namespace: rag
spec:
  accessModes:
    - ReadWriteMany
  storageClassName: powerscale-nfs
  resources:
    requests:
      storage: 100Gi

NFS is ReadWriteMany, which is what a workbench and a pipeline pod both mounting the corpus need. Write a file from one pod and read it from another. Then delete the pods and confirm the directory is still on the array. That is the test that the volume is the array's, not the node's.

One storage class per access zone when you are separating tenants. A single class with AccessZone: System is a lab default, not the production layout in the security lab.

Snapshots

Install the CSI external-snapshotter CRDs if the cluster does not already have them (OpenShift's CSI snapshot support is the usual source). Then:

apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
  name: powerscale-snap
driver: csi-isilon.dellemc.com
deletionPolicy: Delete

A VolumeSnapshot of the claim creates an array snapshot you can restore into a new claim. Use it for a reproducible corpus version before a re-index. Snapshotting a SyncIQ-replicated volume is a documented limitation of the PowerScale CSI driver: do not plan on that combination. Check the CSM version notes when you upgrade.

Replication

CSM replication for PowerScale is asynchronous file replication, built on the array. Enable the replication sidecar in the driver values (controller.replication.enabled: true) and add the remote cluster to the secret. The storage class gains parameters such as replication.storage.dell.com/isReplicationEnabled, remoteClusterID, remoteSystem, remoteAccessZone and remoteAzServiceIP. Dell ships a sample class and the repctl tool to create the paired objects. Fail over only in a drill you have scheduled. A failover is an outage for every pod on that claim.

Observability

The CSM observability module exports array metrics for the platforms it supports into a Prometheus endpoint you can scrape with OpenShift monitoring. Enable it in the driver custom resource when the matrix for your CSM version includes PowerScale, and add a ServiceMonitor in the driver namespace. Alert on capacity of the AI pools and on CSI controller restarts. A full array fails a training job in a way that looks like a Python error.

What's next

  1. PowerScale: access zones, protocols and MetadataIQ behind this storage class.
  2. RAG on Dell: a claim like corpora as the file side of the blueprint.
  3. Security and multi-tenancy: one class per tenant, and mTLS for the NFS path.