Configuring the Microsoft Azure plug-in using the azurestack.conf configuration file
NetBackup master server uses the azurestack.conf file to save the configuration settings for communication with Microsoft Azure Stack.
You must create the azurestack.conf file in the /usr/openv/var/global directory.
Configuration definitions must be in the format of "attribute = value"; the single space before and after the '=' is required.
The options and values are case-sensitive.
Note:
You must not provide a blank value for any of the parameters, or the backup job fails.
Here is a sample of the azurestack.conf file:
VM_STATE = Running SNAPSHOT_RETRY_COUNT = <maximum_retries_count> FETCH_STORAGE_KEYS = false CA_FILE_PATH = //directory_path_system_CA_certificate/certificate_name.crt
The possible values for VM_STATE are Running, Deallocated, or Stopped.
The value for SNAPSHOT_RETRY_COUNT specifies the maximum retries that can happen if a VM snapshot process fails. The value cannot exceed 3.
The value for FETCH_STORAGE_KEYS specifies whether the storage account with access key is required in the Azure Stack credentials file. The value can be either true or false. If the value is true, then you do not specify the storage account with access keys in the credential file.
The value for CA_FILE_PATH is the directory path of the system CA certificate and the certificate name. For example,
/etc/pki/tls/certs/ca-bundle.crt. This directory path is the default path for all system CA certificates.
Note:
Do not add VM_STATE in the azurestack.conf file if you want to take a backup if all VMs.