Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Implementation Guide—Red Hat OpenShift Container Platform 4.10 on Intel-powered Dell Infrastructure > Provisioning PowerScale storage
The PowerScale platform delivers high levels of performance and efficiency with an integrated ML engine. For more information, see Dell PowerScale Family.
Ensure that:
[core@csah-pri ~]$ oc create secret generic isilon-creds -n isilon --from-file=config=<YAML file>
[core@csah-pri ~]$ oc create -f <YAML file>
[core@csah-pri isilon]$ oc get pods -n isilon
NAME READY STATUS RESTARTS AGE
isilon-controller-86f498b7d5-sfn2n 5/5 Running 0 7s
isilon-controller-86f498b7d5-zcx6n 5/5 Running 0 7s
isilon-node-fn894 2/2 Running 0 7s
isilon-node-g84ts 2/2 Running 0 7s
isilon-node-zzx98 2/2 Running 0 7s
[core@csah-pri isilon]$ oc create -f <YAML file>
[core@csah-pri isilon]$ oc get sc
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
isilon-sc csi-isilon.dellemc.com Delete WaitForFirstConsumer true 3s
To perform application builds, you must first configure the image registry for the OpenShift cluster.
To provision storage for the image registry, create a PVC and assign the storage to the image registry configuration.
Note: Ensure that the namespace is openshift-image-registry. The recommended PV size is greater than 100 GB. Assign a volume that supports ReadWriteMany access mode.
[core@csah-pri ~]$ oc create -f image.registry.yaml
[core@csah-pri ~]$ oc edit configs.imageregistry.operator.openshift.io
spec:
managementState: Managed
storage:
pvc:
claim: isilon-nfs-image-registry
To validate the image registry:
[core@csah-pri ~]$ oc get co
Note: While the image-registry cluster operator status is being verified, the status of cluster operators such as operator-lifecycle-manager and kube-apiserver might change. Check all the cluster operators before continuing.
[core@csah-pri isilon]$ oc get pods -n openshift-image-registry
NAME READY STATUS RESTARTS AGE
cluster-image-registry-operator-7555b5686d-96hfj 1/1 Running 2 7h40m
image-registry-5f4d9558d9-fln9j 1/1 Running 0 33s
node-ca-6czj2 1/1 Running 0 6h44m
node-ca-8czjb 1/1 Running 0 3h26m
node-ca-cfqtw 1/1 Running 0 6h44m
node-ca-dfchj 1/1 Running 0 6h44m
node-ca-fsdmb 1/1 Running 0 173m
node-ca-n7p4r 1/1 Running 0 77m
[core@csah-pri ~]$ oc describe pod image-registry-5f4d9558d9-fln9j -n openshift-image-registry | grep -i volumes -A 4
Volumes:
registry-storage:
Type: PersistentVolumeClaim (a reference to PersistentVolumeClaim in the same namespace)
ClaimName: isilon-nfs-image-registry
ReadOnly: false
[core@csah-pri ~]$ oc debug nodes/etcd-0.dcws.lab
Starting pod/etcd-0dcwslab-debug ...
To use host binaries, run `chroot /host`
Pod IP:
If you don't see a command prompt, try pressing enter.
sh-4.2# chroot /host
sh-4.4# oc login -u kubeadmin -p xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Login successful.
You have access to 53 projects, the list has been suppressed. You can list all projects with 'oc projects'
Using project "default".
sh-4.4# podman login -u kubeadmin -p $(oc whoami -t) image-registry.openshift-image-registry.svc:5000
Login Succeeded!
To create dynamic NFS volumes:
[core@csah-pri ~]$ oc create -f pvc.pod.yaml
[core@csah-pri ~]$ oc exec -it isilon-nfs-pod -n isilon -- df -h /mnt/keys
Filesystem Size Used Avail Use% Mounted on
192.168.182.86:/ifs/csipscale-b6c0b5f229 1.0G 0 1.0G 0% /mnt
[core@csah-pri ~]$ oc exec -it isilon-nfs-pod -n isilon -- cat /mnt/keys
file data
[core@csah-pri ~]$ oc get pvc -n isilon
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dynamic-nfs-isilon-pvc Bound csipscale-b6c0b5f229 1Gi RWO isilon-nfs 5m15s
To create and use snapshots:
[core@csah-pri ~]$ oc create -f <yaml file>
[core@csah-pri isilon]$ oc get volumesnapshotclass
NAME DRIVER DELETIONPOLICY AGE
csi-hostpath-snap-isilon csi-isilon.dellemc.com Delete 10s
[core@csah-pri ~]$ oc create -f <yaml file>
[core@csah-pri ~]$ oc get volumesnapshot
NAME READYTOUSE SOURCEPVC SOURCESNAPSHOTCONTENT RESTORESIZE SNAPSHOTCLASS SNAPSHOTCONTENT CREATIONTIME AGE
isilon-snapshot true dynamic-nfs-isilon-pvc 38 csi-hostpath-snap-isilon snapcontent-54c0d905-5674-428b-9204-df2eb4c6edb6 <invalid> 5s
[core@csah-pri ~]$ oc get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dynamic-nfs-isilon-pvc Bound csipscale-d265c33e2f 4Gi RWO isilon-sc 10m
isilon-restore Bound csipscale-de0d4c1554 4Gi RWO isilon-sc 5s
[core@csah-pri ~]$ oc rsh restore-pods
sh-4.4# cd /mnt/
sh-4.4# ls
snapshot
sh-4.4# cd snapshot/
sh-4.4# ls
snapshot
sh-4.4# cd snapshot/
sh-4.4# ls
isilon
sh-4.4# cat isilon
isilon backup
sh-4.4#