oc apply -f catalog_source.yaml -n openshift-marketplace
oc get CatalogSources ibm-operator-catalog -n openshift-marketplace -o jsonpath='{.status.connectionState.lastObservedState}{"\n"}'
- wait for 'READY'
oc create -f isf-ns.yaml
oc create -f isf-operator-opgroup.yaml
oc create -f isf-operator-sub.yaml
oc get Subscription isf-operator -n ibm-spectrum-fusion-ns -o jsonpath='{.status.conditions[0].message}{"\n"}'
- wait for 'all available catalogsources are healthy'
oc create -f fusion-instance.yaml
oc get SpectrumFusion spectrumfusion -n ibm-spectrum-fusion-ns -o jsonpath='{.status.status}{"\n"}'
- wait for 'Completed'
oc create -f FusionServiceInstance-DF.yaml
- wait for Data Foundation and Local Storage Operator install finish
CSVname=$(oc get ClusterServiceVersion -n openshift-local-storage |grep local-storage-operator| cut -d' ' -f1)
oc get ClusterServiceVersion $CSVname -n openshift-local-storage -o jsonpath='{.status.phase}{"\n"}'
- wait for 'Succeeded'
CSVname=$(oc get ClusterServiceVersion -n openshift-storage |grep odf-operator| cut -d' ' -f1)
oc get ClusterServiceVersion $CSVname -n openshift-storage -o jsonpath='{.status.phase}{"\n"}'
- wait for 'Succeeded'
oc label ns openshift-local-storage openshift.io/cluster-monitoring="true"
oc label ns openshift-storage openshift.io/cluster-monitoring="true"
- Label each Data Foundation node
oc label node \<nodename> cluster.ocs.openshift.io/openshift-storage=''
oc create -f lso-localvolset.yaml
oc get pv|grep localblock
- wait for all the available disks on the Data Foundation nodes to show up as PVs
oc create -f odf-storagecluster.yaml
oc get StorageCluster ocs-storagecluster -n openshift-storage -o jsonpath='{.status.phase}{"\n"}'
- wait for 'Completed'
oc create -f FusionServiceInstance-BUnR.yaml
oc get FusionServiceInstance ibm-backup-restore-service-instance -n ibm-spectrum-fusion-ns -o jsonpath='{.status.installStatus.progressPercentage}{"\n"}'
- wait for output to show '100' percent