Install extension using the extension script
Gather the following parameters before running the extension script:
Parameter | Description |
|---|---|
cloudpoint_ip | Specify the CloudPoint hostname or IP. |
target_image:tag | Target image tag created for the flexsnap-cloudpoint image. Example: <account_id>.dkr.ecr.us-east-2.amazonaws.com/veritas/flexsnap-cloudpoint:10.2.0.9129 |
namespace | The namespace that was created earlier in the preparation steps, in which to deploy CloudPoint. |
tag_key=tag_val |
Example: |
storage_class | Kubernetes storage class that was created earlier in the preparation steps. Example: |
Size in GB | Volume size to be provisioned as per your scaling requirements. |
workflow_token | Authentication token created from the NetBackup Web UI - Add extension dialog. |
Run the script as an executable file:
Permit the script to run as an executable:
# chmod +x cp_extension.sh
Run the installation command with all the input parameters described in the above table:
# ./cp_extension.sh install -c <cloudpoint_ip> -i <target_image:tag> -n <namespace> -p <tag_key=tag_val> -f <storage_class> -t <workflow_token>
Example:
root@access-vm2-dnd:/home/cpuser/cp_ext# ./cp_extension.sh install Veritas CloudPoint image repository path. Format=<Login-server/image:tag>: cpscale1.azurecr.io/veritas/flexsnap-cloudpoint:10.0.0.0.9808 CloudPoint extension namespace: ext CloudPoint IP or fully-qualified domain name: 10.244.63.154 Node group/pool label with format key=value: agentpool=extpool1 Storage class name: nbux-sc Size in GB : 100 CloudPoint extension token: This is a fresh NetBackup CloudPoint Extension Installation Starting CloudPoint service deployment customresourcedefinition.apiextensions.k8s.io/cloudpoint-servers.veritas.com unchanged serviceaccount/cloudpoint-acc unchanged clusterrole.rbac.authorization.k8s.io/cloudpoint-ext unchanged clusterrolebinding.rbac.authorization.k8s.io/cloudpoint-rolebinding-ext unchanged deployment.apps/flexsnap-cloudpoint created CloudPoint service deployment ...done customresourcedefinition.apiextensions.k8s.io/cloudpoint-servers.veritas.com condition met Generating CloudPoint Custom Resource Definition object Waiting for deployment "flexsnap-cloudpoint" rollout to finish: 0 of 1 updated replicas are available... deployment "flexsnap-cloudpoint" successfully rolled out cloudpointrule.veritas.com/cloudpoint-config-rule created CloudPoint extension installation ...done root@access-vm2-dnd:/home/cpuser/cp_ext# kubectl get pods -n ext NAME READY STATUS RESTARTS AGE flexsnap-cloudpoint-d8fb97c49-swp7v 1/1 Running 0 5m53s flexsnap-fluentd-b6vxz 1/1 Running 0 5m40s flexsnap-fluentd-collector-867c9cf776-q58bw 1/1 Running 0 5m40s flexsnap-listener-6f9f5cf7fd-9bsm4 1/1 Running 0 5m40s
Run the script as an interactive file:
Run the following command:
# ./cp_extension.sh install
When the script runs, provide the input parameters as described in the above table:
Example:
Veritas CloudPoint image repository path. Format=<Login-server/image:tag>: <account-id>.dkr.ecr.us-east-2.amazonaws.com/veritas/flexsnap-cloudpoint:10.2.0.9129 CloudPoint extension namespace: cloudpoint-system CloudPoint IP or fully-qualified domain name: 18.117.***.*** Node pool with format key=value: eks.amazonaws.com/nodegroup=td-nodepool-dnd AWS PVC Name: efs-claim CloudPoint extension token: This is a fresh NetBackup CloudPoint Extension Installation Getting CloudPoint service file ...done Getting CloudPoint CRD file ...done Starting CloudPoint service deployment namespace/cloudpoint-system configured deployment.apps/flexsnap-cloudpoint created serviceaccount/cloudpoint-acc created clusterrole.rbac.authorization.k8s.io/cloudpoint-cloudpoint-system unchanged clusterrolebinding.rbac.authorization.k8s.io/cloudpoint-rolebinding-cloudpoint-system unchanged customresourcedefinition.apiextensions.k8s.io/cloudpoint-servers.veritas.com created CloudPoint service deployment ...done customresourcedefinition.apiextensions.k8s.io/cloudpoint-servers.veritas.com condition met Generating CloudPoint Custom Resource Definition object cloudpointrule.veritas.com/cloudpoint-config-rule created CloudPoint extension installation ...done
Note:
The output examples may be formatted or truncated to fit the screen.