NetBackup™ Deployment Guide for Kubernetes Clusters
- Introduction
- Section I. Deployment
- Prerequisites for Kubernetes cluster configuration
- Deployment with environment operators
- Deploying NetBackup
- Primary and media server CR
- Deploying NetBackup using Helm charts
- Deploying MSDP Scaleout
- 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
- Troubleshooting AKS-specific issues
- Troubleshooting EKS-specific issues
- Troubleshooting AKS and EKS issues
- Appendix A. CR template
Installing the docker images
The Snapshot Manager package netbackup-flexsnap-$(SNAPSHOT_MANAGER_VERSION).tar.gz
for Kubernetes includes the following:
A docker image for Snapshot Manager operator
8 docker images for Snapshot Manager: flexsnap-certauth, flexsnap-rabbitmq, flexsnap-fluentd, flexsnap-datamover, flexsnap-nginx, flexsnap-mongodb, flexsnap-core, flexsnap-deploy
To install the docker images
- Download
netbackup-flexsnap-$(SNAPSHOT_MANAGER_VERSION).tar.gz
from the Veritas site. - Load the docker images to your docker storage.
docker load -i netbackup-flexsnap-$(SNAPSHOT_MANAGER_VERSION).tar.gz
- Tag the images.
$ docker tag veritas/flexsnap-fluentd:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-fluentd:${SNAPSHOT_MANAGER_VERSION}
$ docker tag veritas/flexsnap-datamover:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-datamover:${SNAPSHOT_MANAGER_VERSION}
$ docker tag veritas/flexsnap-nginx:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-nginx:${SNAPSHOT_MANAGER_VERSION}
$ docker tag veritas/flexsnap-mongodb:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-mongodb:${SNAPSHOT_MANAGER_VERSION}
$ docker tag veritas/flexsnap-core:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-core:${SNAPSHOT_MANAGER_VERSION}
$ docker tag veritas/flexsnap-deploy:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-deploy:${SNAPSHOT_MANAGER_VERSION}
$ docker tag veritas/flexsnap-certauth:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-certauth:${SNAPSHOT_MANAGER_VERSION}
$ docker tag veritas/flexsnap-rabbitmq:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-rabbitmq:${SNAPSHOT_MANAGER_VERSION}
Note:
Ensure that you use the same tag as that of Snapshot Manager image version. Custom tag cannot be used.
- Push the images.
$ docker push ${REGISTRY}/veritas/flexsnap-certauth:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-rabbitmq:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-fluentd:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-datamover:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-nginx:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-mongodb:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-core:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-deploy:${SNAPSHOT_MANAGER_VERSION}
Configure Snapshot Manager
After you push the docker images to the following respective registry, then initialize Snapshot Manager (flexsnap) operator and configure Snapshot Manager:
(AKS-specific) Azure container
(EKS-specific) Amazon Elastic container
The Snapshot Manager operator starts with NetBackup operator. For more information, refer to the following section:
Configure Snapshot Manager
- Use existing dedicated namespace for Snapshot Manager to run:
kubectl create ns <sample-namespace>
- Create a Snapshot Manager Secret. The Secret is used in CR.
kubectl create secret generic cp-creds --from-literal=username='admin' --from-literal=password='Cloudpoint@123' -n $ENVIRONMENT_NAMESPACE
- Edit the cpServer CR section of the
environment.yaml
file in the text editor. - Apply the CR file to the Kubernetes cluster:
kubectl apply -f <sample-cr-yaml>
- Monitor the configuration process:
kubectl get all -n <namespace> -o wide
- Verify the status by running the following command:
kubectl get cpservers -n <sample-namespace>
Note:
If Snapshot Manager is uninstalled and installed again with same NetBackup primary server, then generate reissue token and edit the Snapshot Manager after enabling it.
(EKS-specific) Reissue token
- Login to NetBackup Web UI.
- Navigate to Security > Host Mappings.
- On the Host mappings page, identify the Snapshot Manager IP and select Action.
- Click on Generate reissue token.
- Provide a name for the reissue token, number of days for validation and click on Generate.
- Note down the generated token number.
- Navigate to Workloads > Cloud.
- Select Snapshot Manager tab and click on Action.
- Select Enable option and click on Edit.
- Click on Validate and Accept the certificate.
- Provide Username, Password, and Token (noted down in the above step) credentials and click on Save.
More Information