Uninstalling HCL Connections Engagement Center (WebEngine)
Perform the following steps to uninstall the HCL Connections Engagement Center (CEC) (WebEngine) from your environment.
Removing the Helm Deployment
To remove your CEC (WebEngine) deployment from your environment, use the helm uninstall command.
Note
Run the following command, replacing <release_name> with your specific Helm release name (for example, cnx-cec).
To run the uninstall, use the following command as shown in this example:
# Helm uninstall command
helm uninstall -n connections <release_name>
After a successful deployment, Helm responds with the following message:
release <release_name> uninstalled
Cleaning up Kubernetes Secrets and Storage (PVCs/PVs)
Helm uninstallation leaves persistent resources and secrets behind by default to prevent accidental data loss. Run these commands to clean them up:
- Verify image pull secrets:
kubectl get secrets -n connections - Delete remaining secrets associated with the deployment. Replace
with the actual secret name you want to delete: kubectl delete secret -n connections <secret_name> - Verify PersistentVolumeClaims (PVCs) and PersistentVolumes (PVs):
PV names and PVC names have the text web-engine in them. You can use grep to filter the output.
kubectl get pvc,pv -n connections | grep web-engine - Delete remaining PVCs and PVs associated with the deployment. Replace
and with the actual names you want to delete: kubectl delete pvc -n connections <pvc_name> kubectl delete pv <pv_name>
Dropping DB2 Databases
After completing the uninstallation and cleanup of Kubernetes resources, drop the DB2 databases by performing the following steps:
- Switch to the DB2 instance user:
sudo su - <db2_instance_user>
db2 list db directory | grep WP
db2 drop database <database_name>
db2 list db directory | grep WP
exit