Table of Contents

Search

  1. Preface
  2. Data Replication Overview
  3. Understanding Data Replication
  4. Sources - Preparation and Replication Considerations
  5. Targets - Preparation and Replication Considerations
  6. Starting the Server Manager
  7. Getting Started with the Data Replication Console
  8. Defining and Managing Server Manager Main Servers and Subservers
  9. Creating and Managing User Accounts
  10. Creating and Managing Connections
  11. Creating Replication Configurations
  12. Materializing Targets with InitialSync
  13. Scheduling and Running Replication Tasks
  14. Implementing Advanced Replication Topologies
  15. Monitoring Data Replication
  16. Managing Replication Configurations
  17. Handling Replication Environment Changes and Failures
  18. Troubleshooting
  19. Data Replication Files and Subdirectories
  20. Data Replication Runtime Parameters
  21. Command Line Parameters for Data Replication Components
  22. Updating Configurations in the Replication Configuration CLI
  23. DDL Statements for Manually Creating Recovery Tables
  24. Sample Scripts for Enabling or Disabling SQL Server Change Data Capture
  25. Glossary

Preparing Teradata Target Systems

Complete this procedure to prepare Teradata targets for data replication use.
Data Replication requires the 64-bit Teradata ODBC driver and Teradata Parallel Transporter (TPT) libraries. Request the Teradata Tools and Utilities package that contains the Teradata ODBC driver and TPT libraries from the Teradata website. This package is not freely downloadable from Teradata.
Before contacting Teradata, gather the following information:
  • The operating system and CPU Type of the Teradata target system where the libraries are going to be installed.
  • The Teradata database version.
  1. Ensure that the following Teradata client-side libraries are installed on the machine where the Data Replication Applier process will run:
    • Shared ICU Libraries
    • Teradata Call-Level Interface (CLIv2)
    • Teradata Data Connector API
    • Teradata GSS client package
    • Teradata BTEQ Utility
    • Teradata ODBC driver
    • TPT Base
    • TPT API
    • TPT Infrastructure
    • TPT Load Operator
    • TPT Stream Operator
    • TPT Update Operator
    If TPT Steam Operator is not installed, you must set the teradata.stream_operator_enabled runtime parameter to 0.
  2. Install the latest patches for the Teradata TPT, ODBC driver, and CLIv2 packages.
  3. Update the PATH environment variable:
    • On Linux and UNIX systems, add the directory
      /opt/teradata/client/
      version
      /tbuild/bin/
      to the PATH environment variable.
    • On Windows systems, verify that the following directories are added to the PATH environment variable:
      C:\Program Files\Teradata\Client\
      version
      \bin\ C:\Program Files (x86)\Teradata\Client\
      version
      \bin\
      When you finish installing Teradata on a Windows system, the Teradata Tools and Utilities (TTU) 64-bit bin and 32-bit bin paths are the only paths added to the PATH environment variable. Teradata products do not depend on the PATH environment variable to find the TTU dependent libraries. However, third-party applications use the PATH environment variable to find Teradata shared libraries and executables.
  4. On Linux and UNIX systems, set the following environment variables for the user in the .profile or .cshrc logon script:
    ODBCINI=~/.odbc.ini ODBCINST=/opt/teradata/client/
    version
    /odbc_64/odbcinst.ini ODBCSYSINI=/opt/teradata/client/
    version
    /odbc_64 NLSPATH=/opt/teradata/client/
    version
    /odbc_64/msg/%N:/opt/teradata/client/version/tbuild/msg64/%N TPTAPI=/opt/teradata/client/
    version
    /tbuild TDODBC=/opt/teradata/client/
    version
    /odbc_64 TDHOME=/opt/teradata/client
  5. On Linux and UNIX systems, edit the LD_LIBRARY_PATH environment variable in the .profile or .cshrc logon script to include the following directories:
    LD_LIBRARY_PATH=/opt/teradata/client/
    version
    /odbc_64/lib:/opt/teradata/client/
    version
    /lib64:/opt/teradata/client/
    version
    /tbuild/lib64:$LD_LIBRARY_PATH
  6. Set the Teradata CLIv2 environment variable THREADONOFF to 1 in the .profile or .cshrc logon script on the Linux or UNIX system where the target Server Manager instance runs. Use the following syntax:
    THREADONOFF=1
    On Linux and UNIX systems, you must set the THREADONOFF environment variable to 1 to enable multithreaded support for the TPT API, which is used during data replication. If you use the default value of 0 for this environment variable, InitialSync and the Applier might end abnormally and generate a core file.
  7. Create a database user for connecting to Teradata targets. See Creating Database User Accounts for Connecting to Teradata Targets.

0 COMMENTS

We’d like to hear from you!