Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Guides > Implementation Guide—Red Hat OpenShift Container Platform 4.12 on Intel-powered Dell Infrastructure > Provisioning PowerMax storage
The PowerMax storage system delivers high levels of performance and efficiency using an integrated machine learning (ML) engine. For more information, see Dell PowerMax NVMe Storage.
Ensure that:
oc create -f powermax-creds.yaml
Note: Specify the secret name as powermax-creds and ensure that the username and password are base64 encoded.
kubectl create configmap powermax-reverseproxy-config --from-file config.yaml -n powermax
openssl genrsa -out tls.key 2048
openssl req -new -x509 -sha256 -key tls.key -out tls.crt -days 3650
kubectl create secret -n powermax tls revproxy-certs --cert=tls.crt --key=tls.key
kubectl create secret -n powermax tls csirevproxy-tls-secret --cert=tls.crt --key=tls.key
oc create -f <YAML file>
oc get pods -n powermax
The following is sample output from the command:
NAME READY STATUS RESTARTS AGE
csipowermax-reverseproxy-f76d98fc9-kksds 1/1 Running 0 69s
powermax-controller-59f48875fc-f8v5c 5/5 Running 0 68s
powermax-controller-59f48875fc-j9cwj 5/5 Running 0 68s
powermax-node-cxsfl 2/2 Running 0 68s
powermax-node-kjx6n 2/2 Running 0 68s
powermax-node-lkskm 2/2 Running 0 68s
powermax-node-nmb45 2/2 Running 0 68s
powermax-node-nnsgq 2/2 Running 0 68s
oc create -f <YAML file>
oc get sc
To create dynamic iSCSI volumes:
oc create -f <YAML file>
oc get pvc
The following is sample output from the command:
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dynamic-fc-powermax-pvc Bound pmax-8ce554ea40 10487040Ki RWO powermaxscfc 9s
5. Verify that the volume is mounted on the pod by running the following command:
oc rsh powermax-fc-pod
The following is sample output from the command:
sh-4.4# df -h
Filesystem Size Used Avail Use% Mounted on
overlay 894G 43G 851G 5% /
tmpfs 64M 0 64M 0% /dev
tmpfs 378G 0 378G 0% /sys/fs/cgroup
shm 64M 0 64M 0% /dev/shm
tmpfs 378G 70M 378G 1% /etc/hostname
/dev/mapper/360000970000297901797533030303635 10G 33M 10G 1% /mnt
/dev/nvme0n1p4 894G 43G 851G 5% /tmp
tmpfs 755G 20K 755G 1% /run/secrets/kubernetes.io/serviceaccount
tmpfs 378G 0 378G 0% /proc/acpi
tmpfs 378G 0 378G 0% /proc/scsi
tmpfs 378G 0 378G 0% /sys/firmware
PowerMax CSI drivers support snapshots of volumes. Snapshots that you create can be used to create a volume and restore the data.
oc create -f <yaml file>
NAME DRIVER DELETIONPOLICY AGE
powermax-snap-class csi-powermax.dellemc.com Delete 12s
oc create -f <YAML file>
oc get volumesnapshot
The following is sample output from the command:
NAME READYTOUSE SOURCEPVC SOURCESNAPSHOTCONTENT RESTORESIZE SNAPSHOTCLASS SNAPSHOTCONTENT CREATIONTIME AGE
powermax-snapshot true dynamic-fc-powermax-pvc 0 powermax-snap-class snapcontent-e70362a7-c5ed-40de-acc9-35967119e7d0 11s 13s
oc create -f <YAML file>
The snapshot PVC contains the snapshot data from the source PVC.