Uninstalling Fusion Data Foundation

Use the following steps to uninstall Data Foundation by using command line interface.

Before you begin

  • Ensure that all workloads are stopped. Delete the associated persistent volume claims (PVCs) and clean up the namespace linked to it. Also, remove any other IBM Fusion services that use the Fusion Data Foundation service.
  • Reclaim access to the data stored in the Fusion Data Foundation cluster.
  • If you are uninstalling Fusion Data Foundation 4.21 or later on Red Hat® OpenShift® Container Platform 4.21 or later, uninstall the Global Data Platform remote mount service if it is installed. For instructions, see Uninstalling Global Data Platform from Fusion Data Foundation external mode.

Procedure

  1. Run the following command and export IBM Fusion namespace as environmental variable.
    export FUSION_NS="<Fusion namespace>"
    Important: Replace <Fusion namespace> with your namespace.
  2. Run the following oc command and scale the IBM Fusion storage deployment to 0 replica.
    oc scale deployment --replicas=0 isf-cns-operator-controller-manager -n "$FUSION_NS"
  3. Run the following commands and delete the Fusion Data Foundation CR.
    oc delete odfmanager odfmanager
    oc delete odfcluster odfcluster -n "$FUSION_NS"
  4. Uninstall the Fusion Data Foundation. For uninstallation steps, see Uninstalling Data foundation in Internal mode deployment on the IBM Support page.
    Important: Ensure that the openshift-storage namespace and all associated resources are deleted before you proceed to the next step. For external mode deployments, follow the internal mode procedure Uninstalling Data foundation in Internal mode deployment described in the IBM Support page to remove the namespace and associated resources.
  5. Run the following oc command and scale the IBM Fusion storage deployment to 1 replica.
    oc scale deployment --replicas=1 isf-cns-operator-controller-manager -n "$FUSION_NS"
  6. Run the following oc command to delete the Fusion Data Foundation Service Instance CR.
    oc delete fusionserviceinstance odfmanager -n "$FUSION_NS"
  7. Run the following oc command to delete the Fusion Data Foundation Catalog Source.
    oc delete catalogsource isf-data-foundation-catalog -n openshift-marketplace