Upgrading NetBackup Snapshot Manager for Data Center using patch or hotfix
You can also upgrade your current NetBackup Snapshot Manager for Data Center 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 for Data Center image, you download the patch or hotfix binaries.
Contact Veritas 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 for Data Center.
Consider that the currently installed version is NetBackup Snapshot Manager for Data Center 10.x.x.x and you are upgrading to a NetBackup Snapshot Manager for Data Center patch version 10.x.x.x.xxxx on a RHEL8.6 system in a Podman/Docker environment.
To upgrade NetBackup Snapshot Manager for Data Center using a patch or a hotfix
- Download the NetBackup Snapshot Manager for Data Center EEB obtained from Veritas Support.
Example:
NetBackup_SnapshotManager_<version>.tar.gz - Un-tar the image file and list the contents:
# ls NetBackup_SnapshotManager_10.x.x.x.xxxx.tar.gz netbackup-flexsnap-10.x.x.x.xxxx.tar.gz flexsnap_preinstall.sh
- Run the following command to prepare the NetBackup Snapshot Manager for Data Center 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 for Data Center 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 -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 for Data Center version.
For Docker/Podman: Use the flexsnap_configure CLI:
# flexsnap_configurestop - Depending on the environment, upgrade NetBackup Snapshot Manager for Data Center by running the following command:
For Docker/Podman: Use the flexsnap_configure CLI:
# flexsnap_configure installFor 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 -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 -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 for Data Center 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 for Data Center version is installed successfully:
See Verifying that NetBackup Snapshot Manager for Data Center is installed successfully.
- This concludes the NetBackup Snapshot Manager for Data Center upgrade process using a patch or a hotfix. Verify that your NetBackup Snapshot Manager for Data Center configuration settings and data are preserved as is.