Uninstalling Netcool Operations Insight

Use this information to uninstall your Netcool® Operations Insight® deployment with the Operator Lifecycle Manager (OLM) user interface (UI), or with the command line.

If you installed Netcool Operations Insight with the OLM UI, then follow Uninstalling with the OLM UI. If you installed Netcool Operations Insight with the OLM UI and Container Application Software for Enterprises (CASE), then follow Uninstalling with the OLM UI and Container Application Software for Enterprises (CASE).

Before you begin

Red Hat® OpenShift® Container Platform requires a user with cluster-admin privileges for the following operations:

Uninstalling with the OLM UI

  1. If Application Discovery is enabled, delete the Application Discovery instance. Go to Administration > Custom Resource Definitions > AppDisco > Instances. Delete the <noi-operator-instance-name>-topology instance.
  2. Delete the IBM® Cloud Pak for AIOps Event Manager instance.
    Go to Operator > Installed Operators. Select the project where you installed Netcool Operations Insight. Click Netcool Operations Insight > All Instances. Select Delete NOI from the menu to remove a cloud deployment, or Delete NOIHybrid to remove a hybrid deployment.
  3. Delete IBM Cloud Pak for AIOps Event Manager.
    Go to Operator > Installed Operators. Select the options menu for the IBM Cloud Pak for AIOps Event Manager entry, and select Uninstall Operator.
  4. Remove the catalog entry.
    Go to Administration > Cluster Settings > Configuration > OperatorHub > Sources. Select and delete the ibm-operator-catalog catalog.
  5. Delete the Custom Resource Definitions (CRDs).
    Go to Administration > Custom Resource Definitions. Select the CRDs that were created during the Netcool Operations Insight installation. Go to Actions > Delete CustomResourceDefinition. Delete all the CRDs that start with noi, asm, and cem. Delete CRDs with postgresql.k8s.enterprisedb.io in the name, as in the following examples.
    • backups.postgresql.k8s.enterprisedb.io
    • clusters.postgresql.k8s.enterprisedb.io
    • poolers.postgresql.k8s.enterprisedb.io
    • scheduledbackups.postgresql.k8s.enterprisedb.io
  6. Delete the postgresql-operator-manager service account. Go to Search, select ServiceAccount as the type of resource. Open the postgresql-operator-manager service account and go to Actions > Delete ServiceAccount.
  7. Delete the secrets that were created for your deployment.
    Go to Workloads > Secrets. Select the project where you installed Netcool Operations Insight. Delete all secrets that start with <noi-operator-instance-name>. Delete the postgresql-operator-controller-manager-config secret.
  8. Delete the configmaps that were created during the Netcool Operations Insight installation.
    Go to Workloads > Config Maps. Select the project where you installed Netcool Operations Insight. Delete all config maps that start with <noi-operator-instance-name>.
  9. Go to Networking > Routes, and remove the routes.
  10. Delete the persistent volume claims, persistent volumes, and storage classes:
    1. Go to Storage > Persistent Volume Claims. Delete all Persistent Volume Claims for Netcool Operations Insight.
    2. Go to Storage > Persistent Volume. Delete all Persistent Volumes for Netcool Operations Insight.
    3. Go to Storage > Storage Classes. Delete all storage classes for Netcool Operations Insight.

Uninstalling with the OLM UI and Container Application Software for Enterprises (CASE)

Use this information for offline air-gapped deployments and online deployments.
  1. If Application Discovery is enabled, delete the Application Discovery instance. Run the following command:
    oc delete appdisco <noi-operator-instance-name>-topology
  2. Delete the Netcool Operations Insight operator instance.
    For a cloud deployment, use oc delete noi <noi-operator-instance-name>.
    For a hybrid deployment, use oc delete noihybrid <noi-operator-instance-name>.
  3. Delete the Netcool Operations Insight operator by running the following command:
    oc ibm-pak launch \
    $CASE_NAME \
    --version $CASE_VERSION \
    --namespace $TARGET_NAMESPACE \
    --inventory noiOperatorSetup \
    --action uninstall-operator \
    --args "--recursive --inputDir $HOME/.ibm-pak/data/cases/$CASE_NAME/$CASE_VERSION"
    
  4. Delete the catalog by running the following command:
    oc ibm-pak launch \
    $CASE_NAME \
    --version $CASE_VERSION \
    --namespace openshift-marketplace \
    --inventory noiOperatorSetup \
    --action uninstall-catalog \
    --args "--recursive --inputDir $HOME/.ibm-pak/data/cases/$CASE_NAME/$CASE_VERSION"
    
  5. Delete the Custom Resource Definitions (CRDs) with the oc delete crd command.
    Select the CRDs that were created during the Netcool Operations Insight installation. Delete all the CRDs that start with noi, asm, and cem. Delete CRDs with postgresql.k8s.enterprisedb.io in the name, as in the following examples.
    • backups.postgresql.k8s.enterprisedb.io
    • clusters.postgresql.k8s.enterprisedb.io
    • poolers.postgresql.k8s.enterprisedb.io
    • scheduledbackups.postgresql.k8s.enterprisedb.io
  6. Delete the postgresql-operator-manager service account. Run the oc delete sa postgresql-operator-manager command.
  7. Delete the secrets that were created for your deployment.
    Go to Workloads > Secrets. Select the project where you installed Netcool Operations Insight. Delete all secrets that start with <noi-operator-instance-name>. Delete the postgresql-operator-controller-manager-config secret.
  8. Delete the configmaps that were created during the Netcool Operations Insight installation.
    Go to Workloads > Config Maps. Select the project where you installed Netcool Operations Insight. Delete all config maps that start with <noi-operator-instance-name>.
  9. Go to Networking > Routes, and remove the routes.
  10. Delete the persistent volume claims, persistent volumes, and storage classes:
    1. Go to Storage > Persistent Volume Claims. Delete all Persistent Volume Claims for Netcool Operations Insight.
    2. Go to Storage > Persistent Volume. Delete all Persistent Volumes for Netcool Operations Insight.
    3. Go to Storage > Storage Classes. Delete all storage classes for Netcool Operations Insight.