NetBackup™ Deployment Guide for Kubernetes Clusters
- Introduction
- Section I. Deployment
- Prerequisites for Kubernetes cluster configuration
- Deployment with environment operators
- Deploying NetBackup
- Preparing the environment for NetBackup installation on Kubernetes cluster
- Recommendations of NetBackup deployment on Kubernetes cluster
- Limitations of NetBackup deployment on Kubernetes cluster
- Primary and media server CR
- Configuring NetBackup IT Analytics for NetBackup deployment
- Managing NetBackup deployment using VxUpdate
- Migrating the cloud node for primary or media servers
- Deploying NetBackup using Helm charts
- Deploying MSDP Scaleout
- Deploying MSDP Scaleout
- Prerequisites for AKS
- Prerequisites for EKS
- Installing the docker images and binaries
- Initializing the MSDP operator
- Configuring MSDP Scaleout
- Using MSDP Scaleout as a single storage pool in NetBackup
- Configuring the MSDP cloud in MSDP Scaleout
- Using S3 service in MSDP Scaleout for AKS
- Enabling MSDP S3 service after MSDP Scaleout is deployed for AKS
- Deploying Snapshot Manager
- Section II. Monitoring and Management
- Monitoring NetBackup
- Monitoring MSDP Scaleout
- Monitoring Snapshot Manager
- Managing the Load Balancer service
- Managing MSDP Scaleout
- Performing catalog backup and recovery
- Section III. Maintenance
- MSDP Scaleout Maintenance
- Upgrading
- Uninstalling
- Troubleshooting
- Troubleshooting AKS and EKS issues
- View the list of operator resources
- View the list of product resources
- View operator logs
- View primary logs
- Socket connection failure
- Resolving an invalid license key issue
- Resolving an issue where external IP address is not assigned to a NetBackup server's load balancer services
- Resolving the issue where the NetBackup server pod is not scheduled for long time
- Resolving an issue where the Storage class does not exist
- Resolving an issue where the primary server or media server deployment does not proceed
- Resolving an issue of failed probes
- Resolving token issues
- Resolving an issue related to insufficient storage
- Resolving an issue related to invalid nodepool
- Resolving a token expiry issue
- Resolve an issue related to KMS database
- Resolve an issue related to pulling an image from the container registry
- Resolving an issue related to recovery of data
- Check primary server status
- Pod status field shows as pending
- Ensure that the container is running the patched image
- Getting EEB information from an image, a running container, or persistent data
- Resolving the certificate error issue in NetBackup operator pod logs
- Pod restart failure due to liveness probe time-out
- NetBackup messaging queue broker take more time to start
- Host mapping conflict in NetBackup
- Issue with capacity licensing reporting which takes longer time
- Local connection is getting treated as insecure connection
- Primary pod is in pending state for a long duration
- Backing up data from Primary server's /mnt/nbdata/ directory fails with primary server as a client
- Storage server not supporting Instant Access capability on Web UI after upgrading NetBackup
- Taint, Toleration, and Node affinity related issues in cpServer
- Operations performed on cpServer in environment.yaml file are not reflected
- Elastic media server related issues
- Troubleshooting AKS-specific issues
- Troubleshooting EKS-specific issues
- Troubleshooting AKS and EKS issues
- 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.
Ensure that the following server upgrade sequence is followed:
Primary server: Upgrade and verify it is successfully upgraded
MSDP server: Upgrade and verify it is successfully upgraded
Media server: Upgrade and verify it is successfully upgraded
Note the following:
All the media server replicas would be upgraded and media server autoscaler would scale in the media server replicas to .
Default value of is 1 and if it is not changed then after upgrade media servers would be scaled in to 1.
It is recommended to use a separate node pool for media pods. Cluster autoscaling must be enabled on media server node pool. See Config-Checker utility.
Upgrading the NetBackup application
- To upgrade the primary server and media server, edit the
environment.yamlfrom the new package. Copy all the fields from the preserved environment CRenvironment.yamlwhich can be obtained from the following section:See Preparing for NetBackup upgrade.
To update the primary server, update tag with new image tag in primary section in new
environment.yamlfile.To update the media server, update tag with new image tag in mediaServers section in new
environment.yamlfile.Update the storageClassName for catalog volume for primary server in Storage subsection of primary section in
environment.yamlfile.(AKS-specific) Update the details of data volume for primary server in
environment.yamlfile. Storage class should be of Azure managed disk storage type.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
Note:
MediaServer version should be same or lower than the PrimaryServer version after upgrade. Otherwise the 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 <PrimaryServer/MediaServer-CR-namespace>
- If required, check the NetBackup logs by performing exec into the pod using the following command:
kubectl exec -it -n <PrimaryServer/MediaServer-CR-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 <PrimaryServer/MediaServer-CR-namespace>
- New pod would be created and upgrade process will be restarted for the respective NetBackup server.
- Data migration jobs create the pods that run before deployment of primary server. Data migration pod exist after migration for one hour only if data migration job failed. The logs for data migration execution can be checked using the following command:
kubectl logs <migration-pod-name> -n <netbackup-environment-namespace>
User can copy the logs to retain them even after job pod deletion using the following command:
kubectl logs <migration-pod-name> -n <netbackup-environment-namespace> > jobpod.log
Note:
Downgrade of NetBackup servers is not supported. If this is done, there are chances of inconsistent state of NetBackup deployment.