Configuring with IBM Storage Scale
Configure IBM Storage Scale (CNSA) to integrate fast, scalable, and reliable file storage with Fusion Data Foundation, ensuring high performance and reliability for enterprise workloads.
Before you begin
Ensure that the following prerequisites are met before configuring IBM Storage Scale (CNSA) in the Red Hat® OpenShift® Container Platform web console:
-
Fusion Data Foundation is installed with the device type set to External.
For instructions, see Installing Fusion Data Foundation.
-
The MachineConfig Operator (MCO) required for IBM Storage Scale is applied.
Command example:kubectl apply -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-container-native/v6.0.0.x/generated/scale/mco/mco.yamlIf you are running OpenShift on s390x, apply the following MachineConfig instead:kubectl apply -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-container-native/v6.0.0.x/generated/scale/mco/mco_s390x.yamlWait 15–20 minutes for the MachineConfig changes to take effect.
-
Verify that all machine config pools are updated:
Command example:
oc get mcpEnsure that the UPDATED column shows True for all entries.
-
An IBM entitlement key is available.
For instructions on obtaining the entitlement key, see Obtaining your entitlement key in IBM Cloud Paks documentation.
-
An ibm‑entitlement‑key secret is created in the ibm-spectrum-scale namespace using the entitlement key.
Command example:
NS=ibm-spectrum-scale # 1) Extract the entitlement key (token string) ENT_KEY=YOUR_KEY echo "$ENT_KEY" # 2) Build a valid docker config JSON using that token AUTH_B64=$(printf 'cp:%s' "$ENT_KEY" | base64 | tr -d '\n') cat > /tmp/ibm-dockerconfig.json <<EOF { "auths": { "cp.icr.io": { "username": "cp", "password": "$ENT_KEY", "auth": "$AUTH_B64" } } } EOF # 3) Create/update ibm-entitlement-key as dockerconfigjson oc create secret generic ibm-entitlement-key \ -n "$NS" \ --from-file=.dockerconfigjson=/tmp/ibm-dockerconfig.json \ --type=kubernetes.io/dockerconfigjson \ --dry-run=client -o yaml | oc apply -f -Important: ReplaceYOUR_KEYwith your IBM entitlement key. -
Host aliases for all virtual machines are added to the ibm-spectrum-scale cluster custom resource under
spec.daemon.Command example:
oc -n ibm-spectrum-scale edit cluster.scale.spectrum.ibm.com/ibm-spectrum-scale -
The following resources are added to the ibm-spectrum-scale cluster custom resource:
- CPU: 2
- Memory: 6Gi
YAML example of ibm-spectrum-scale cluster custom resource:bypassDiscovery: true resources: requests: cpu: '2' memory: 6Gi roles: []
Procedure
Results
What to do next
After configuring the IBM Storage Scale (CNSA) cluster, you can add more file systems for use in the cluster. For instructions, see Adding file systems to an IBM Storage Scale (CNSA) cluster.
To remove a remote IBM Storage Scale (CNSA) cluster, see Removing a remote IBM Storage Scale (CNSA) cluster.