config_azure - Data Stream Architecture

Teradata Data Stream Architecture (DSA) User Guide

Product
Data Stream Architecture
Release Number
16.10.01
Published
November 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
fyx1509665931452.ditamap
dita:ditavalPath
3150_DSA_UG_1610.ditaval.ditaval
dita:id
B035-3150
Product Category
Software
Teradata Tools and Utilities

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.

Usage Notes

You will need to enter an access_key for the Azure storage account. See https://docs.microsoft.com/en-us/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>
  <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>