NetBackup™ Deployment Guide for Azure Kubernetes Services (AKS) Cluster
- Introduction to NetBackup on AKS
- Deployment with environment operators
- Assessing cluster configuration before deployment
- Deploying NetBackup
- About primary server CR and media server CR
- Upgrading NetBackup
- Deploying MSDP Scaleout
- Upgrading MSDP Scaleout
- Monitoring NetBackup
- Monitoring MSDP Scaleout
- Managing the Load Balancer service
- Performing catalog backup and recovery
- Managing MSDP Scaleout
- About MSDP Scaleout maintenance
- Uninstalling MSDP Scaleout from AKS
- Troubleshooting
- Appendix A. CR template
Upgrading NetBackup application
Ensure that all the steps mentioned in the following section are performed before performing the upgrade of NetBackup application:
See Preparing for NetBackup upgrade.
Upgrading the NetBackup application
- To upgrade the primary server and media server, edit the
environment.yaml
from the new package. Copy all the fields from the preserved environment CRenvironment.yaml
which can be obtained from the the following section:See Preparing for NetBackup upgrade.
kubectl edit environment <environmentCR-name> -n <namespace>
To update the primary server, update tag with new image tag in primary section in new
environment.yaml
file.To update the media server, update tag with new image tag in mediaServers section in new
environment.yaml
file.For example,
Kind: Environment ... Spec: primary: tag: "newtag" mediaServers: tag: "newtag"
Apply the changes using the following command:
kubectl apply -f <environment.yaml>
Primary server and media server pods would start with new container images respectively.
Note:
Upgrade the PrimaryServer first and then change the tag for MediaServer to upgrade. If this sequence is not followed then deployment may go into inconsistent state
- At the time of upgrade, primary server and media server status would be changed to Running. Once upgrade is completed, the status would be changed to Success again.
Perform the following if upgrade fails in between for primary server or media server
- Check the installation logs using the following command:
kubectl logs <PrimaryServer-pod-name/MediaServer-pod-name> -n <namespace>
- If required, check the NetBackup logs by performing exec into the pod using the following command:
kubectl exec -it -n <namespace> <PrimaryServer/MediaServer-pod-name> -- bash
- Fix the issue and restart the pod by deleting the respective pod with the following command:
kubectl delete < PrimaryServer/MediaServer-pod-name > -n <namespace>
- New pod would be created and upgrade process will be restarted for the respective NetBackup server.
Note:
Downgrade of NetBackup servers is not supported. If this is done, there are chances of inconsistent state of NetBackup deployment.