Veritas NetBackup for Microsoft Azure Stack Administrator's Guide
- Introduction
- Installing and deploying Microsoft Azure Stack plug-in for NetBackup
- Configuring NetBackup and Microsoft Azure Stack
- Managing backup hosts
- Configuring the Microsoft Azure plug-in using the azurestack.conf configuration file
- Creating a file that contains Microsoft Azure Stack credentials
- Performing backups and restores of Microsoft Azure Stack
- About the restore scenarios for Microsoft Azure Stack VMs from the BAR interface
- Troubleshooting
Adding Microsoft Azure Stack credentials in NetBackup
To establish a seamless communication between Microsoft Azure Stack clusters and NetBackup for successful backup and restore operations, you must add and update Microsoft Azure Stack credentials to the NetBackup master server.
Use the tpconfig command to add credentials in NetBackup master server.
For more information about the tpconfig command, see the NetBackup Commands Reference Guide.
To add credentials in NetBackup
- Run tpconfig command from the following directory paths:
On UNIX systems, /usr/openv/volmgr/bin/
- Run the following command by providing appropriate values for each parameter to add Microsoft Azure Stack credentials:
tpconfig -add -application_server_user_id user_ID -application_type application_type -application_server application_server_name -password password_of_the_nbu_azst_user -host_user_id master_server_admin_user_ID -host_password master_server_admin_password -host_RSA_key host_RSA_key_value -application_server_conf "/usr/<file_path>/azurestack.creds"
For host_RSA_key, use a random key or number generator to get a key.
For AAD, NetBackup uses clientID and clientSecret, so enter the value for -application_server_user_id as dummy and -password as "dummy.
Note:
The user you want to add must have co-owner permissions to the subscription you want to protect.
For example,
tpconfig -add -application_server_user_id example_user_ID -application_type azurestack -application_server application_server_name -password password_of_the_nbu_azst_user -host_user_id master_server_admin_user_ID -host_password master_server_admin_password -host_RSA_key 4d:8f:90:bc:f6:fb:1a:b8:99:d9:ac:a6:e6:69:79:2a -application_server_conf "/usr/openv/var/global/azurestack.creds"
Here, the numeric value 8 can also be specified for the -application_type parameter that corresponds to Microsoft Azure Stack .
- Run the tpconfig -dappservers command to verify if the NetBackup master server has the Azure credentials added.
For example, here is a sample output:
Application Server Host Name: management.local.azurestack.external Application Server Type: azurestack User Id: nbu_azst@azurestack.local Required Port: 0 User of Application Host: root RSA key fingerprint: 4d:8f:90:bc:f6:fb:1a:b8:99:d9:ac:a6:e6:69:79:2a
- After you use tpconfig to add the credentials, you can delete the credentials file from the /usr/<file_path>/azurestack.creds location.
- Run the following command to update or delete the tpconfig credentials:
Delete
tpconfig -delete -application_server_user_id user_ID -application_type application_type -application_server application_server_name -password password_of_the_nbu_azst_user -host_user_id master_server_admin_user_ID -host_password master_server_admin_password -host_RSA_key host_RSA_key_value -application_server_conf "/usr/<file_path>/azurestack.creds"
Update
To change the attributes or options in the credentials file, update the credentials and then use the tpconfig -update command.
tpconfig -update -application_server_user_id user_ID -application_type application_type -application_server application_server_name -password password_of_the_nbu_azst_user -host_user_id master_server_admin_user_ID -host_password master_server_admin_password -host_RSA_key host_RSA_key_value -application_server_conf "/usr/<file_path>/azurestack.creds"