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
10 docker images for Snapshot Manager: flexsnap-certauth, flexsnap-rabbitmq, flexsnap-api, flexsnap-fluentd, flexsnap-datamover, flexsnap-nginx, flexsnap-idm, flexsnap-mongodb, flexsnap-core, flexsnap-deploy
To install the docker images
- Download
netbackup-flexsnap-$(SNAPSHOT_MANAGER_VERSION).tar.gzfrom 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-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}
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-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}
Configure Snapshot Manager
After you push the docker images to Azure 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
- Create (or use existing) a 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.yamlfile in the text editor. - Apply the CR file to the AKS 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.