Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Archive > Implementation Guide—Red Hat OpenShift Container Platform 4.6 on Dell Infrastructure > Provisioning PowerStore storage
The Dell PowerStore storage system delivers high levels of performance and efficiency with an integrated machine learning (ML) engine. For more information, see Dell PowerStore.
Ensure that:
To provision PowerStore storage:
Note: Specify the secret name as powerstore-creds and ensure that the username and password are in base64 format. Ensure that the values for chapuser and chap secret are specified. Set the key to empty if chap authentication is not used.
[core@csah powerstore]$ oc create -f <secret YAML file>
PowerStore supports FC, ISCSI, and NFS protocols using Dell CSI drivers. Setting the driver X-CSI_TRANSPORT_PROTOCOL to auto ensures that FC is used if FC ports are available in the compute node and iSCSI is used otherwise.
Note: Modify the IP address and NAS server name appropriately.
[core@csah-pri ~]$ oc create -f <secret YAML file>
[core@csah-pri ~]$ oc get pods -n powerstore -o wide
Note: There are two powerstore-controller pods and one powerstore-node pod running for every compute node that is running.
Note: The setup that is used for this cluster has FC ports available, ensuring that only the FC protocol is used for all compute nodes.
[core@csah-pri ~]$ oc create -f <YAML file>
[core@csah-pri powerstore]$ oc exec -it powerstore-pod -- df -h /mnt/keys
Filesystem Size Used Avail Use% Mounted on
/var/lib/kubelet/plugins/kubernetes.io/csi/pv/csi-pstore-518bc3e1b8/globalmount/da4b4ec2-3544-4104-bd07-1bf7dd9f27a5 1014M 33M 982M 4% /mnt
[core@csah-pri powerstore]$ oc exec -it powerstore-pod -- cat /mnt/keys
file data
[core@csah-pri powerstore]$ oc get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dynamic-powerstore-pvc Bound csi-pstore-518bc3e1b8 1Gi RWO powerstore-fc-iscsi 77s
[core@csah-pri ~]$ oc create -f <YAML file>
[core@csah-pri ~]$ oc exec -it powerstore-nfs-pod -n powerstore -- cat /mnt/keys
file data
[core@csah-pri ~]$ oc exec -it powerstore-nfs-pod -n powerstore -- df -h /mnt/keys
Filesystem Size Used Avail Use% Mounted on
192.168.44.211:/csi-pstore-06b9422e3b 5.5G 1.6G 4.0G 28% /mnt
[core@csah-pri ~]$ oc get pvc -n powerstore
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dynamic-nfs-powerstore-pvc Bound csi-pstore-06b9422e3b 4Gi RWO powerstore-nfs 69s
PowerStore CSI drivers support snapshots of volumes. Create snapshots to back up either the iSCSI, FC, or NFS volume that you created, and then use the snapshots to create a volume and attach it to the pod.
[core@csah-pri ~]$ oc get volumesnapshotclass
NAME DRIVER DELETIONPOLICY AGE
powerstore-snap csi-powerstore.dellemc.com Delete 4m52s
[core@csah-pri ~]$ oc create -f <YAML file>
[core@csah-pri ~]$ oc exec -it powerstore-snapshot-pod -- cat /mnt/keys
file data
[core@csah-pri ~]$ oc exec -it powerstore-snapshot-pod -- df -h /mnt/keys
Filesystem Size Used Avail Use% Mounted on
/var/lib/kubelet/plugins/kubernetes.io/csi/pv/csi-pstore-d180a7916c/globalmount/eb047217-5ba7-4778-af97-f7c7327bdb70 1014M 33M 982M 4% /mnt