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 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:
To provision PowerMax storage:
oc create -f <yaml file>
Note: Specify the secret name as powermax-creds and ensure that the username and password are base64 encoded.
oc create configmap powermax-reverseproxy-config --from-file <config yaml file> -n powermax
openssl genrsa -out tls.key 2048
openssl req -new -x509 -sha256 -key tls.key -out tls.crt -days 3650
oc create secret -n powermax tls revproxy-certs --cert=tls.crt --key=tls.key
oc create secret -n powermax tls csirevproxy-tls-secret --cert=tls.crt --key=tls.key
Update parameters such as the Unisphere IP address as necessary.
oc create -f <yaml file>
oc get pods -n powermax
The following excerpt shows sample output from the command:
NAME READY STATUS RESTARTS AGE
csipowermax-reverseproxy-c755bd6f8-gt9kq 1/1 Running 0 10s
powermax-controller-6dfc6477b4-7x8kh 5/5 Running 0 10s
powermax-controller-6dfc6477b4-mzpzk 5/5 Running 0 10s
powermax-node-l25t7 2/2 Running 0 10s
powermax-node-mq2wh 2/2 Running 0 10s
powermax-node-wdpj4 2/2 Running 0 10s
oc create -f <yaml file>
oc get sc
To create dynamic FC volumes:
oc create -f <yaml file>
3. Create a pod and mount the created pvc using this sample file.
oc create -f <yaml file>
4. Verify that the volume pod is created with the volume attached to it by running the following command:
oc get pvc
The following code excerpt is sample output from the command:
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dynamic-fc-powermax-pvc Bound pmax-420a050f45 10487040Ki RWO powermaxscfc 50s
5. Verify that the volume is mounted on the pod by running the following command:
oc rsh powermax-fc-pod
The following code is sample output from the command:
sh-4.4# df -h
Filesystem Size Used Avail Use% Mounted on
overlay 1.5T 74G 1.4T 5% /
tmpfs 64M 0 64M 0% /dev
shm 64M 0 64M 0% /dev/shm
tmpfs 152G 94M 151G 1% /etc/hostname
/dev/mapper/mpathc 10G 33M 10G 1% /mnt
/dev/sda4 1.5T 74G 1.4T 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>
2. Verify that the volume snapshot class is created by running the following command:
NAME DRIVER DELETIONPOLICY AGE
powermax-snap-class csi-powermax.dellemc.com Delete 12s
3. Create a snapshot based on this sample file:
oc create -f <yaml file>
4. 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
powermax-snapshot true dynamic-powermax-fc-pvc 0 powermax-snap-class snapcontent-cf4034cb-390d-46a5-88c4-2fc09060f54f 18s 20s
5. Create a PVC for the snapshot based on this sample file. Run the following command:
oc create -f <yaml file>
The snapshot PVC contains the snapshot data from the source PVC.