Uninstalling CP4BA FileNet Content Manager from the OCP console
You can uninstall Cloud Pak resources and components from your platform deployment from the OCP console.
About this task
If you installed the IBM operator catalog, and used an IBM CP4BA FileNet Content Manager operator instance to create an ICP4ACluster then you must use the OCP user interface to uninstall it. Uninstalling involves four separate high-level tasks.
- Uninstalling the Cloud Pak deployment.
- Uninstalling the operators.
- Deleting PVs and PVCs. If you do delete the PVs/PVCs, the persistent data along with configuration and log files are also deleted. Delete the PVCs before you delete the PVs.
- Dropping the databases.
- Deleting the secrets created by the Cloud Pak deployment. Go to the CP4BA project, click
, then
right-click each secret and click Delete secret.
If you do delete all of the secrets that you created for Cloud Pak for Business Automation, then you must create them again if you want to install another CP4BA deployment.
- Deleting the CP4BA project.
- Uninstalling the Cloud Pak foundational services is necessary only if you want to completely clean up the cluster. The uninstallation of CP4BA uninstalls Cloud Pak foundation services only and does not remove the Cloud Pak foundation services operators and some of its resources. To completely remove Cloud Pak foundational services, see Uninstalling foundational services.
Procedure
What to do next
If you now plan to install another instance of the Cloud Pak on the
same cluster, check if the dependencies like Namespaces
and
OperandRequests
are properly deleted. If you are sharing the project with another
Cloud Pak, then do not delete the
dependencies.
- Deleting PVCs
-
If you uninstalled all the operators, then you can delete the PVCs from the project. Click Delete PersistentVolumeClaim. If you deleted only CP4BA and its related operators, then you can click , change the "Filter" to Label and enter "release=24.0.0" in the Search by label field. You can then delete the listed PVCs by clicking .
for each PVC, and then click - Optional: Deleting PVs
-
To identify which PV can be removed, check the status of the PV. If the status is “
Available
”, then the PVs can be deleted.- Get a list of all the PVs.
oc get pv
- Delete a PV.
oc delete pv <PV name>
For more information about cleaning up your data, see Cleaning up data.
- Get a list of all the PVs.
- Deleting secrets
-
- Remove the foundation subscription in the CP4BA namespace by clicking
Subscription for
operators.coreos.com/v1alpha1
in the Resource list, and then selecting Remove Subscription from theicp4a-foundation-operator
menu. Now, all of the CP4BA secrets can be deleted.
, selecting
- To delete the secrets from the project click
Delete Secret.
The CP4BA secrets include the strings
ibm-cp4a
oricp4a
in the names. The custom secrets can also be deleted, for exampleibm-fncm-secret
,ibm-ban-secret
, andldap-bind-secret
.
, and then
click
- Remove the foundation subscription in the CP4BA namespace by clicking
Subscription for
- Deleting the databases
-
- For more information about the databases used by FileNet® Content Manager, see Deleting a domain and Preparing an object store database or tablespace for reuse.
- If you plan to reinstall the Application Engine database, you must drop the database and database objects (buffer pool and table spaces) after you delete Application Engine.
- For more information about cleaning up your data, see Cleaning up data.
- Deleting the CP4BA project
-
Note: If deleting a project fails and the project is stuck in the Terminating state, some objects may still exist in the namespace after a force deletion. Do not use the same project name to rebuild instead use a new project name.
- Deleting the catalog sources
- If you decide to remove CP4BA completely, then remove the related catalog sources.
- Click Configuration tab, scroll down the list, and then click OperatorHub. , click the
- Select the Sources tab.
- Delete the following sources:
- ibm-cp4a-operator-catalog
- bts-operator
- cloud-native-postgresql-catalog
- ibm-cs-flink-operator-catalog
- ibm-cs-elastic-operator-catalog
- ibm-fncm-operator-catalog
- Uninstall foundational services
-
If you plan to remove all of the Cloud Pak dependencies, the custom resource definitions (CRD) for both Cloud Pak for Business Automation and the Cloud Pak foundational services can be deleted. Delete the following CRDs from the cluster.
contentrequests.icp4a.ibm.com contents.icp4a.ibm.com foundationrequests.icp4a.ibm.com foundations.icp4a.ibm.com icp4aclusters.icp4a.ibm.com processfederationservers.icp4a.ibm.com wfpsruntimes.icp4a.ibm.com
Click Delete CustomResourceDefinition.
, search by the name and clickFor more information about uninstalling foundational services, see Uninstalling foundational services.
Note: You can also run a script if the foundational services uninstallation does not remove all the components. For more information, see Uninstallation is not successful.