Update a Target Group Map | Teradata DSA - Updating a Target Group Map - BAR - Data Stream Architecture

Teradata® DSA User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
BAR
Data Stream Architecture
Release Number
17.20
Published
November 2022
ft:locale
en-US
ft:lastEdition
2025-01-29
dita:mapPath
bis1632417576364.ditamap
dita:ditavalPath
vwp1576617377804.ditaval
dita:id
cyv1467242268519
lifecycle
latest
Product Category
Software
Teradata Tools and Utilities
To access imported save sets, the target group used in the source DSA domain must be mapped to a target group in the destination DSA domain.
  1. To view the virtual components that are available for target group mapping, type
    dsc list_components -t system -V
    dsc list_components -t nbu_server -V
  2. To map a virtual target group to an existing, physical target group in the destination domain, type
    dsc config_target_group_map -f file -V
    cbar3:/SDBA_Weekly_imports # dsc config_target_group_map -f cbar6.xml -V
    Sample XML files are located at $BARCMDLINE_ROOT/samples/sample_target_mapping. They include helpful comments and show the available settings for the corresponding commands.
    Target Group Map Tag Description
    master_source_target_name The backup target group name.
    master_source_dsc_id The ID of the source DSC repository.
    master_dest_target_name The restore target group name.
    target_group_maps A sub target grouping consisting of a backup and restore configuration pair.
    source_mediaserver_name The backup media server.
    source_policy_class_name The third party backup application policy associated with the backup media server.
    dest_mediaserver_name The restore media server.
    dest_policy_class_name The third party backup application policy associated with the restore media server.
  3. To list the target group map, type:
    dsc list_target_group_map -V
  4. To restore a backup image from one source to a new DSC server with new Database, follow these steps.
    1. In source environment type, dsc export_job_metadata (with parameters).
    2. In target environment type, dsc import_job_metadata
    3. To create the physical target group on the target DSC, type:
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <dscConfigTargetGroupMap xmlns="http://schemas.teradata.com/v2012/DSC">
          <!--  Mapping of source DSA Backup-Target-Group to target DSA Backup-Target-Group -->
       
          <!----------------- Case sensitive Backup-Target-Group mapping ---------------
                     Media Server:
                                    Source:                ecoload5
                                   Target:                 essue004
                     Backup-Target-Group:
                                    Source:                cust_dsa
                                    Target:                 DSA_ImportStore_Ecoload5
                     Image Store Path:
                                    Source:                /data
                                    Target:                 /tdbar_data/DSA_ImportStore/ecoload5_imports
          --!> 
       
            <master_source_target_name>cust_dsa</master_source_target_name>
            <master_source_dsc_id>ecoload5</master_source_dsc_id>
            <master_dest_target_name>DSA_ImportStore_Ecoload5</master_dest_target_name>
       
            <target_group_fs_maps>
                  <source_mediaserver_name>ecoload5</source_mediaserver_name>
                  <source_path>/data</source_path>
                  <dest_mediaserver_name>essue004</dest_mediaserver_name>
                  <dest_path>/tdbar_data/DSA_ImportStore/ecoload5_imports</dest_path>
            </target_group_fs_maps>
       
      </dscConfigTargetGroupMap>
    4. At target environment type, config_target_group_map**
    5. At target environment type, dsc import_job_metadata -n job1 -V
    6. At target environment type, config_target_group_map