NetBackup™ Deployment Guide for Azure Kubernetes Services (AKS) Cluster
- Introduction to NetBackup on AKS
- Deployment with environment operators
- Assessing cluster configuration before deployment
- Deploying NetBackup
- Preparing the environment for NetBackup installation on AKS
- Recommendations of NetBackup deployment on AKS
- Limitations of NetBackup deployment on AKS
- About primary server CR and media server CR
- Monitoring the status of the CRs
- Updating the CRs
- Deleting the CRs
- Configuring NetBackup IT Analytics for NetBackup deployment
- Managing NetBackup deployment using VxUpdate
- Migrating the node pool for primary or media servers
- 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 AKS
- Uninstalling Snapshot Manager
- Troubleshooting
- View the list of operator resources
- View the list of product resources
- View operator logs
- View primary logs
- Pod restart failure due to liveness probe time-out
- Socket connection failure
- Resolving an invalid license key issue
- 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
- Data migration unsuccessful even after changing the storage class through the storage yaml file
- Host validation failed on the target host
- Primary pod is in pending state for a long duration
- Taint, Toleration, and Node affinity related issues in cpServer
- Operations performed on cpServer in environment.yaml file are not reflected
- Host mapping conflict in NetBackup
- NetBackup messaging queue broker take more time to start
- Local connection is getting treated as insecure connection
- Issue with capacity licensing reporting which takes longer time
- Backing up data from Primary server's /mnt/nbdata/ directory fails with primary server as a client
- Primary pod goes in non-ready state
- Appendix A. CR template
Deploying the operators manually
To perform these steps, log on to the Linux workstation or VM where you have extracted the TAR file.
To deploy the operators
- Install the MSDP kubectl plug-in at some location which is set in the path environment variable of your shell. For example, copy the file
kubectl-msdpto/usr/local/bin/. - Run the following commands to load each of the product images to the local docker instance.
$ docker load -i netbackup-main-10.1.tar.gz
$ docker load -i netbackup-operator-10.1.tar.gz
$ docker load -i pdcluster-17.0.tar.gz
$ docker load -i pdde-17.0.tar.gz
$ docker load -i pdk8soptr-17.0.tar.gz
$ docker load -i netbackup-flexsnap-$(SNAPSHOT_MANAGER_VERSION).tar.gz
Run the command docker image ls to confirm that the product images are loaded properly to the docker cache.
- Run the following commands to re-tag the images to associate them with your container registry, keep the image name and version same as original:
$ REGISTRY=<example.azurecr.io> (Replace with your own container registry name)
$ docker tag netbackup/main:10.1 ${REGISTRY}/netbackup/main:10.1
$ docker tag netbackup/operator:10.1 ${REGISTRY}/netbackup/operator:10.1
$ docker tag uss-engine:17.0 ${REGISTRY}/uss-engine:17.0
$ docker tag uss-controller:17.0 ${REGISTRY}/uss-controller:17.0
$ docker tag uss-mds:17.0 ${REGISTRY}/uss-mds:17.0
$ docker tag msdp-operator:17.0 ${REGISTRY}/msdp-operator:17.0
$ 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}
$ docker tag veritas/flexsnap-api-gateway:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-api-gateway:${SNAPSHOT_MANAGER_VERSION}
$ 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-idm:${SNAPSHOT_MANAGER_VERSION} ${REGISTRY}/veritas/flexsnap-idm:${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}
- Run the following commands to push the images to the container registry.
$ docker push ${REGISTRY}/netbackup/main:10.1
$ docker push ${REGISTRY}/netbackup/operator:10.1
$ docker push ${REGISTRY}/uss-engine:17.0
$ docker push ${REGISTRY}/uss-controller:17.0
$ docker push ${REGISTRY}/uss-mds:17.0
$ docker push ${REGISTRY}/msdp-operator:17.0
$ docker push ${REGISTRY}/veritas/flexsnap-certauth:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-rabbitmq:${SNAPSHOT_MANAGER_VERSION}
$ docker push ${REGISTRY}/veritas/flexsnap-api-gateway:${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-idm:${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}
- Create a namespace for deploying the NetBackup and MSDP Scaleout operators. These instructions use the default netbackup-operator-system namespace but a custom namespace is also supported, run:
$ kubectl create namespace netbackup-operator-system
- Install the MSDP Scaleout operator in the created namespace, using this command. To run this command you must define a full image name in step 3, define a storage class for storing logs from the MSDP operator, and define node selector labels (optional) for scheduling the MSDP operator pod on specific nodes. See Prerequisites.
$ kubectl msdp init --image ${REGISTRY}/msdp-operator:17.0 --storageclass x --namespace netbackup-operator-system -l key1=value1
- To verify that the MSDP Scaleout operator is running, run:
$ kubectl get all --namespace netbackup-operator-system
Here, we are using the namespace created in step 5.
The msdp-operator pod should show status as Running.
- In this step, configure the namespace, image name, and node selector to use for the NetBackup operator image by editing the provided configuration yaml files.
(Optional) Perform this step only when using a custom namespace. Edit the file
operator/kustomization.yamland change `namespace` to your custom namespace. For example: namespace: my-custom-namespaceEdit the file
operator/kustomization.yamland change newName and newTag. For example:images: - name: netbackupoperator newName: example.com/netbackup/operator newTag: '10.1'Edit the
operator/patches/operator_patch.yamlfile to add or remove node selectors and toleration that control what nodes Kubernetes may schedule the operator to run on. Use the key value pair same as given during node pool creation. For example:nodeSelector: nbpool: nbnodes # Support node taints by adding pod tolerations equal to thespecified nodeSelectors # For Toleartion NODE_SELECTOR_KEY used as a key and
NODE_SELECTOR_VALUE as a value. tolerations: - key: nbpool operator: "Equal" value: nbnodes
- Configure the namespace, image name, and node selector to use for NetBackup Snapshot Manager operator image by editing the provided configuration yaml files. Edit the
operator/kustomization.yamlfile and change newName and newTag. Also change Snapshot Manager operator's node selector and toleration (CONTROL_NODE_KEY and CONTROL_NODE_VALUE).The value of CONTROL_NODE_KEY and CONTROL_NODE_VALUE should match with the value of the fields listed in operator/patches/operator_patch.yaml > nodeSelector (labelKey, labelValue) and tolerations (key, value), so that the Snapshot Manager operator will also run on the same node as NetBackup operator. For example:
images: - name: cloudpointoperator newName: example.com/veritas/flexsnap-deploy newTag: '10.1' patches: - target: kind: Deployment name: flexsnap-operator patch: | - op: replace path: /spec/template/spec/tolerations/0/key value: nbu-control-pool - op: replace path: /spec/template/spec/tolerations/0/value value: nbupool - op: replace path: /spec/template/spec/affinity/nodeAffinity/requiredDuringSchedulingIgnoredDuringExecution/nodeSelectorTerms/0/matchExpressions/0/key value: nbu-control-pool - op: replace path: /spec/template/spec/affinity/nodeAffinity/requiredDuringSchedulingIgnoredDuringExecution/nodeSelectorTerms/0/matchExpressions/0/values/0 value: nbupool - To install the NetBackup and Snapshot Manager operator, run the following command from the installer's root directory:
$ kubectl apply -k operator
- To verify if the operators are running, run:
$ kubectl get all --namespace netbackup-operator-system
Verify that
pod/netbackup-operatorandpod/flexsnap-operatorSTATUS is showing as Running.