Removing NetBackup Snapshot Manager from a standalone Docker host environment
The process for uninstalling NetBackup Snapshot Manager is the same as that followed for installation. The only difference is that you specify "uninstall" in the command, which tells the installer to remove the components from the host.
During uninstallation, the installer performs the following tasks on the NetBackup Snapshot Manager host:
Stops all the NetBackup Snapshot Manager containers that are running
Removes the NetBackup Snapshot Manager containers
Unloads and removes the NetBackup Snapshot Manager images
To uninstall NetBackup Snapshot Manager
Ensure that you have uninstalled the NetBackup Snapshot Manager agents from all the hosts that are part of the NetBackup Snapshot Manager configuration.
Verify that there are no protection policy snapshots or other operations in progress, and then uninstall NetBackup Snapshot Manager by running the following command on the host:
(For Docker)
# sudo docker run -it --rm -u 0 -v /full_path_to_volume:/full_path_to_volume -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-deploy:<version> uninstall(For Podman)
# sudo podman run -it --rm -u 0 -v /full_path_to_volume:/full_path_to_volume -v /var/run/podman.sock:/var/run/podman.sock veritas/flexsnap-deploy:<version> uninstallReplace 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.For example, if the product version is
10.1.0.0.1005, the command syntax for docker is as follows:# sudo docker run -it --rm -u 0 -v /cloudpoint:/cloudpoint -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-deploy:10.1.0.0.1005 uninstall
If using a proxy server, then using the examples provided in the table earlier, the command syntax for docker is as follows:
# sudo docker run -it --rm -u 0 -v /cloudpoint:/cloudpoint -e VX_HTTP_PROXY="http://proxy.mycompany.com:8080/" -e VX_HTTPS_PROXY="http://proxy.mycompany.com:8080/" -e VX_NO_PROXY="localhost,mycompany.com,192.168.0.10:80" -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-deploy:10.1.0.0.1005 uninstall
Note:
This is a single command. Ensure that you enter the command without any line breaks.
The installer begins to unload the relevant NetBackup Snapshot Manager container packages from the host. Messages similar to the following indicate the progress status:
Uninstalling NetBackup Snapshot Manager -------------------------------------------- Stopping flexsnap-mongodb ... done Stopping flexsnap-rabbitmq ... done Stopping flexsnap-auth ... done Stopping flexsnap-core ... done Removing flexsnap-mongodb ... done Removing flexsnap-rabbitmq ... done Removing flexsnap-auth ... done Removing flexsnap-core ... done Unloading flexsnap-mongodb ... done Unloading flexsnap-rabbitmq ... done Unloading flexsnap-auth ... done Unloading flexsnap-core ... done
Confirm that the NetBackup Snapshot Manager containers are removed.
Use the following docker command:
(For Docker) # sudo docker ps -a
(For Podman) # sudo podman ps -a
If desired, remove the NetBackup Snapshot Manager container images from the host.
Use the following docker command to view the docker images that are loaded on the host:
(For Docker) # sudo docker images -a
(For Podman) # sudo podman images -a
Use the following respective commands to remove the NetBackup Snapshot Manager container images from the host:
(For Docker) # sudo docker rmi <image ID>
(For Podman) # sudo podman rmi <image ID>
This completes the NetBackup Snapshot Manager uninstallation on the host.
Possible next step is to re-deploy NetBackup Snapshot Manager.
See Installing NetBackup Snapshot Manager in the Docker/Podman environment.