Removing NetBackup Snapshot Manager extensions - VM-based or managed Kubernetes cluster-based
During uninstallation, the installer performs the following tasks on the NetBackup Snapshot Manager extension host:
Stops all the NetBackup Snapshot Manager containers that are running
Removes the NetBackup Snapshot Manager containers
To uninstall a VM-based extension
- For Docker environment:
Run the following command:
# flexsnap_configure uninstall
- If desired, remove the NetBackup Snapshot Manager container images from the extension host.
Use the following docker command to view the docker images that are loaded on the host and remove the NetBackup Snapshot Manager images based on their IDs.
# sudo docker images -a
# sudo docker rmi <image ID>
This completes the NetBackup Snapshot Manager extension uninstallation on a VM host.
To uninstall a managed Kubernetes cluster-based extension
- Execute the extension script
cp_extension.shthat was downloaded at the time of extension installation, from the host where kubectl is installed. - Run the following command:
bash cp_extension.sh uninstall
- Once the uninstallation is triggered, provide the namespace as an input, from which the extension services need to be uninstalled.
The uninstallation removes the extension services from NetBackup Snapshot Manager and from the Kubernetes cluster. However, the operator pod continues to run so that it can complete the cleanup activities and support a subsequent reinstallation of the extension. To remove the operator pod, manually delete the operator deployment or the namespace after the uninstallation is complete. In addition, manually delete the cluster role (cloudpoint) and the custom resource definition (cloudpoint-servers.veritas.com), as mentioned in the operator logs.
- After the uninstallation, the provisioned cloud resources associated with the uninstalled extension can be terminated or removed.