config_azure | Teradata DSA Commands - 17.20 - config_azure - BAR - Data Stream Architecture

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
17.20
Release Date
October 2021
Content Type
User Guide
Publication ID
B035-3150-101K
Language
English (United States)

Purpose

The config_azure command configures the Microsoft Azure Server in the DSA repository based on parameter files.

Syntax

config_azure -f|-file FILE

Example

config_azure -f file1.xml

Parameters

f|file filename
The full path and name of the file containing the necessary configuration parameters.
u|user_authentication User
Required when security management is enabled. Supplies the command with the Viewpoint user, and triggers a password prompt for authentication.

Permissions required: Administrator role

Usage Notes

You will need to enter an access_key for the Azure storage account. See https://docs.microsoft.com/azure/storage/storage-create-storage-account

XML File Example

A representative XML file is shown below. Note that the prefix_name should be followed by "/" to be used as a folder.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<dscConfigAzureBlobStorage xmlns="http://schemas.teradata.com/v2012/DSC">
<config_azure_blob_storage>
<!-- 'Storage account' - Required, max length 24, lowercase -->
<storage_account>azurerbuda</storage_account>
 <!-- 'Storage account enumeration ' - Required, valid values: cool, hot -->
 <storage_type>cool</storage_type>
 <!-- Specialized endpoint for Azure Independent Clouds e.g. AzureUSGovernment,    
  AzureChinaCloud and AzureGermanCloud - Optional -->
 <region></region>
 <blobs>
 <!--'Blob container name' - Required, max length 63, lowercase, at least one -->
 <blob_container>udaesblob01</blob_container>
   <prefix_list>
      <!-- 'Prefix name' - Required, max length 256, at least one -->
      <prefix_name>br186001-1</prefix_name>
      <storage_devices>2</storage_devices>
   </prefix_list> 
 </blobs>
 <blobs>
  <blob_container>udaesblob02</blob_container>
     <prefix_list>
       <prefix_name>br186001-2</prefix_name>
       <storage_devices>2</storage_devices>
     </prefix_list>  
  </blobs>
</config_azure_blob_storage>
</dscConfigAzureBlobStorage>