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:
# sudo docker run -it --rm -u 0 -v /<full_path_to_volume_name>:/<full_path_to_volume_name> -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-deploy:<version> uninstall
Example:
# sudo docker run -it --rm -u 0 -v /cloudpoint:/cloudpoint -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-deploy:<10.1.x.x.xxx> uninstall
Note:
This is a single command without any line breaks.
For Podman environment:
Run the following command:
# podman run -it --rm -u 0 -v /<full_path_to_volume_name>:/<full_path_to_volume_name> -v /run/podman/podman.sock:/run/podman/podman.sock veritas/flexsnap-deploy:<version> uninstall
Example:
# podman run -it --rm -u 0 -v /cloudpoint:/cloudpoint -v /run/podman/podman.sock:/run/podman/podman.sock veritas/flexsnap-deploy:<10.1.x.x.xxx> uninstall
Note:
This is a single command without any line breaks.
Replace the following parameters as per your environment:
Parameter
Description
<version>
Represents the NetBackup Snapshot Manager product version that is installed on the host.
<full_path_to_volume>
Represents the path to the NetBackup Snapshot Manager data volume, which typically is
/cloudpoint. - 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.
After the uninstallation, the provisioned cloud resources associated with the uninstalled extension can be terminated or removed.