NetBackup™ Deployment Guide for Kubernetes Clusters
- Introduction
- Section I. Configurations
- Prerequisites
- Recommendations and Limitations
- Configurations
- Configuration of key parameters in Cloud Scale deployments
- Section II. Deployment
- Section III. Monitoring and Management
- Monitoring NetBackup
- Monitoring Snapshot Manager
- Monitoring MSDP Scaleout
- Managing NetBackup
- Managing the Load Balancer service
- Managing PostrgreSQL DBaaS
- Performing catalog backup and recovery
- Managing MSDP Scaleout
- Section IV. Maintenance
- MSDP Scaleout Maintenance
- PostgreSQL DBaaS Maintenance
- Patching mechanism for Primary and Media servers
- 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 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
- Failed to register Snapshot Manager with NetBackup
- Post Kubernetes cluster restart, flexsnap-listener pod went into CrashLoopBackoff state or pods were unable to connect to flexsnap-rabbitmq
- Post Kubernetes cluster restart, issues observed in case of containerized Postgres deployment
- 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.
To upgrade the primary server and media server, edit the current environment using the following command:
kubectl edit environment -n <netbackup namespace>
Update the with new image tag in section.
Update the with new image tag in section.
Update the for catalog volume for primary server in Storage subsection of primary section in environment.yaml file.
(AKS-specific) Update the details of data volume for primary server in environment.yaml file. Storage class must be of Azure managed disk storage type.
Save the changes to the environment and exit.
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 by re-editing the environment to upgrade the MediaServer also. If this sequence is not followed then deployment may go into inconsistent state
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.