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
- If Application Discovery is enabled, delete the Application Discovery instance. Go to
<noi-operator-instance-name>-topology
instance.
.
Delete the - Delete the IBM®
Cloud Pak for
AIOps Event
Manager instance.
Go to . Select the project where you installed Netcool Operations Insight. Click . Select Delete NOI from the menu to remove a cloud deployment, or Delete NOIHybrid to remove a hybrid deployment. - Delete IBM
Cloud Pak for
AIOps Event
Manager.
Go to . Select the options menu for the IBM Cloud Pak for AIOps Event Manager entry, and select Uninstall Operator. - Remove the catalog entry.
Go to . Select and delete theibm-operator-catalog
catalog. - Delete
the Custom Resource Definitions (CRDs).
Go to . Select the CRDs that were created during the Netcool Operations Insight installation. Go to . Delete all the CRDs that start withnoi
,asm
, andcem
. Delete CRDs withpostgresql.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
- Delete the
postgresql-operator-manager
service account. Go to Search, select ServiceAccount as the type of resource. Open thepostgresql-operator-manager
service account and go to . - Delete the secrets that were created for your deployment.
Go to . Select the project where you installed Netcool Operations Insight. Delete all secrets that start with <noi-operator-instance-name>. Delete thepostgresql-operator-controller-manager-config
secret. - Delete the configmaps that were created during the Netcool
Operations Insight
installation.
Go to . Select the project where you installed Netcool Operations Insight. Delete all config maps that start with <noi-operator-instance-name>. - Go to , and remove the routes.
- Delete the persistent volume claims, persistent volumes, and storage classes:
- Go to Netcool Operations Insight. . Delete all Persistent Volume Claims for
- Go to Netcool Operations Insight. . Delete all Persistent Volumes for
- Go to Netcool Operations Insight. . Delete all storage classes for
Uninstalling with the OLM UI and Container Application Software for Enterprises (CASE)
Use this information for offline air-gapped deployments and online deployments.- If Application Discovery is enabled, delete the Application Discovery instance. Run the
following
command:
oc delete appdisco <noi-operator-instance-name>-topology
- Delete the Netcool
Operations Insight operator
instance.
For a cloud deployment, useoc delete noi <noi-operator-instance-name>
.
For a hybrid deployment, useoc delete noihybrid <noi-operator-instance-name>
. - 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"
- 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"
- 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 withnoi
,asm
, andcem
. Delete CRDs withpostgresql.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
- Delete the
postgresql-operator-manager
service account. Run theoc delete sa postgresql-operator-manager
command. - Delete the secrets that were created for your deployment.
Go to . Select the project where you installed Netcool Operations Insight. Delete all secrets that start with <noi-operator-instance-name>. Delete thepostgresql-operator-controller-manager-config
secret. - Delete the configmaps that were created during the Netcool
Operations Insight
installation.
Go to . Select the project where you installed Netcool Operations Insight. Delete all config maps that start with <noi-operator-instance-name>. - Go to , and remove the routes.
- Delete the persistent volume claims, persistent volumes, and storage classes:
- Go to Netcool Operations Insight. . Delete all Persistent Volume Claims for
- Go to Netcool Operations Insight. . Delete all Persistent Volumes for
- Go to Netcool Operations Insight. . Delete all storage classes for