Install extension using the extension script
Gather the following parameters before running the extension script:
Parameter | Description |
|---|---|
snapshotmanager_ip | Specify the NetBackup Snapshot Manager hostname or IP. |
target_image:tag | Target image tag created for the flexsnap-deploy image. Example: <account_id>.dkr.ecr.us-east-2.amazonaws.com/veritas/flexsnap-deploy:11.1.x.x-xxxx |
namespace | The namespace that was created earlier in the preparation steps, in which to deploy NetBackup Snapshot Manager. |
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 <snapshotmanager_ip> -i <target_image:tag> -n <namespace> -p <tag_key=tag_val> -f <storage_class> -t <workflow_token>
Example:
Executing extension script as an executable file: ./cp_extension.sh install -c <snapshotmanager_ip> -i <account-id>.dkr.ecr.us-east-2.amazonaws.com/veritas/flexsnap-deploy:11.1.x.x-xxxx -n cloudpoint-system -p eks.amazonaws.com/nodegroup=td-nodepool-dnd -s efs-sc -k 50 -t <workflow_token> This is a fresh NetBackup Snapshot Manager Extension Installation Getting Snapshot Manager service file ...done Getting Snapshot Manager CRD file ...done Starting Snapshot Manager service deployment namespace/cloudpoint-system configured deployment.apps/flexsnap-deploy 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 Snapshot Manager service deployment ...done customresourcedefinition.apiextensions.k8s.io/cloudpoint-servers.veritas.com condition met Generating Snapshot Manager Custom Resource Definition object cloudpointrule.veritas.com/cloudpoint-config-rule created Snapshot Manager extension installation ...done
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:
Executing script in interactive way: ./cp_extension.sh install Snapshot Manager image repository path. Format=<Login-server/image:tag>: <account-id>.dkr.ecr.us-east-2.amazonaws.com/veritas/flexsnap-deploy:11.1.x.x-xxxx Snapshot Manager extension namespace: cloudpoint-system Snapshot Manager IP or fully-qualified domain name: <snapshotmanager_ip> Node pool with format key=value: eks.amazonaws.com/nodegroup=td-nodepool-dnd Storage class name: efs-sc Size (In GiB): 60 Snapshot Manager extension token: This is a fresh NetBackup Snapshot Manager Extension Installation This is a fresh NetBackup Snapshot Manager Extension Installation Getting Snapshot Manager service file ...done Getting Snapshot Manager CRD file ...done Starting Snapshot Manager service deployment namespace/cloudpoint-system configured deployment.apps/flexsnap-deploy 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 Snapshot Manager service deployment ...done customresourcedefinition.apiextensions.k8s.io/cloudpoint-servers.veritas.com condition met Generating Snapshot Manager Custom Resource Definition object cloudpointrule.veritas.com/cloudpoint-config-rule created Snapshot Manager extension installation ...done
Note:
The output examples may be formatted or truncated to fit the screen.