config_aws - Data Stream Architecture

Teradata Data Stream Architecture (DSA) User Guide

Product
Data Stream Architecture
Release Number
16.00
Published
November 2016
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
zgh1474305420348.ditamap
dita:ditavalPath
3150_DSA_UG_1600.ditaval.ditaval
dita:id
B035-3150
lifecycle
previous
Product Category
Software
Teradata Tools and Utilities

Purpose

The config_aws command configures the Amazon S3 Server in the DSA repository based on parameter files.

Syntax

config_aws -f/-file FILE

Example

config_aws -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_id and access_key for the AWS S3 application. See http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey.

dsc config_aws -f aws.xml

Data Stream Controller Command Line 16.00.00.00
Command parameters:
-file : aws.xml
Enter access id for account "acctName".

AKIAJYGWLNCJDDZ35AXQ

Enter access key for account "acctName".

*******

Connected to DSC version 16.00.00.00
Saving AWS Backup Application configuration...

XML File Example

A representative XML file is shown below. Note the following:
<?xml version="1.0" encoding="UTF-8"?>
<dscConfigAmzS3 dscVersion="" xmlns="http://schemas.teradata.com/v2012/DSC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.teradata.com/v2012/DSC DSC.xsd ">
<config_aws_list>
 <!-- character must be alphanumeric, - Required, max characters 32 -->
 <account_name>acctName</account_name>
 <!-- must be region enum -->
 <buckets_by_region>
    <!--   --> 
    <region>us-east-1</region>
   
       <buckets>
        <!-- character must be alphanumeric, - Required, max characters 512 -->
         <bucket_name>bucketName</bucket_name>
         <prefix_list>
            <!-- character must be alphanumeric, - Required, max characters 256 -->
             <prefix_name>prefix</prefix_name>
            <!-- Required, Integer, min value is 1--> 
          <storage_devices>1</storage_devices>
         </prefix_list>
       </buckets>
    </buckets_by_region>
    </config_aws_list>
</dscConfigAmzS3>