Configuring NetBackup for AWS Snowball Edge using CLI
To configure NetBackup for AWS Snowball Edge using the CLI
- Log on to your primary server.
- To add a custom instance for AWS Snowball Edge device, run:
/usr/openv/netbackup/bin/admincmd/csconfig cldinstance -a -in <instance name> -pt amazon -sh <hostname of your snowball server> -http_port_8080 -access_style 2
Note:
If configuring NetBackup for AWS Snowball Edge with SSL enabled, use -https_port 8443.
- Create a custom instance for AWS Snowball Edge, run:
/usr/openv/netbackup/bin/admincmd/csconfig cldinstance -ar -in <instance name> -rn <region snowball edge device is imported> -lc <location constraint of the region> -sh <IP address of snowball edge device>
- Create an alias for the custom instance:
/usr/openv/netbackup/bin/admincmd/csconfig cldinstance -as -in <instance name> -sts <storage server name> -lsu_name <name of LSU> -crl 0 -ssl 0
- Create a configuration file as follows:
[root@instancename# cat /add_lsu.txt V7.5 "operation" "add-lsu-cloud" string V7.5 "lsuName" "<lsu name used in last step> string V7.5 "cmsCredName" "<Snowball CMS CredName>" string V7.5 "lsuCloudBucketName" "<Bucket name on Snowball>" string V7.5 "lsuCloudBucketSubName" "<Volume name in the bucket>" string
Note:
If you use CMS for cloud authentication, use the CMS credential name in the configuration file instead of "lsuCloudUser" and "lsuCloudPassword". Use the following format:
V7.5 "cmsCredName" "<Snowball_credential_name>" string
To update the storage server configuration using the configuration file created, run:
/usr/openv/netbackup/bin/admincmd/nbdevconfig -setconfig -storage_server <storage server name> -stype PureDisk -configlist /add_lsu.txt
To preview the disk volume and copy it to a temporary file, run:
/usr/openv/netbackup/bin/admincmd/nbdevconfig -previewdv -storage_server <storage server name> -stype PureDisk | grep <Volume name> > /tmp/dvlist
To create a disk pool, run:
/usr/openv/netbackup/bin/admincmd/nbdevconfig -createdp -dp <disk pool name> -stype PureDisk -dvlist /tmp/dvlist -storage_servers <storage server name>
- To create storage unit, run:
/usr/openv/netbackup/bin/admincmd/bpstuadd -label <storage unit name> -odo 0 -dt 6 -dp <disk pool name> -nodevhost