Upgrading NetBackup Snapshot Manager using patch or hotfix
You can also upgrade your current NetBackup Snapshot Manager server using a patch or a hotfix. All the considerations and steps that apply for a normal upgrade, also apply to the upgrade being done using a patch or a hotfix, except that instead of downloading a new NetBackup Snapshot Manager image, you download the patch/hotfix binaries.
Contact Veritas Technical Support at https://www.veritas.com/content/support/en_US/contact-us to obtain an Emergency Engineering Binary (EEB) for patch/hotfix.
Following are the brief steps explained with an example. For the detailed upgrade procedures
See Upgrading NetBackup Snapshot Manager.
Consider that the currently installed version is NetBackup Snapshot Manager 10.1.0.0 and you are upgrading to a NetBackup Snapshot Manager patch version 10.1.0.0.1005 on a RHEL8.6 system in a Podman/Docker environment.
To upgrade NetBackup Snapshot Manager using a patch or a hotfix
- Download the NetBackup Snapshot Manager EEB obtained from Veritas Technical Support.
Example:
NetBackup_SnapshotManager_<version>.tar.gz - Un-tar the image file and list the contents:
# ls NetBackup_SnapshotManager_10.1.1.0.xxxx.tar.gz netbackup-flexsnap-10.1.1.0.xxxx.tar.gz flexsnap_preinstall.sh
- Run the following command to prepare the NetBackup Snapshot Manager host for installation:
# sudo ./flexsnap_preinstall.sh
- Verify that there are no protection policy snapshots or other operations in progress and then stop NetBackup Snapshot Manager by running the following command:
For Podman
# podman run -it --rm --privileged -v /cloudpoint:/cloudpoint -v /run/podman/podman.sock:/run/podman/podman.sock veritas/flexsnap-deploy:<current_version> stopFor Docker
# docker run -it --rm --privileged -v /cloudpoint:/cloudpoint -v /run/docker/docker.sock:/run/docker/docker.sock veritas/flexsnap-deploy:<current_version> stopHere, current_version represents the currently installed NetBackup Snapshot Manager version.
- Depending on the environment, upgrade NetBackup Snapshot Manager by running the following command:
For Podman
# podman run -it --rm -u 0 -v /cloudpoint:/cloudpoint -v /run/podman/podman.sock:/run/podman/podman.sock veritas/flexsnap-deploy:<EEB_version> installFor an unattended installation, use the following command:
# podman run -it --rm -u 0 -v /cloudpoint:/cloudpoint -v /run/podman/podman.sock:/run/podman/podman.sock veritas/flexsnap-deploy:<EEB_version> install -yFor Docker
# sudo docker run -it --rm --privileged -u 0 -v /cloudpoint:/cloudpoint -v /cloudpoint:/cloudpoint -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-deploy:<new_version> installFor an unattended installation, use the following command:
# sudo docker run -it --rm --privileged -u 0 -v /cloudpoint:/cloudpoint -v /cloudpoint:/cloudpoint -v /var/run/docker.sock:/var/run/docker.sock veritas/flexsnap-deploy:<new_version> install -y
Here, EEB_version represents the NetBackup Snapshot Manager patch/hotfix version you are upgrading to.
The -y option passes an approval for all the subsequent installation prompts and allows the installer to proceed in a non-interactive mode.
Note:
Ensure that you enter the command without any line breaks.
The installer first loads the individual service images and then launches them in their respective containers.
- (Optional) Run the following command to remove the previous version images.
(For Podman) # podman rmi -f <imagename>:<oldimage_tagid>
(For Docker) # docker rmi -f <imagename>:<oldimage_tagid>
- To verify that the new NetBackup Snapshot Manager version is installed successfully:
See Verifying that NetBackup Snapshot Manager is installed successfully.
- This concludes the NetBackup Snapshot Manager upgrade process using a patch or a hotfix . Verify that your NetBackup Snapshot Manager configuration settings and data are preserved as is.