This is an option Lab for advanced usecases.
This lab requires the Openshift lab having a second leg in the storage + backup` dvswitch
Powerstore needs to be up and running, this might take up to 20 Minutes !
ansible-playbook ../playbooks/start_stop_vms_by_vm_names.yaml -e vm_names='powerstore' -e state=start
Configure Multipathing for the Openshift Worker Nodes
oc apply -f mc_multipath.yaml
It will take a while for the Machine Config Operator to configure teh Nodes with Multipath and reboots them
Configure iscsid
oc apply -f mc_iscsid.yaml
Create a Subscription for CSM ( already done in3.2 lab )
oc apply -f csm_sub.yaml
Generate config Secret for Powerstore
sed "s/CONFIG_YAML/`cat powerstore/config.yaml | base64 -w0`/g" powerstore/secret.yaml | oc apply -f -
Create the CSI Drivers for Powerstore
oc apply -f powerstore/storage_csm_powerstore_v2120.yaml
Create Storageclasses
oc apply -f powerstore/storageclass.yaml
oc apply -f powerstore/snapshotclass.yaml
oc apply -f powerstore/demopod.yaml