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
- Preparing the environment for NetBackup installation on EKS
- Recommendations of NetBackup deployment on EKS
- Limitations of NetBackup deployment on EKS
- 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 group 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 EKS
- 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
- Resolving the primary server connection issue
- Primary pod is in pending state for a long duration
- 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
- Wrong EFS ID is provided in environment.yaml file
- Primary pod is in ContainerCreating state
- Webhook displays an error for PV not found
- Appendix A. CR template
Deploying NetBackup and MSDP Scaleout manually
After the operators are deployed, you can deploy the NetBackup and MSDP Scaleout environment.
To deploy NetBackup primary, media, and MSDP Scaleout components:
- Create a Kubernetes namespace where your new NetBackup environment will run. Run the command:
kubectl create namespace nb-example
Where, nb-example is the name of the namespace. The Primary, Media, and MSDP Scaleout application namespace must be different from the one used by the operators. It is recommended to use two namespaces. One for the operators, and a second one for the applications.
- Create a secret to hold the primary server credentials. Those credentials are configured in the NetBackup primary server, and other resources in the NetBackup environment use them to communicate with and configure the primary server. The secret must include fields for `username` and `password`. If you are creating the secret by YAML, the type should be opaque or basic-auth. For example:
apiVersion: v1 kind: Secret metadata: name: primary-credentials namespace: nb-example type: kubernetes.io/basic-auth stringData: username: nbuser password: p@ssw0rdYou can also use this command to create a secret.
$ kubectl create secret generic primary-credentials --namespace nb-example --from-literal=username='nbuser' --from-literal=password='p@ssw0rd'
- Create a KMS DB secret to hold Host Master Key ID (`HMKID`), Host Master Key passphrase (`HMKpassphrase`), Key Protection Key ID (`KPKID`), and Key Protection Key passphrase (`KPKpassphrase`) for NetBackup Key Management Service. If creating the secret by YAML, the type should be _opaque_. For example:
apiVersion: v1 kind: Secret metadata: name: example-key-secret namespace: nb-example type: Opaque stringData: HMKID: HMKID HMKpassphrase: HMKpassphrase KPKID: KPKID KPKpassphrase: KPKpassphraseYou can also create a secret using kubectl from the command line:
$ kubectl create secret generic example-key-secret --namespace nb-namespace --from-literal=HMKID="HMKID" --from-literal=HMKpassphrase="HMKpassphrase" --from-literal=KPKID="KPKID" --from-literal=KPKpassphrase="KPKpassphrase"
For more details on NetBackup deduplication engine credential rules, see: https://www.veritas.com/content/support/en_US/article.100048511
- Create a secret to hold the MSDP Scaleout credentials for the storage server. The secret must include fields for `username` and `password` and must be located in the same namespace as the Environment resource. If creating the secret by YAML, the type should be _opaque_ or _basic-auth_. For example:
apiVersion: v1 kind: Secret metadata: name: msdp-secret1 namespace: nb-example type: kubernetes.io/basic-auth stringData: username: nbuser password: p@ssw0rdYou can also create a secret using kubectl from the command line:
$ kubectl create secret generic msdp-secret1 --namespace nb-example --from-literal=username='nbuser' --from-literal=password='p@ssw0rd'
Note:
You can use the same secret for the primary server credentials (from step 2) and the MSDP Scaleout credentials, so the following step is optional. However, to use the primary server secret in an MSDP Scaleout, you must set the `credential.autoDelete` property to false. The sample file includes an example of setting the property. The default value is true, in which case the secret may be deleted before all parts of the environment have finished using it.
- (Optional) Create a secret to hold the KMS key details. Specify KMS Key only if the KMS Key Group does not already exist and you need to create.
Note:
When reusing storage from previous deployment, the KMS Key Group and KMS Key may already exist. In this case, provide KMS Key Group only.
If creating the secret by YAML, the type should be _opaque_. For example:
apiVersion: v1 kind: Secret metadata: name: example-key-secret namespace: nb-example type: Opaque stringData: username: nbuser passphrase: 'test passphrase'You can also create a secret using kubectl from the command line:
$ kubectl create secret generic example-key-secret --namespace nb-example --from-literal=username="nbuser" --from-literal=passphrase="test passphrase"
You may need this key for future data recovery. After you have successfully deployed and saved the key details. It is recommended that you delete this secret and the corresponding key info secret.
- Configure the
samples/environment.yamlfile according to your requirements. This file defines a primary server, media servers, and scale out MSDP Scaleout storage servers.See Configuring theenvironment.yamlfile. for details. - Apply the environment yaml file, using the same application namespace created in step 1.
$ kubectl apply --namespace nb-example --filename environment.yaml
Use this command to verify the new environment resource in your cluster:
$ kubectl get --namespace nb-example environments
The output should look like:
NAME AGE environment-sample 2m
After a few minutes, NetBackup finishes starting up on the primary server, and then the media servers and MSDP Scaleout storage servers you configured in the environment resource start appearing. Run:
$ kubectl get --namespace nb-example all,environments,primaryservers,mediaservers,msdpscaleouts
The output should show:
All pod status as Ready and Running
NAME READY STATUS pod/dedupe1-uss-controller- 1/1 Running pod/dedupe1-uss-mds-1 1/1 Running
For
msdpscaleoutSIZE = READY, for example: 4=4.NAME SIZE READY msdpscaleout.msdp.veritas.com/dedupe1 4 4
environment.netbackupshould show STATUS as SuccessNAME STATUS environment.netbackup.veritas.com/environment-sample Success
- To start using your newly deployed environment sign-in to NetBackup web UI. Open a web browser and navigate to
https://<primaryserver>/webui/loginURL.The primary server is the host name or IP address of the NetBackup primary server.
You can retrieve the primary server's hostname by using the command:
$ kubectl describe primaryserver.netbackup.veritas.com/<primary server CR name>--namespace <namespace_name>
Refer to Deploying MSDP Scaleout from the guide NetBackup™ Deployment Guide for Amazon Elastic Kubernetes Services (EKS) Cluster