Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Guides > Implementation Guide—Red Hat OpenShift Container Platform 4.14 on AMD-powered Dell Infrastructure > Provisioning PowerStore storage
The PowerStore storage system delivers high levels of performance and efficiency with an integrated ML engine. For more information, see Dell PowerStore.
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. Otherwise, iSCSI is used.
Note: Modify the IP address and NAS server name appropriately.
oc create namespace powerstore
sed "s/CONFIG_YAML/`cat <config file name created in step 1> | base64 -w0`/g" <secret file name created in step 2> | oc apply -f -
oc create -f <yaml file>
oc get pods -n powerstore
The following code excerpt is sample output from the command:
NAME READY STATUS RESTARTS AGE
powerstore-controller-79f894976d-n8k2r 5/5 Running 0 39s
powerstore-controller-79f894976d-kmwfd 5/5 Running 0 39s
powerstore-node-8vhwm 2/2 Running 0 39s
powerstore-node-9qjgg 2/2 Running 0 39s
powerstore-node-fmwxn 2/2 Running 0 39s
oc get csm/powerstore -n powerstore
The following is sample output from the command:
NAME CREATIONTIME CSIDRIVERTYPE CONFIGVERSION STATE
powerstore 48s powerstore v2.9.0 Succeeded
oc create -f <yaml file>
Specify any additional parameters for the storage class as needed.
The following code excerpt is sample output from the command:
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
dellcsi-powerstore-sc-fc csi-powerstore.dellemc.com Delete Immediate false 30s
oc create -f <yaml file>
Specify additional parameters for the storage class as needed.
oc get sc
The following code excerpt is sample output from the command:
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
powerstore-sc-nfs csi-powerstore.dellemc.com Delete Immediate false 14s
oc create -f <yaml file>
2. Verify that the volume is created by running the following command:
oc get pvc
The following is sample output from the command:
powerstore-pvc-fc Bound csivol-4e6e85fdcf 10Gi RWO dellcsi-powerstore-sc-fc 2s
3. Create a pod and mount a volume to the pod based on this sample file by running the following command:
oc create -f <yaml file>
4. Verify that the pod is created, and the volume is attached to the pod by running the following command:
oc rsh test-pod
5. To check the mount points, run the df –h command at the prompt that appears.
To create a PVC using iSCSI and NFS, use the corresponding sample files in GitHub.
PowerStore CSI drivers support snapshots of volumes. Create snapshots to back up the iSCSI, FC, or NFS volumes.
oc create -f <yaml file>
2. Verify that the volume snapshot class is created by running the following command:
oc get volumesnapshotclass
The following code excerpt is sample output from the command:
NAME DRIVER DELETIONPOLICY AGE
powerstore-snap-class csi-powerstore.dellemc.com Delete 13s
4. Use this sample file to create a snapshot by running the following command:
oc create -f <yaml file>
5. Verify that the volume snapshots are created by running the following command:
oc get volumesnapshot
The following code is sample output from the command:
NAME READYTOUSE SOURCEPVC SOURCESNAPSHOTCONTENT RESTORESIZE SNAPSHOTCLASS SNAPSHOTCONTENT CREATIONTIME AGE
powerstore-snapshot true powerstore-nfs-pvc 3Gi powerstore-snap-class snapcontent- 107e1nk-b7il-44aw-h8js-965eq615hq73 4s 9s
6. Use this sample file to create a snapshot PVC by running the following command:
oc create -f <yaml file>
The snapshot PVC contains the snapshot data from the source PVC.