NetBackup™ Deployment Guide for Amazon Elastic Kubernetes Services (EKS) Cluster
- Introduction to NetBackup on EKS
- Deployment with environment operators
- Assessing cluster configuration before deployment
- Deploying NetBackup
- About primary server CR and media server CR
- Upgrading NetBackup
- Deploying Snapshot Manager
- Migration and upgrade of Snapshot Manager
- Deploying MSDP Scaleout
- Upgrading MSDP Scaleout
- Monitoring NetBackup
- Monitoring MSDP Scaleout
- Monitoring Snapshot Manager deployment
- Managing the Load Balancer service
- Performing catalog backup and recovery
- Managing MSDP Scaleout
- About MSDP Scaleout maintenance
- Uninstalling MSDP Scaleout from EKS
- Uninstalling Snapshot Manager
- Troubleshooting
- 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 Amazon Elastic container registry, then initialize Snapshot Manager (flexsnap) operator and configure Snapshot Manager. 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 EKS 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.
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