config_target_group_map - Data Stream Architecture

Teradata Data Stream Architecture (DSA) User Guide

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

Purpose

The config_target_group_map command configures the map between target groups when restoring to a different client configuration.

Syntax

config_target_group_map -f|-file Name

Example

dsc config_target_group_map -f target_group_mapping.xml

Parameter

f|file filename
The full file path and file name of the file containing the target group mapping parameters
target_group_mapping.xml
u|user_authentication User
Required when security management is enabled. Supplies the command with the Viewpoint user, and triggers a password prompt for authentication.
V|virtual
[Optional] Indicates this is a mapping from a virtual target group to a physical target group.

Usage Notes

All backup (source) and restore (destination) sub-targets (media server/policy name pairs) must have a mapping in the XML file in order to succeed.

Any changes to either target group using the config_target_groups command could disable the mappings attached to the specific target. If the new target group configuration adds or removes sub-targets, it will disable all mappings associated with the target group. To re-enable the mappings, reconfigure that mapping reflecting the target group changes using the config_target_group_map command.

XML File Example

A representative XML file containing target group mapping is shown below. Note the following:
  • A master_source_target_name is required
  • A master_dest_target_name is required
  • In the list of target_group_maps, at least one is needed
  • The master_source_dsc_id is optional if mapping between two physical target groups, but required if mapping between a virtual target and a physical target
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
<dscConfigTargetGroupMap xmlns="http://schemas.teradata.com/v2012/DSC">
        <master_source_target_name>hawaii2_tg</master_source_target_name>
        <master_source_dsc_id>hawaii2</master_source_dsc_id>
        <master_dest_target_name>remote_nbu</master_dest_target_name>
        <target_group_maps>
                <source_mediaserver_name>hawaii2</source_mediaserver_name>
                <source_policy_class_name>policy_h2</source_policy_class_name>
                <dest_mediaserver_name>barms1.teradata.com</dest_mediaserver_name>
                <dest_policy_class_name>policy1</dest_policy_class_name>
        </target_group_maps>
        <target_group_maps>
                <source_mediaserver_name>hawaii2</source_mediaserver_name>
                <source_policy_class_name>policy_h2</source_policy_class_name>
                <dest_mediaserver_name>barms3</dest_mediaserver_name>
                <dest_policy_class_name>policy3</dest_policy_class_name>
	  </target_group_maps>
</dscConfigTargetGroupMap>