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 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
- Troubleshooting AKS-specific issues
- Troubleshooting EKS-specific issues
- Troubleshooting AKS and EKS issues
- Appendix A. CR template
- Appendix B. MSDP Scaleout
- MSDP Scaleout configuration
- Managing MSDP Scaleout
- MSDP Scaleout maintenance
Steps for upgrading Cloud Scale from multiple media load balancer to none
For version 10.5 and later, there is no need of load balancers for media servers. this section describes the post upgrade procedure to be performed for converting from multiple load balancers to none.
Steps to convert from multiple load balancers to none
- After successfully upgrading the Cloud Scale Technology to 10.5 or later, all the load balancers associated with the media server are upgraded to version 10.5 or later.
- Deactivate the policy and the schedules. Wait for the running jobs to complete.
- Add the
media2
object in the mediaServers without te network load balancers. - Edit the environment, copy the media1 section (remove the load balancer section) and rename it to media2. Save the environment.
Add media2 mediaServers: - minimumReplicas: 2 name: media1 networkLoadBalancer: ipList: - fqdn: nbux-10-244-33-122.vxindia.veritas.com ipAddr: 10.244.33.122 - fqdn: nbux-10-244-33-123.vxindia.veritas.com ipAddr: 10.244.33.123 type: Private nodeSelector: labelKey: agentpool labelValue: nbuxpool paused: false replicas: 2 storage: data: autoVolumeExpansion: false capacity: 50Gi storageClassName: managed-csi-hdd log: autoVolumeExpansion: false capacity: 30Gi storageClassName: managed-csi-hdd - minimumReplicas: 2 name: media2 nodeSelector: labelKey: agentpool labelValue: nbuxpool paused: false replicas: 2 storage: data: autoVolumeExpansion: false capacity: 50Gi storageClassName: managed-csi-hdd log: autoVolumeExpansion: false capacity: 30Gi storageClassName: managed-csi-hdd
- Once the
media2
is successfully added, check the status of the media servers, media2 pods and services. Wait for the all the Pods to come up with media server status as success.Get mediaservers Kubectl get mediaserver -n <namespace> media1 10.5.0-64 79m nbux-10-244-33-120.vxindia.veritas.com Success media2 10.5.0-64 79m nbux-10-244-33-120.vxindia.veritas.com Success
- Pause both the media reconcilers using the commands:
Pause mediaServers objects kubectl patch -n <namespace> environments <environment name> --type='json' -p='[{"op": "add", "path": "/spec/mediaServers/0/paused", "value": true}]' kubectl patch -n <namespace> environments <environment name> --type='json' -p='[{"op": "add", "path": "/spec/mediaServers/1/paused", "value": true}]'
Paused mediaservers Kubectl get mediaserver -n <namespace> media1 10.5.0-64 79m nbux-10-244-33-120.vxindia.veritas.com Paused media2 10.5.0-64 79m nbux-10-244-33-120.vxindia.veritas.com Paused
- Navigate to NetBackup web UI and select Storage. On the Disk Storage, select the Storage server. There are multiple entries for media server with and without the load balancers.
- Delete the entry for
media1
. You have to remove all the entries of media servers containing FQDN. - Remove the media1 from the CR using the command:
kubectl patch -n <namespace> environments <environment name> --type='json' -p='[{"op": "remove", "path": "/spec/mediaServers/0"}]'
- Check the
bp.conf
file. - Delete the
media1
entries (FQDN entries of media1) from thebp.conf
file. Exec into the primary pod and open/usr/openv/netbackup/bp.conf
and delete the entries and save the file. - Resume the
media2
using the following command:kubectl patch -n <namespace> environments <environment name> --type='json' -p='[{"op": "add", "path": "/spec/mediaServers/0/paused", "value": false}]'
- Note the minimum replica value of
media2
. Change the minimum replica value using the following command:kubectl get pvc -n nbu | grep -i data-media1-media | wc -l 2
Wait for the pod to be in running state and the status of the media server must be displayed as
success
. - Login into the primary server Pod and move the database from previous media server to new media server using the following command:
bpmedia -movedb -allvolumes -oldserver <old mediaserver name> -newserver <new mediaserver name>
example: bpmedia -movedb -allvolumes -oldserver nbux-10-244-33-122.vxindia.veritas.com -newserver media2-media-0
Repeat this step for other media servers.
- Using the command delete the alias or hostname and repeat this for each media server:
nbemmcmd -deletehost -machinename <old mediaserver name> -machinetype media
example: nbemmcmd -deletehost -machinename nbux-10-244-33-122.vxindia.veritas.com -machinetype media
- Modify the minimum replica value to the original value noted in step 13.
- Add the entry of the previous media server object alias to the new media server in the Host mappings.
- Restore the backup and check the status in the Activity monitor and to the location where the backup is restored.