NetBackup™ Deployment Guide for Kubernetes Clusters
- Introduction
- Section I. Configurations
- Prerequisites
- Recommendations and Limitations
- Configurations
- Configuration of key parameters in Cloud Scale deployments
- Tuning touch files
- Setting maximum jobs per client
- Setting maximum jobs per media server
- Enabling intelligent catalog archiving
- Enabling security settings
- Configuring email server
- Reducing catalog storage management
- Configuring zone redundancy
- Enabling client-side deduplication capabilities
- Parameters for logging (fluentbit)
- Section II. Deployment
- Section III. Monitoring and Management
- Monitoring NetBackup
- Monitoring Snapshot Manager
- Monitoring fluentbit
- Monitoring MSDP Scaleout
- Managing NetBackup
- Managing the Load Balancer service
- Managing PostrgreSQL DBaaS
- Managing fluentbit
- Performing catalog backup and recovery
- Section IV. Maintenance
- PostgreSQL DBaaS Maintenance
- Patching mechanism for primary, media servers, fluentbit pods, and postgres pods
- Upgrading
- Cloud Scale Disaster Recovery
- 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
- Request router logs
- Issues with NBPEM/NBJM
- Issues with logging feature for Cloud Scale
- The flexsnap-listener pod is unable to communicate with RabbitMQ
- Troubleshooting AKS-specific issues
- Troubleshooting EKS-specific issues
- Troubleshooting issue for bootstrapper pod
- Troubleshooting AKS and EKS issues
- Appendix A. CR template
- Appendix B. MSDP Scaleout
- About MSDP Scaleout
- Prerequisites for MSDP Scaleout (AKS\EKS)
- Limitations in MSDP Scaleout
- MSDP Scaleout configuration
- Installing the docker images and binaries for MSDP Scaleout (without environment operators or Helm charts)
- Deploying MSDP Scaleout
- Managing MSDP Scaleout
- MSDP Scaleout maintenance
(AKS-specific) Allocating static PV for Primary and Media pods
When you want to use a disk with specific performance parameters, you can statically create the PV and PVC. You must allocate static PV and PVC before deploying the NetBackup server for the first time.
To allocate static PV for Primary and Media pods
- Create storage class in cluster as per recommendations.
See How does the Config-Checker utility work. for storage class recommendation.
This newly created storage class name is used while creating PV and PVC's and should be mentioned for Catalog, Log, Data volume in the environment CR in primaryServer and mediaServer section at the time of deployment.
For more information on creating storage class, see Create a custom storage class.
For example,
kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: managed-premium-retain provisioner: disk.csi.azure.com reclaimPolicy: Retain allowVolumeExpansion: true volumeBindingMode: Immediate parameters: storageaccounttype: Premium_LRS kind: Managed
- Calculate number of disks required.
The following persistent volumes are required by Primary and Media pods:
Catalog, Data and Log volume disk for primary server.
Data and Log volume disk per replica of media server.
Use the following format to form PVC names.
For primary server
catalog-<resourceNamePrefix_of_primary>-primary-0
data-<resourceNamePrefix_of_primary>-primary-0
logs-<resourceNamePrefix_of_primary>-primary-0
For media server
data-<resourceNamePrefix_of_media>-media-<media server replica number. Count starts from 0>
logs-<resourceNamePrefix_of_media>-media-<media server replica number. Count starts from 0>
Example 1
If user wants to deploy a media server with replica count 3.
Names of the Media PVC assuming resourceNamePrefix_of_media is testmedia.
For this scenario, you must create total 8 disks, 8 PV and 8 PVCs.
6 disks, 6 PV and 6 PVCs for media server.
Following will be the names for:
Primary server
For catalog: catalog-testprimary-primary-0
For data: data-testprimary-primary-0
For logs: logs-testprimary-primary-0
Media server
For data:
data-testmedia-media-0
data-testmedia-media-1
data-testmedia-media-2
For log:
logs-testmedia-media-0
logs-testmedia-media-1
logs-testmedia-media-2
Example 2
If user wants to deploy a media server with replica count 5
Names of the Media PVC assuming resourceNamePrefix_of_media is testmedia.
For this scenario, you must create 12 disks, 12 PV and 12 PVCs
10 disks, 10 PV and 10 PVCs for media server.
Following will be the names for media server volumes
For data:
data-testmedia-media-0
data-testmedia-media-1
data-testmedia-media-2
data-testmedia-media-3
data-testmedia-media-4
For log:
logs-testmedia-media-0
logs-testmedia-media-1
logs-testmedia-media-2
logs-testmedia-media-3
logs-testmedia-media-4
- Create required number of Azure disks and save the ID of newly created disk.
For more information, see Azure Disk - Static
- Create PVs for each disk and link the PVCs to respective PVs.
To create the PVs, specify the created storage class and diskURI (ID of the disk received in step 3) in the yaml file. The PV must be created using the claimRef field and provide PVC name for its corresponding namespace.
For example, if you are creating PV for catalog volume, storage required is 128GB, diskName is primary_catalog_pv and namespace is test. PVC named catalog-testprimary-primary-0 is linked to this PV when PVC is created in the namespace test.
apiVersion: v1 kind: PersistentVolume metadata: name: catalog spec: capacity: storage: 128Gi accessModes: - ReadWriteOnce azureDisk: kind: Managed diskName: primary_catalog_pv diskURI: /subscriptions/3247febe-4e28-467d-a65c-10ca69bcd74b/ resourcegroups/MC_NBU-k8s-network_xxxxxx_eastus/providers/Microsoft.Compute/disks/deepak_s_pv claimRef: apiVersion: v1 kind: PersistentVolumeClaim name: catalog-testprimary-primary-0 namespace: test - Create PVC with correct PVC name (step 2), storage class and storage.
For example,
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: catalog-testprimary-primary-0 namespace: test spec: storageClassName: "managed-premium-retain" accessModes: - ReadWriteOnce resources: requests: storage: 128Gi - Perform step 4 and 5 for all of the following:
Primary server: Catalog, Data and Logs volume.
Media server: Logs and Data volume.
- Deploy the Operator.
- Use previously created storage class names for the volumes in primaryServer and mediaServer section in environment CR spec and deploy environment CR.