Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Connecting Informatica PowerCenter to Teradata

Teradata – Overview

PowerCenter works with many databases, among which Teradata is one of a kind. Informatica PowerCenter integrates Teradata database into any business system and it serves as the technology foundation for controlling data movements. In Informatica PowerCenter, ODBC is used to connect with Teradata tables and its data.

This blog helps you to create, configure, compile, and execute a PowerCenter workflow in Windows that can read the data from and write the data to Teradata database.

What’s unique about Teradata database?

Teradata is an RDBMS with multiple processors to cater parallel processing. Because of its linear scalability, the performance increases as you increase the number of nodes.

Configuring and Executing a PowerCenter Workflow

Let us look at the set of steps for Configuring Teradata ODBC Connection on Powercenter Informatica.

Prerequisites

  1. Ensure that you have the latest version of VMware Workstation Player
  2. Install a Teradata Express VM on the VMware player (It’s the Teradata server)
    1. Download from the below link http://downloads.teradata.com/download/database/teradata-express-for-vmware-player
  3. Make sure you have a Teradata Tools and Utility for Windows (TTU)
    1. Download from the below link https://downloads.teradata.com/download/tools/teradata-tools-and-utilities-windows-installation-package (this includes Teradata ODBC driver, SQL Assistant, and Administrator)
  4. Informatica PowerCenter

This table lists the TTU versions and the corresponding compatible PowerCenter versions.

Configuration in Teradata VMware

After the installation of Teradata VM, you can power on the virtual machine.

  1. Login into the VMware by providing the username and Password.
  2. Login into the Teradata Studio Express, which resides inside the VM.
  3. Create a new database, user, tables and data of your requirement.
    Finally, check whether the Network Adapter setting is set to “Bridged Network” to make Teradata VM to be visible to all the machines in the network.

Configuration In PowerCenter

If the PowerCenter server and client application is on the Windows machine, then you need to perform the below steps in both the server and client.

  1. Add an entry in the host file for the IP address of the Teradata VM
  2. After the installation of TTU in Windows,
    1. Create a System DSN in ODBC Administrator with ‘Teradata’ as a driver.
    2. Give a name for the Data Source.
    3. Specify the IP or VM name in the ‘Name or IP address’ field.
    4. Give the username and password of your Teradata database.

Sample Mapping

Create a mapping in the PowerCenter Designer application with your requirements.

Reading Data from Teradata Database

Writing Data to Teradata Database

Relational Connection Configuration

Open the Workflow manager and create a new relational connection

  1. Name the relational connection
  2. Provide the username and password for the database from which tables are accessed
  3. Give the name of the database in the Database name attribute and the data source name in the Data source name attribute.
  4. Connection Environment SQL: Specify the SQL if any to run every time when a connection is made
  5. Transaction Environment SQL: Specify the SQL if any to run at the beginning of each transaction.

Challenges faced

The workflow failed because of the following error:

Choosing the appropriate Adapter Settings

This error occurred since the Informatica server couldn’t connect with Teradata VM when “NAT” was the network adapter setting for the VMware. To resolve this, switch the network adapter setting to “Bridged network”

If you use NAT, VM will not have its own IP address on the external network. The host system shares a single network identity which is not visible on the external network.

Instead, when you use Bridged networking, it connects VM to a network by using the network adapter on the host system and will have its own IP address.

Connecting Host and Guest

The connection between host and guest VM (Teradata VM) failed while pinging from the command prompt. The connection between guest and other machines (except the host) on the network was good.

This error was resolved by following the below steps in the host machine

  1. Open Network and sharing center
  2. Select your adapter that has Internet
  3. Click Properties button from the Connection Status Window
  4. Uncheck DNE Lightweight Filter in the Adapter’s properties
  5. Click OK and wait for your adapter to reset by itself

Conclusion

This completes the execution of a PowerCenter workflow in Windows to read and write the data to Teradata database

About the Author

Junia Josephine is a technical consultant at Mastech Infotrellis having 2 plus years of industry experience in Data Integration space.

The post Connecting Informatica PowerCenter to Teradata appeared first on Mastech Infotrellis.



This post first appeared on InfoTrellis Master Data Management, please read the originial post: here

Share the post

Connecting Informatica PowerCenter to Teradata

×

Subscribe to Infotrellis Master Data Management

Get updates delivered right to your inbox!

Thank you for your subscription

×