Teradata Tools and Utilities
Teradata Tools and Utilities
Enterprise Linux
Installation Guide
Release 14.10
B035-3121-082K
March 2013
The product or products described in this book are licensed products of Teradata Corporation or its affiliates.
Teradata, Active Enterprise Intelligence, Applications-Within, Aprimo, Aprimo Marketing Studio, Aster, BYNET, Claraview, DecisionCast,
Gridscale, MyCommerce, Raising Intelligence, Smarter. Faster. Wins., SQL-MapReduce, Teradata Decision Experts, "Teradata Labs" logo,
"Teradata Raising Intelligence" logo, Teradata ServiceConnect, Teradata Source Experts, "Teradata The Best Decision Possible" logo, The
Best Decision Possible, WebAnalyst, and Xkoto are trademarks or registered trademarks of Teradata Corporation or its affiliates in the
United States and other countries.
Adaptec and SCSISelect are trademarks or registered trademarks of Adaptec, Inc.
AMD Opteron and Opteron are trademarks of Advanced Micro Devices, Inc.
Apache, Apache Hadoop, Hadoop, and the yellow elephant logo are either registered trademarks or trademarks of the Apache Software
Foundation in the United States and/or other countries.
Axeda is a registered trademark of Axeda Corporation. Axeda Agents, Axeda Applications, Axeda Policy Manager, Axeda Enterprise, Axeda
Access, Axeda Software Management, Axeda Service, Axeda ServiceLink, and Firewall-Friendly are trademarks and Maximum Results and
Maximum Support are servicemarks of Axeda Corporation.
Data Domain, EMC, PowerPath, SRDF, and Symmetrix are registered trademarks of EMC Corporation.
GoldenGate is a trademark of Oracle.
Hewlett-Packard and HP are registered trademarks of Hewlett-Packard Company.
Hortonworks, the Hortonworks logo and other Hortonworks trademarks are trademarks of Hortonworks Inc. in the United States and other
countries.
Intel, Pentium, and XEON are registered trademarks of Intel Corporation.
IBM, CICS, RACF, Tivoli, and z/OS are registered trademarks of International Business Machines Corporation.
Linux is a registered trademark of Linus Torvalds.
LSI is a registered trademark of LSI Corporation.
Microsoft, Active Directory, Windows, Windows NT, and Windows Server are registered trademarks of Microsoft Corporation in the
United States and other countries.
NetVault is a trademark or registered trademark of Quest Software, Inc. in the United States and/or other countries.
Novell and SUSE are registered trademarks of Novell, Inc., in the United States and other countries.
Oracle, Java, and Solaris are registered trademarks of Oracle and/or its affiliates.
QLogic and SANbox are trademarks or registered trademarks of QLogic Corporation.
Red Hat is a trademark of Red Hat, Inc., registered in the U.S. and other countries. Used under license.
SAS and SAS/C are trademarks or registered trademarks of SAS Institute Inc.
SPARC is a registered trademark of SPARC International, Inc.
Symantec, NetBackup, and VERITAS are trademarks or registered trademarks of Symantec Corporation or its affiliates in the United States
and other countries.
Unicode is a registered trademark of Unicode, Inc. in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other product and company names mentioned herein may be the trademarks of their respective owners.
The information contained in this document is provided on an "as-is" basis, without warranty of any kind, either express
or implied, including the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
Some jurisdictions do not allow the exclusion of implied warranties, so the above exclusion may not apply to you. In no
event will Teradata Corporation be liable for any indirect, direct, special, incidental, or consequential damages, including
lost profits or lost savings, even if expressly advised of the possibility of such damages.
The information contained in this document may contain references or cross-references to features, functions, products, or services that are
not announced or available in your country. Such references do not imply that Teradata Corporation intends to announce such features,
functions, products, or services in your country. Please consult your local Teradata Corporation representative for those features, functions,
products, or services available in your country.
Information contained in this document may contain technical inaccuracies or typographical errors. Information may be changed or
updated without notice. Teradata Corporation may also make improvements or changes in the products or services described in this
information at any time without notice.
To maintain the quality of our products and services, we would like your comments on the accuracy, clarity, organization, and value of this
document. Please e-mail: [email protected]
Any comments or materials (collectively referred to as "Feedback") sent to Teradata Corporation will be deemed non-confidential. Teradata
Corporation will have no obligation of any kind with respect to Feedback and will be free to use, reproduce, disclose, exhibit, display,
transform, create derivative works of, and distribute the Feedback and derivative works thereof without limitation on a royalty-free basis.
Further, Teradata Corporation will be free to use any ideas, concepts, know-how, or techniques contained in such Feedback for any purpose
whatsoever, including developing, manufacturing, or marketing products or services incorporating Feedback.
Copyright 2008 - 2013 by Teradata Corporation. All Rights Reserved.
Table of Contents
Preface.............................................................................................................................................................7
Purpose..................................................................................................................................................................7
Audience................................................................................................................................................................7
Supported Releases...............................................................................................................................................7
Prerequisites..........................................................................................................................................................7
Changes to This Documentation........................................................................................................................8
Technical Assistance............................................................................................................................................8
Chapter 1:
Preparing for Installation............................................................................................................9
Chapter 2:
Uninstalling Software.....................................................................................................................17
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 3
Table of Contents
Chapter 3:
Installing New Software...............................................................................................................25
Chapter 4:
Configuring New Software.........................................................................................................35
Chapter 5:
Verifying the Complete Installation.................................................................................39
4 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Table of Contents
Chapter 6:
Troubleshooting the Installation...................................................................................................59
Client Computer Problem: Cannot Communicate Over the Network with Teradata Database.......................59
Client Computer Problem: Incorrect Path Name in COPLIB................................................................................59
Client Computer Problem: Incorrect Path Name in COPERR...............................................................................60
Client Computer Problem: errmsg.cat File Not Found............................................................................................60
Client Computer Problem: Incorrect Path Name in COPANOMLOG.................................................................60
Client Computer Problem: Missing hosts File .........................................................................................................61
Client Computer Problem: Incorrect Entries in the hosts File................................................................................61
Client Computer Problem: Missing Entries in the services File.............................................................................61
Client Computer Problem: Improper Linking..........................................................................................................61
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 5
Table of Contents
Chapter 7:
Deploying Teradata Tools and Utilities with TAR................................................67
6 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Preface
Purpose
This book describes how to install and deploy Teradata Tools and Utilities Release 14.10
software on a computer that runs on a supported operating system. Teradata Tools and
Utilities is a group of products designed to work with the Teradata Database.
Audience
This guide is intended for use by:
Database administrators and relational database developers
System administrators
System and application programmers
System operators and other database specialists
Supported Releases
This document supports the following versions of Teradata products:
Teradata Database Release 14.10
Teradata Tools and Utilities Release 14.10
Prerequisites
You should be familiar with:
Computer technology and terminology
Relational database management systems
Utilities that load and retrieve data
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 7
Preface
Changes to This Documentation
Technical Assistance
For more information, see Teradata Tools and Utilities Release Definition, B035-2029.
If you need additional information or assistance, contact your Teradata Customer Service
Representative. If you purchased an Enterprise System Support (ESS) contract, a customized
support plan was created for you. For contact information, refer to your support plan. To
learn more about Teradata Customer Services, go to Teradata @ Your Service, http://
tays.teradata.com.
8 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
CHAPTER 1
The installation kit contains the following documentation media and application media:
Teradata User Documentation CD (Teradata Database 14.0, Teradata Tools and Utilities
14.10)
Teradata Tools and Utilities AIX - HP-UX - LINUX - Solaris - Windows Release 14.10.00
DVD
Teradata Tools and Utilities Tape Storage Management Enablers Linux & WINDOWS
Release 14.10.00 DVD
If you did not receive all the installation media that you ordered, contact your Teradata
Sales Representative.
DVD Contents
The table below contains a list of the Teradata Tools and Utilities products that are on the
media in the installation kit.
Note: In the table, the media titles are abbreviated:
Abbreviation Media Title
Foundation Teradata Tools and Utilities AIX - HP-UX - LINUX - Solaris - Windows Release
(Base) 14.10.00 DVD
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 9
Chapter 1 Preparing for Installation
About Installing Teradata Tools and Utilities from DVD
Related Topics
Products Available from Teradata Developer Exchange, on page 30
The following media contains a script file named mkrepo.sh that you can use to create a
Yum repository file:
Teradata Tools and Utilities AIX - HP-UX - LINUX - Solaris - Windows Release 14.10.00
DVD
10 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 1 Preparing for Installation
About Installing Teradata Tools and Utilities from DVD
Teradata Tools and Utilities Tape Storage Management Enablers Linux & WINDOWS
Release 14.10.00 DVD
The script is in the following directory:
/Linux/i386-x8664/repodata
When you run the script it creates a repository file (.xml format) named teradata-ttu-
foundation-1410.repo and puts it into the /tmp folder. The file contains a list of
product dependencies and libraries.
The script can also copy the repository file to the system-specific repository location:
/etc/yum.repos.d
After you create the repository file, you can use it with one of the following package
management utilities or a similar product:
PackageKit
Yum
For more information, see Using Yum to Manage Teradata Client Software.
Product Descriptions
Product Description
Basic Teradata Query Basic Teradata Query (BTEQ) is a general-purpose utility that allows users on a
workstation to communicate with one or more Teradata Database systems and to
format reports for output to print and screen. This utility is accessible from the
command line or a script.
ODBC Driver for Teradata ODBC Driver for Teradata is a library of routines that enables UNIX, Linux, and
Windows applications to communicate with a Teradata Database across local area
networks (LANs) using the open standards ODBC interface.
Shared ICU Libraries for Teradata Shared ICU Libraries for Teradata is a library of routines based on IBM
International Components for Unicode. The library provides Unicode support.
Note: Shared ICU Libraries for Teradata is a core product that must be installed in
the correct sequence with other core products. Normally when you install the
suite of Teradata Tools and Utilities products from media, the library is
automatically installed as a dependency for other Teradata Tools and Utilities
products.
Teradata Access Module for JMS Teradata Access Module for JMS is a command line utility that provides a fast,
reliable, asynchronous way to transfer data between any JMS-enabled messaging
system and a Teradata Database. This utility works with the Teradata Parallel
Transporter products and with Teradata FastExport, Teradata FastLoad, Teradata
MultiLoad, and Teradata Parallel Data Pump.
Teradata Archive/Recovery Utility Teradata Archive/Recovery Utility (ARC) is a command line utility that writes
and reads sequential files on a Teradata client system to archive, restore, recover,
and copy data in a Teradata Database table. Through its associated script
language, it also provides an interface between the Teradata backup applications
solutions and the Teradata Database.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 11
Chapter 1 Preparing for Installation
About Installing Teradata Tools and Utilities from DVD
Product Description
Teradata C Preprocessor2 Teradata C Preprocessor2 (PP2) is a command line utility that provides the
programmer of a C-based application a simplified way to read and change
information stored in a Teradata Database. This utility interprets and expands
SQL statements that have been incorporated in an application program.
Teradata Call-Level Interface version 2 Teradata Call-Level Interface version 2 (CLIv2) is a library of routines that enable
an application program to access data in a Teradata Database.
Teradata COBOL Preprocessor2 Teradata COBOL Preprocessor2 is a command line tool that provides the
programmer of a COBOL-based application with a simplified way to read and
change information stored in a Teradata Database. This utility interprets and
expands SQL statements that have been incorporated in an application program.
Teradata Data Connector API Teradata Data Connector API is a component that reads and writes flat files to
provide the input/output interface for access modules. For additional information
about Teradata Data Connector API, see the following documents:
Teradata Tools and Utilities Access Programmer Guide, B035-2424
Teradata Tools and Utilities Access Module Reference, B035-2425
Teradata FastExport Teradata FastExport uses multiple sessions to quickly transfer large amounts of
data from tables and views of a Teradata Database to a client-based application.
This utility is accessible from the command line or a script.
Teradata FastLoad Teradata FastLoad quickly loads large amounts of data to empty tables in a
Teradata Database. This utility uses multiple sessions to load data. However, it
loads data into only one table in the database per job. This utility is accessible from
the command line or a script.
Teradata GSS Client Teradata GSS Client is the Teradata implementation of industry-standard Generic
Security Services APIs in C language. This utility provides enhanced security
services interfaces between Teradata network clients and a Teradata Database.
Teradata JDBC Driver Teradata JDBC Driver is a library of routines that enables Java applications to
connect to a Teradata Database.
Teradata MultiLoad Teradata MultiLoad (MultiLoad) provides an efficient way to deal with batch
maintenance of large databases. Useful for performing fast, high-volume
maintenance on multiple tables and views of a Teradata Database. This utility is
accessible from the command line or a script.
Teradata Named Pipes Access Module Teradata Named Pipes Access Module is a component that provides an
interprocess communication link between a writer process (such as Teradata
FastExport) and a reader process (such as Teradata FastLoad). This utility works
with the Teradata Parallel Transporter products and with Teradata FastExport,
Teradata FastLoad, Teradata MultiLoad, and Teradata Parallel Data Pump. It is
accessible from the command line.
12 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 1 Preparing for Installation
About Installing Teradata Tools and Utilities from DVD
Product Description
Teradata Parallel Data Pump Teradata Parallel Data Pump (TPump) is a data loading utility that helps maintain
(update, delete, insert, and atomic upsert) the data in a Teradata Database. This
utility uses standard Teradata SQL to achieve moderate to high data loading rates.
Multiple sessions and multi-statement requests are typically used to increase
throughput. It is accessible from the command line.
Teradata Parallel Transporter Base Teradata Parallel Transporter Base is a package that contains the script-driven
interface (Teradata Parallel Transporter) and the application programming
interface (Teradata Parallel Transporter API). An object-oriented, scalable,
command line client application allows you to perform high-speed, parallel data
operations (extraction, loading, and updating) on a Teradata Database.
Teradata Parallel Transporter Stream Teradata Parallel Transporter Stream (Teradata PT Stream) contains the Teradata
Parallel Transporter Stream Operator. Before you install Teradata Parallel
Transporter Stream, Teradata Parallel Transporter Base must be installed. The
Stream Operator emulates the Teradata Parallel Data Pump utility to perform
high-speed DML transactions (SQL INSERT, UPDATE, DELETE, or UPSERT).
Transactions are executed in a near-real-time mode on one or more tables in a
Teradata Database while queries are performed on those tables.
Teradata Studio Express Teradata Studio Express formerly known as Teradata SQL Assistant Java Edition,
is an information discovery tool that retrieves data from Teradata Database
systems and allows the data to be manipulated and stored on the desktop. It is
built on top of the Eclipse Rich Client Platform (RCP). This allows the product to
take advantage of the RCP framework for building and deploying native GUI
applications to a variety of desktop operating systems.
Teradata Wallet Teradata Wallet is a package that contains a library and a command line tool
(tdwallet) that allows users to securely store private information such as Teradata
Database passwords on client computers. The stored information can then be
recalled when logging in to a Teradata Database.
Teradata WebSphere MQ Access Teradata WebSphere MQ Access Module is a component that allows Teradata
Module utilities to import data using IBM WebSphere MQ Access Module message
queuing middleware. This utility works with the Teradata Parallel Transporter
products and with Teradata FastLoad, Teradata MultiLoad, and Teradata Parallel
Data Pump. It is accessible from a command line.
Product Dependencies
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 13
Chapter 1 Preparing for Installation
About Installing Teradata Tools and Utilities from DVD
14 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 1 Preparing for Installation
About Installing Teradata Tools and Utilities from DVD
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 15
Chapter 1 Preparing for Installation
About Installing Teradata Tools and Utilities from DVD
Dependent Products
During installation of Teradata Tools and Utilities, the following dependent products are
automatically installed:
ODBC Driver for Teradata
Shared ICU Libraries for Teradata
Teradata Call-Level Interface version 2
Teradata Data Connector API
Teradata GSS Client
System Requirements
When installing on a Linux system, use the Korn shell (/bin/ksh) before running the
installation procedure for Teradata Tools and Utilities. This ensures correct execution of the
installation script.
Transmission Control Protocol/Internet Protocol (TCP/IP) is used to communicate with the
Teradata Database.
The client must be connected to one of the following:
The same Ethernet LAN as the Teradata Database
An Ethernet LAN that permits the client to communicate with the Teradata Database
through one or more routers
A node that is attached to the Teradata Database through Ynet or BYNET. No separate
network controller board or network software is required; the client provides its own.
The appropriate Ethernet hardware and software supporting a TCP/IP-based network must
be installed on every Teradata Database with which the client communicates.
16 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
CHAPTER 2
Uninstalling Software
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 17
Chapter 2 Uninstalling Software
Uninstallation Script Overview
Note: It is not necessary to uninstall previous versions of Teradata GSS Client package before
you install another version. When you uninstall previous versions, configuration settings
that you might want to reuse are deleted.
Note: It is not necessary to uninstall previous versions of Teradata Wallet before you install
another version of it. For information about retaining data in Teradata Wallet, see About
Retaining and Deleting Data in Teradata Wallet .
Note: In order to use Teradata Wallet, the version of the product that uses Teradata Wallet
and the version of Teradata Wallet must match. This applies to the following products:
Teradata Call-Level Interface version 2
ODBC Driver for Teradata
When you run the script, you can specify individual packages to be uninstalled. Teradata
recommends that you uninstall the dependency packages (CLIv2, PIOM, TDICU, and
TeraGSS) last; however they can be uninstalled individually regardless of the order.
The script does not require any parameters to execute. When the script runs, all information
within the script is displayed.
The script uses system packaging commands to uninstall packages, so it must be executed as
root (or with root privileges).
18 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 2 Uninstalling Software
Uninstallation Script Overview
Usage
Command Description
uninstall_ttu.sh Executes the script to remove packages
uninstall_ttu.sh priorto xx.xx.xx.xx Removes all packages before a specific version
number
uninstall_ttu.sh noremove Executes the script, but does not remove any
packages
uninstall_ttu.sh nocheck Executes the script, but does not check against
known Teradata Tools and Utilities packages
Parameters
priorto xx.xx.xx.xx
Removes packages prior to a specified version
If the packages to be installed on a system are from Teradata Tools and Utilities version 14.10,
and packages prior to this version (for example, 14.00, 13.10, 13.0, or 12.00) need to be
removed, enter priorto 14.10.00.00. The number parameter must contain all four
version numbers, and can be specific enough to remove all packages before, for example,
14.10.00.01. Typically the last two sets of digits would just be 00.00.
noremove
Executes the script without removing packages
This parameter can be used to test the script without removing the packages.
The package remove commands that would have been used to remove each package are
displayed. This may be useful to do a test package remove without actually removing the
packages, to see in what order the packages would have been removed, or to capture the
commands used to remove the packages for use in another script.
nocheck
Executes the script looking for packages with "Teradata" in the package name, but
skipping the check against the known list of Teradata Tools and Utilities packages
This may be useful for packages the script does not know about or additional "Teradata"
packages (not Teradata Tools and Utilities) that you may want to remove.
Caution: Use this parameter with care, particularly if run on a Teradata DBS node, as important
Database packages could be removed.
debug
Outputs useful debugging input to a file in /tmp/remove-tcp-debug-
processid.out
This may be useful for debugging purposes. It lists the known Teradata Tools and Utilities
packages, the initial list of the packages selected, and the final ordered list, and could be helpful
in determining why a package was not removed.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 19
Chapter 2 Uninstalling Software
Uninstallation Script Overview
The uninstallation script recognizes the following Teradata Tools and Utilities packages:
Basic Teradata Query (bteq)
DUL/Dultape (dul and dultape)
ODBC Driver for Teradata (tdodbc)
Shared ICU Libraries for Teradata (tdicu, tdicu_64, and so on)
SQL C Preprocessor (sqlpp)
Teradata Access Module for JMS (jmsaxsmod)
Teradata Archive/Recovery Utility (teradata_arc)
Teradata Call-Level Interface version 2 (cliv2, cliv2_64, cliv2so, and so on)
Teradata COBOL Preprocessor2 (cobpp)
Teradata Data Connector API (piom)
Teradata FastExport (fastexp)
Teradata FastLoad (fastld)
Teradata GSS Client (teragss)
Teradata MultiLoad (mload)
Teradata Named Pipes Access Module (npaxsmod)
Teradata Parallel Data Pump (tpump)
Teradata Query Director (qrydir and sockclient)
All Teradata Parallel Transporter packages up to Teradata Tools and Utilities13.10
(Teradata Tools and Utilities 13.10, 13.0, and 12.0; TWB 5.0; TPT 8.1, 8.2, and 12.0)
Teradata Parallel Transporter Base (TTU14.00) (tptbase)
Teradata Parallel Transporter Stream (TTU14.00) (tptstream)
Teradata Wallet (tdwallet)
Teradata WebSphere MQ Access Module (mqaxsmod)
This list is subject to change as future products are added to Teradata Tools and Utilities.
On rare occasions files are left on systems after improper installations or uninstallations or if
very old Teradata Tools and Utilities packages were installed by copying files to the /usr/
bin or /usr/lib directories. The uninstallation script checks and displays a warning
message that the files still exist and may cause problems. The script offers to rename the files
and displays the command to remove them. The script does not delete the files automatically.
If the files for the following products exist in the /usr/lib directory, the script renames
them and adds the extension teradata-package-remove.old:
ODBC Driver for Teradata
Shared ICU Libraries for Teradata
Teradata Call-Level Interface version 2
Teradata Data Connector API
20 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 2 Uninstalling Software
Uninstallation Script Overview
Typical Output
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 21
Chapter 2 Uninstalling Software
Uninstallation Script Overview
/usr/lib/libicudatatd.so
/usr/lib/libicui18ntd.so
/usr/lib/libicuiotd.so
/usr/lib/libiculetd.so
/usr/lib/libiculxtd.so
/usr/lib/libicuuctd.so
If you answer yes when asked if you would like to move these files, output similar to this
appears:
If you answer no when asked if you would like to move these files, output similar to this
appears:
Note: It is not necessary to uninstall previous versions of Teradata GSS Client package before
you install another version. When you uninstall previous versions, configuration settings
that you might want to reuse are deleted.
If a package was not properly uninstalled by the uninstallation script, run the script again. To
manually uninstall a package, follow these steps:
1 To see if a package is still installed, type:
22 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 2 Uninstalling Software
Uninstallation Script Overview
rpm q packagename
2 To manually uninstall a package, type:
rpm erase --ignoredeps packagename
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 23
Chapter 2 Uninstalling Software
Uninstallation Script Overview
24 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
CHAPTER 3
Note: To display the version of WebSphere that is installed on the system, run the
dspmqver command from the command line.
1 Before you run Teradata WebSphere MQ Access Module, download IBM WebSphere
MQ 5.3.2 and install it according to the instructions in the downloaded package.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 25
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
Installation Order
The main installation procedure installs all products and their dependencies in the correct
order. Using an alternative method to do the installation requires that the products be
installed manually in the correct order.
When installing individual products, they must be installed in the following order.
1. Teradata GSS Client (teragss)
2. Shared ICU Libraries for Teradata (tdicu)
3. Teradata Wallet
4. Teradata Call-Level Interface version 2 (cliv2)
5. Teradata Data Connector API (piom)
6. Any other products
When you uninstall Teradata Tools and Utilities, by default the data associated with
Teradata Wallet is retained (not deleted). You can choose to have wallet data deleted by the
uninstallation process. You do this by setting the TDWALLET_INTERACTIVE_INSTALL
environment variable to 1 before you install Teradata Tools and Utilities. If the environment
variable has been set to 1, you will be prompted during installation of Teradata Tools and
Utilities to choose whether you want wallet data to be deleted during uninstallation.
Related Topics
Ensuring You Are Prompted About Teradata Wallet Data, on page 26
26 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
Related Topics
About Retaining and Deleting Data in Teradata Wallet, on page 26
1 Log on as root (or change to root and enter the root password).
2 If a mount point directory does not exist, create one:
mkdir /mnt
where mnt is the name of the media mount point.
3 If the installation source files are not on the system disk, insert the appropriate media
into the media drive.
Note: For a list of products and the media each one resides on, see DVD Contents .
4 Mount the media device:
mount /dev/media device name/mnt
For example, if the media device name is c0t1d0, type:
mount /dev/c0t1d0/mnt
5 Change directory to the media mount point:
cd /mnt
6 Begin the installation process:
./setup.bat
Note: ./setup.bat accepts command line options:
./setup.bat a installs all packages and any required dependencies
./setup.bat bteq installs one package (in this example, bteq) and any required
dependencies
./setup.bat arc bteq cobpp installs three packages and any required
dependencies (you can specify as many package names as you want to)
./setup.bat 1 2 3 installs package numbers 1, 2, and 3 and any required
dependencies (you can specify as many package numbers as you want to)
Note: If an error message about one or more missing library files appears, use the yum
install command to download and install the files.
A screen appears that:
Identifies the platform and media
Lists numbered products that can be installed, the package version numbers, and
package sizes
Provides options for:
Installing all software
Removing previously installed software
Displaying the sizes of the installed package
Quitting the installation
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 27
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
Command Action
Install All Packages Type the letter a. The number of products selected appears in the
bottom right corner of the screen. The packages selected for installation
have an asterisk (*) beside them.
Uninstall All Type the letter u. This removes previous versions of Teradata Tools and
Utilities products.
Note: It is not necessary to uninstall previous versions of Teradata
Wallet before you install another version of it. For information about
retaining data in Teradata Wallet, see About Retaining and Deleting
Data in Teradata Wallet .
Install Selected Type the numbers of the desired products and dependencies, separated
Packages by spaces, and press the Enter key.
Dependencies: If individual products are to be installed, first
determine the product dependencies, such as CLIv2 or Teradata
Data Connector API (piom). Enter the numbers for the
dependencies at the prompt, separated by spaces.
Products: Enter the numbers for the products at the prompt,
separated by spaces.
Quit Type the letter q to quit the installation.
9 If you are prompted about retaining Teradata Wallet data, choose whether you want the
uninstallation process to retain data or delete it:
28 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
Option Description
Y (Yes) Data will be retained during uninstallation.
N (No) Data will be deleted during uninstallation (if this is the last remaining version of
Teradata Wallet to be uninstalled).
Related Topics
DVD Contents, on page 9
Installing Missing Library Files, on page 29
Product Dependencies, on page 13
About Retaining and Deleting Data in Teradata Wallet, on page 26
The Teradata Developer Exchange Downloads page contains software that is not included
on Teradata Tools and Utilities media or is released more frequently than the Teradata
Tools and Utilities collection of applications.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 29
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
Connectivity
Teradata Call-Level Interface version 2
Teradata JDBC Driver
Teradata JMS Universal Connector
.NET Data Provider for Teradata
ODBC Driver for Teradata
OLE DB Provider for Teradata
Tools
Teradata Plug-in for Eclipse
Teradata Studio Express
Teradata Wallet
30 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
To ensure the highest quality and best performance of Teradata Tools and Utilities
products, download the most recent critical post-production updates from Teradata
Software Server.
Note: [64-bit systems] When you install Teradata Tools and Utilities from media, the 32-bit
version and the 64-bit version of the product is installed. However, when you install
Teradata Tools and Utilities from packages that you downloaded from Teradata Software
Server (the Patch Server) or from Teradata Developer Exchange, only the version of the
product that you downloaded (32-bit or 64-bit) is installed.
Downloading Patches
To ensure the highest quality and best performance of Teradata Tools and Utilities
products, the most recent critical post-production updates should be installed from the
Teradata Software Server.
1 Log on to Teradata @ Your Service, http://tays.teradata.com.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 31
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
1 Log on as root (or change to root and enter the root password).
2 Go to the location where you saved the compressed file.
3 Read the readme file to see if it contains additional installation instructions or a list of
dependencies.
4 Uncompress and untar the files and dependent product packages into a folder for the
setup packages.
gunzip package_name | tar xvf
5 Uninstall the previous version of software.
rpm -e package_name
6 If the product has dependencies, install them in the following order before you install the
downloaded patch:
1. Teradata GSS Client (teragss)
2. Shared ICU Libraries for Teradata (tdicu)
3. Teradata Call-Level Interface version 2 (cliv2)
4. Teradata Data Connector API (piom)
5. Other Products
7 Install the downloaded software.
rpm -ivh --nodeps package_name
32 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
CLI User Exit functions are general purpose facilities that can be added to the CLI
workstation architecture on the selected operating system. These functions allow user-
defined processing to take place.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 33
Chapter 3 Installing New Software
About Installing Teradata Tools and Utilities
34 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
CHAPTER 4
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 35
Chapter 4 Configuring New Software
Configuring Teradata Parallel Transporter
Related Topics
Setting Parameters for Shared Memory, on page 37
Editing twbcfg.ini
After the Teradata Parallel Transporter Base package is installed, the configuration file,
TPT_install_directory/twbcfg.ini can be edited to change the default directory for
checkpoint and logs.
For example, if the logs directory is full, then you should change the logs directory to another
directory with free disk space.
Note: No kernel rebuild or reboot is required after making the changes in the configuration
file.
The configuration file contains parameters that determine the default behavior for Teradata
Parallel Transporter Base, such as default checkpoint and log directories. These must be
selected.
1 Edit the configuration file and specify the Teradata Parallel Transporter default directory
and default log directory.
'CheckpointDirectory='/opt/teradata/client/14.10/tbuild/
checkpoint'
CheckpointDirectory refers to the directory that contains the checkpoint files for Teradata
Parallel Transporter jobs.
'LogDirectory='/opt/teradata/client/14.10/tbuild/logs'
LogDirectory refers to the directory that contains the binary logs for Teradata Parallel
Transporter jobs.
36 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 4 Configuring New Software
Configuring Teradata Parallel Transporter
Each Teradata Parallel Transporter job creates a job log in the jobs directory. Refer to
Teradata Parallel Transporter Reference, B035-2436 on how to read the job log.
The Teradata Parallel Transporter Base installation checks the values of the shared memory
parameters for the required minimum values. If the value for a shared memory parameter is
less than the minimum value, the installation recommends increasing the value to the
minimum value.
The shmmni parameter determines the system-wide limit on the number of shared memory
segments that can be created.
The shmmax parameter determines the maximum size of a shared memory segment. The
minimum value is 4194304.
1 Log on as the root user.
2 Check the value of the shmmni parameter; the minimum value is 200:
/sbin/sysctl kernel.shmmni
3 Add the following line in the /etc/rc.d/rc.local file to increase the shmmni
parameter value to 200:
echo 200 > /proc/sys/kernel/shmmni
4 To shut down the system in one minute, type:
/sbin/shutdown -r +1
The Teradata Parallel Transporter Base installation checks the values of the semaphore
parameters for the required minimum values. The installation does not support a formula
value for a kernel parameter. If the value for a kernel parameter is less than the required
minimum value, the installation recommends increasing the value to the minimum value.
The most significant parameter is the semmns semaphore parameter, which determines the
number of semaphores in the entire system.
The default configuration allows 1000 semaphores in concurrent use. The default semmni
parameter value is 1000. The default semmns parameter value is 1000.
1 Log on as the root user.
2 Check the value of the semmns semaphore parameter:
/sbin/sysctl kernel.semmns
3 Add the following line in the /etc/rc.d/rc.local file to increase the semmns
parameter value to 1000:
echo 1000 > /proc/sys/kernel/semmns
4 To shut down the system in one minute, type:
/sbin/shutdown -r +1
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 37
Chapter 4 Configuring New Software
Configuring Teradata Parallel Transporter
The default Interprocess Communication (IPC) memory choice is memory mapped. You can
switch to shared memory.
Teradata Parallel Transporter will use shared memory as the IPC memory choice.
The change does not require a kernel rebuild or a reboot.
Teradata Parallel Transporter will use memory mapped as the IPC memory choice.
The change does not require a kernel rebuild or a reboot.
38 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
CHAPTER 5
Using Basic Teradata Query (BTEQ) is the simplest way to verify that Teradata Tools and
Utilities has been installed properly because BTEQ files are part of the installation. Refer to
Basic Teradata Query Reference, B035-2414 for detailed information on how to use BTEQ.
1 Add the directory where BTEQ resides to the search path.
2 Change directory to the BTEQ directory.
3 Start BTEQ:
bteq
Output similar to the following appears:
Teradata BTEQ 14.10.00.00 for platform.
Copyright 1984-2013, Teradata Corporation. ALL RIGHTS RESERVED.
Enter your logon or BTEQ command:
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 39
Chapter 5 Verifying the Complete Installation
About Verifying the Installation
Note: For information about security and connecting to a Teradata Database, see
Security Administration, B035-1100.
6 Submit a sample Teradata SQL query:
SELECT time;
If the test passes, output similar to the following appears.
BTEQ select time output:
*** Query completed. One row found. One column returned.
*** Total elapsed time was 1 second.
Time
--------
11:09:11
Related Topics
Client Computer Problem: Cannot Log On to Teradata Database, on page 62
To verify that the Teradata Tools and Utilities software installed properly, run the sample
CLI application, clisamp. The program and its makefile are installed during installation of
Teradata Tools and Utilities.
1 Modify the following makefile so it contains the correct directory paths to the include
files:
makesamp.lx [32-bit]
makesamp.lx64 [64-bit]
2 Execute the makefile:
make -f filename
where filename is the name of the file in the previous step.
The executable module named clisamp is created.
3 Change the mode of the executable to run:
chmod +x clisamp [32-bit]
chmod +x clisamp_lx64 [64-bit]
40 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
Note: For information about security and connecting to a Teradata Database, see
Security Administration, B035-1100.
Related Topics
Client Computer Problem: Cannot Log On to Teradata Database, on page 62
List of Files
Note: For more information about the list of files, see About Special Items in the List of
Files.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 41
Chapter 5 Verifying the Complete Installation
List of Files
/installdir/version/bin/
bteq
/installdir/version/include/
btnfyext.h
/installdir/version/sample/
btnfyext.c
mkbtnfyext.linux
/usr/bin/
bteq -> /installdir/version/bin/bteq
/usr/include/
btnfyext.h -> /installdir/version/include/btnfyext.h
Note: For more information about the list of files, see About Special Items in the List of Files.
/installdir/version/lib/
np_axsmod.so
/usr/lib/
np_axsmod.so -> /installdir/version/lib/np_axsmod.so
Note: For more information about the list of files, see About Special Items in the List of Files.
/installdir/
/installdir/version/ (see below)
/installdir/odbc
/installdir/ODBC_32/
include
lib
locale
odbc.ini
odbcinst.ini
/installdir/.ODBC_32_PRE130_BRIDGE/
lib
locale
odbcinst.ini
/installdir/.ODBC_32_PRE130_BRIDGE/drivers/
tdata.so
42 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
/installdir/ODBC_64/
include
lib
locale
odbc.ini
odbcinst.ini
/installdir/.ODBC_64_PRE130_BRIDGE/
lib
locale
odbcinst.ini
/installdir/.ODBC_64_PRE130_BRIDGE/drivers/
tdata.so
/installdir/.tdodbc_12.0.map
/installdir/.tdodbc_3.6.map
/installdir/.tdodbc_ODBC32.map
/installdir/.tdodbc_ODBC64.map
/installdir/.tdodbc_version.map
/installdir/version/
/installdir/version/odbc_32/
odbc.ini
odbcinst.ini
README
/installdir/version/odbc_32/bin/
.build_pre130_bridge
convert_ini
enable_legacy_installdir
set_default_version
tdxodbc
tdxwinapp
/installdir/version/odbc_32/help/man/man5/
tdata.5
/installdir/version/odbc_32/include/
odbcinst.h
qesqlext.h
sql.h
sqlext.h
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 43
Chapter 5 Verifying the Complete Installation
List of Files
sqltypes.h
sqlucode.h
sqlunx.h
tdsql.h
/installdir/version/odbc_32/lib/
ivtrc26.so
libivicu26.so
libodbc.so
libodbcinst.so
libtdparse.so
libtdsso.so
odbccurs.so
odbctrac.so
tdata.so
tdconndlg.so
tdwalletdir
vscnctdlg.so
/installdir/version/odbc_32/locale/en_US/LC_MESSAGES/
odbc.m
odbc.po
/installdir/version/odbc_32/msg/
tdodbc.cat
/installdir/version/odbc_32/samples/C
adhoc
adhoc.c
common.includes
error.c
Makefile
/installdir/version/odbc_32/samples/C++
adhoc
adhoc.cpp
common.includes
error.cpp
Makefile
/installdir/version/odbc_64/
odbc.ini
44 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
odbcinst.ini
README
/installdir/version/odbc_64/bin/
.build_pre130_bridge
convert_ini
enable_legacy_installdir
set_default_version
tdxodbc
tdxwinapp
/installdir/version/odbc_64/help/man/man5/
tdata.5
/installdir/version/odbc_64/include/
odbcinst.h
qesqlext.h
sql.h
sqlext.h
sqltypes.h
sqlucode.h
sqlunx.h
tdsql.h
/installdir/version/odbc_64/lib/
libddicu26.so
libodbc.so
libodbcinst.so
libtdparse.so
libtdsso.so
odbccurs.so
odbctrac.so
tdata.so
tdconndlg.so
tdwalletdir
vscnctdlg.so
/installdir/version/odbc_64/locale/en_US/LC_MESSAGES/
odbc.m
odbc.po
/installdir/version/odbc_64/msg/
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 45
Chapter 5 Verifying the Complete Installation
List of Files
tdodbc.cat
/installdir/version/odbc_64/samples/C
adhoc
adhoc.c
common.includes
error.c
Makefile
/installdir/version/odbc_64/samples/C++
adhoc
adhoc.cpp
common.includes
error.cpp
Makefile
/usr/
/usr/lib/
Note: Symbolic links (->) point to files in /installdir/ODBC_32/lib/.
libivicu26.so ---> libivicu26.so
libodbc.so ------> libodbc.so
libodbcinst.so --> libodbcinst.so
libtdparse.so ---> libtdparse.so
libtdsso.so -----> libtdsso.so
/usr/lib64/
Note: Symbolic links (->) point to files in /installdir/ODBC_64/lib/.
libddicu26.so ---> libddicu26.so
libodbc.so ------> libodbc.so
libodbcinst.so --> libodbcinst.so
libtdparse.so ---> libtdparse.so
libtdsso.so -----> libtdsso.so
/usr/odbc -> /installdir/.ODBC_32_PRE130_BRIDGE [32-bit]
/usr/odbc -> /installdir/.ODBC_64_PRE130_BRIDGE [64-bit]
Note: For more information about the list of files, see About Special Items in the List of Files.
/installdir/version/
/installdir/version/tdicu/lib/
46 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 47
Chapter 5 Verifying the Complete Installation
List of Files
libiculxtd.so.46.0
libicuuctd.so -------> libicuuctd.so.46.0
libicuuctd.so.46 ----> libicuuctd.so.46.0
libicuuctd.so.46.0
/usr/
/usr/lib/
Note: Symbolic links (->) point to files in /installdir/version/tdicu/lib/.
libicudatatd.so -----> libicudatatd.so.46.0
libicudatatd.so.46 --> libicudatatd.so.46.0
libicui18ntd.so -----> libicui18ntd.so.46.0
libicui18ntd.so.46 --> libicui18ntd.so.46.0
libicuiotd.so -------> libicuiotd.so.46.0
libicuiotd.so.46 ----> libicuiotd.so.46.0
libiculetd.so -------> libiculetd.so.46.0
libiculetd.so.46 ----> libiculetd.so.46.0
libiculxtd.so -------> libiculxtd.so.46.0
libiculxtd.so.46 ----> libiculxtd.so.46.0
libicuuctd.so -------> libicuuctd.so.46.0
libicuuctd.so.46 ----> libicuuctd.so.46.0
/usr/lib64/
Note: Symbolic links (->) point to files in /installdir/version/tdicu/lib64/.
libicudatatd.so -----> libicudatatd.so.46.0
libicudatatd.so.46 --> libicudatatd.so.46.0
libicui18ntd.so -----> libicui18ntd.so.46.0
libicui18ntd.so.46 --> libicui18ntd.so.46.0
libicuiotd.so -------> libicuiotd.so.46.0
libicuiotd.so.46 ----> libicuiotd.so.46.0
libiculetd.so -------> libiculetd.so.46.0
libiculetd.so.46 ----> libiculetd.so.46.0
libiculxtd.so -------> libiculxtd.so.46.0
libiculxtd.so.46 ----> libiculxtd.so.46.0
libicuuctd.so -------> libicuuctd.so.46.0
libicuuctd.so.46 ----> libicuuctd.so.46.0
48 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
Note: For more information about the list of files, see About Special Items in the List of
Files.
The Teradata Archive/Recovery Utility .rpm install package will now install both 32-bit and
64-bit versions of Teradata Archive/Recovery Utility on a 64-bit SUSE Linux machine at the
same time. Even though the 64-bit version of Teradata Archive/Recovery Utility will be
installed on a 64-bit Linux machine, the 32-bit version of Teradata Archive/Recovery Utility
will still be the default version.
To use the 64-bit version of Teradata Archive/Recovery Utility, you will have to explicitly
identify that version of Teradata Archive/Recovery Utility by either accessing it through the
softlink at /usr/bin64/arcmain or by specifying the full path to the 64-bit executable, for
example: /opt/teradata/client/version/bin64/arcmain.
/installdir/version/bin/
arcmain.exe
/installdir/version/bin64/
arcmain.exe
/usr/bin/
arcmain.exe -> /installdir/version/bin/arcmain.exe
/usr/bin64/
arcmain.exe -> /installdir/version/bin64/arcmain.exe
Note: For more information about the list of files, see About Special Items in the List of
Files.
/installdir/version/
/installdir/version/bin/
ppcmain
/installdir/version/bin64/
ppcmain
/installdir/version/lib/
lippruntim.so
/installdir/version/lib64/
lippruntim.so
/installdir/version/sample/
LABSBTEQ
PPCLB1
PPCLB2
PPCLB3
PPCLB4
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 49
Chapter 5 Verifying the Complete Installation
List of Files
PPCLB5
PPCLB6
PPCLB7
PPCLB8
PPCLB9
/usr/
/usr/bin/
ppcmain -> /installdir/version/bin/ppcmain
/usr/bin64
ppcmain -> /installdir/version/bin64/ppcmain
/usr/lib/
lippruntim.so -> /installdir/version/lib/lippruntim.so
/usr/lib64/
lippruntim.so -> /installdir/version/lib64/lippruntim.so
Note: For more information about the list of files, see About Special Items in the List of Files.
/installdir/version/
/installdir/version/include/
cliv2if.h
coperr.h
coptypes.h
dbca2px.h
dbcarea.h
dbcerr.h
dbchqep.h
mosiff.h
parcel.h
/installdir/version/lib/
clispb.dat
errmsg.cat
errmsg.txt
libcliv2.so
libtdusr.so
/installdir/version/lib64/
libcliv2.so
50 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
libtdusr.so
/installdir/version/sample/
clisamp.c
CliLgn.Ex.c
CliPPS.c
makesamp.lx [32-bit]
makesamp.lx64 [64-bit]
makertdusr.lx [32-bit]
makertdusr.lx64 [64-bit]
/usr/
/usr/include/
cliv2if.h ---> /installdir/version/include/cliv2if.h
coptypes.h --> /installdir/version/include/coptypes.h
coperr.h ----> /installdir/version/include/coperr.h
dbca2px.h ---> /installdir/version/include/dbca2px.h
dbcarea.h ---> /installdir/version/include/dbcarea.h
dbcerr.h ----> /installdir/version/include/dbcerr.h
dbchqep.h ---> /installdir/version/include/dbchqep.h
parcel.h ----> /installdir/version/include/parcel.h
mosiif.h ----> /installdir/version/include/mosiif.h
/usr/lib/
clispb.dat ---> /installdir/version/lib/clispb.dat
errmsg.cat ---> /installdir/version/lib/errmsg.cat
errmsg.txt ---> /installdir/version/lib/errmsg.txt
libcliv2.so --> /installdir/version/lib/libcliv2.so
libtdusr.so --> /installdir/version/lib/libtdusr.so
Note: For more information about the list of files, see About Special Items in the List of
Files.
/installdir/version/include/
pmdcomt.h
pmddamt.h
pmtypes.h
/installdir/version/lib/
libpm.so
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 51
Chapter 5 Verifying the Complete Installation
List of Files
/usr/include/
pmdcomt.h -> /installdir/version/include/pmdcomt.h
pmddamt.h -> /installdir/version/include/pmddamt.h
pmtypes.h -> /installdir/version/include/pmtypes.h
/usr/lib/
libpm.so -> /installdir/version/lib/libpm.so
Note: For more information about the list of files, see About Special Items in the List of Files.
/installdir/version/bin/
fexp
/installdir/version/include/
expnfyxt.h
/installdir/version/sample/
mkexpext.linux
/usr/bin/
fexp -> /installdir/version/bin/fexp
/usr/include/
expnfyxt.h -> /installdir/version/include/expnfyxt.h
/usr/sample/
mkexpext.linux -> /installdir/version/sample/mkexpext.linux
Note: For more information about the list of files, see About Special Items in the List of Files.
/installdir/version/bin/
fastload
/installdir/version/sample/
blkexit.c
blkexitr.c
flnfyext.c
/usr/bin/
fastload -> /installdir/version/bin/fastload
/usr/sample/
blkexit.c ---> /installdir/version/sample/blkexit.c
blkexitr.c --> /installdir/version/sample/blkexitr.c
flnfyext.c --> /installdir/version/sample/flnfyext.c
52 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
Note: In the lists below, /installdir/ represents the default installation path:
/opt/teradata/teragss/linux-i386/
/installdir/version/
/installdir/version/bin/
certlink
clearkrb5
dumpcfg
genselfsignedcert
gethost
ldapadd
ldapcompare
ldapdelete
ldapmodify
ldapmodrdn
ldappasswd
ldapsearch
ldapwhoami
run_tdgssconfig
tdgssconfig
tdgssfixpaths
tdgsspkgrm
tdgssversion
tdopenssl
tdsbind
tdspasswd
tdspolicy
tdssearch
tests
tfclient
tfserver
/installdir/version/doc/html/
clearkrb5.html
dumpcfg.html
genselfsignedcert
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 53
Chapter 5 Verifying the Complete Installation
List of Files
gethost
ldap_license.html
sasl_license.html
ssl_license.html
tdgssconfig.html
tdgssfixpaths.html
tdsbind
tdspolicy
tdssearch
toc.html
xerces_license.html
/installdir/version/doc/man1/
certlink.1
clearkrb5.1
dumpcfg.1
genselfsignedcert.1
gethost.1
ldap_license.1
sasl_license.1
ssl_license.1
tdgssconfig.1
tdgssfixpaths.1
tdsbind.1
tdspolicy.1
tdssearch.1
xerces_license.1
/installdir/version/doc/pod/
certlink.pod
clearkrb5.pod
dumpcfg.pod
genselfsignedcert.pod
gethost.pod
index.txt
ldap_license.pod
sasl_license.pod
ssl_license.pod
54 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
tdgssconfig.pod
tdgssfixpaths.pod
tdsbind.pod
tdspolicy.pod
tdssearch.pod
xerces_license.pod
/installdir/version/etc/
GlobalTypes.xsd
ipfilter.actdir.schema
ipfilter.edir.schema
ipfilter.openldap.schema
ipfilter.sunone.schema
ipnetwork.adam.schema
LdapConfig.xsd
policy.actdir.schema
policy.edir.schema
policy.openldap.schema
policy.sunone.schema
SDKExtensions.xsd
tdata.actdir.schema
tdata.edir.schema
tdata.openldap.schema
tdata.sunone.schema
tdgssconfig.bin
tdgssconfig.bin.prebuilt
TdgssConfigFile.xsd
TdgssLibraryConfigFile.xml
TdgssUserConfigFile.xml
/installdir/version/inc/
algerrors.h
gssperrors.h
ldaperrors.h
loadtdgsserrors.h
proxyerrors.h
spnegoerrors.h
sspierrors.h
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 55
Chapter 5 Verifying the Complete Installation
List of Files
td1errors.h
td2errors.h
tdgssapi.h
tdgssdefines.h
tdgsserrors.h
/installdir/version/lib/
libgssp2gss.so
libgssp2ldap.so
libgssp2proxy.so
libgssp2spnego.so
libgssp2td1.so
libgssp2td2.so
libldap_r.so
libloadtdgss.a
libtdgss.so
libtdstcl.so
/installdir/version/lib/java/
tdgssdefines.java
/installdir/version/lib/tcl/tds/
dnstest.tcl
pkgIndex.tcl
Note: For more information about the list of files, see About Special Items in the List of Files.
/installdir/version/bin/
mload
/installdir/version/include/
mldnfyxt.h
/installdir/version/sample/
mldnfyxt.c
56 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 5 Verifying the Complete Installation
List of Files
mkmldext.linux
/usr/bin/
mload -> /installdir/version/bin/mload
/usr/include/
mldnfyxt.h -> /installdir/version/include/mldnfyxt.h
/usr/sample/
mldnfyxt.c -> /installdir/version/sample/mldnfyxt.c
mkmldext.linux -> /installdir/version/sample/mkmldext.linux
Note: For more information about the list of files, see About Special Items in the List of
Files.
/installdir/version/bin/
tdatpump.cfg
tpumpexe
/installdir/version/sample/
makinmod.3000
tldnfyxt.c
tpumpar.csql
tpumpimd.c
/usr/bin/
tpumpexe --> /installdir/version/bin/tpumpexe
/usr/lib/
tdatpump.cfg --> /installdir/version/lib/tdatpump.cfg
Note: For more information about the list of files, see About Special Items in the List of
Files.
/installdir/version/tdwallet/
config.xml
/installdir/version/tdwallet/redhatlinux-i386/ [32-bit]
libtdwallet.so
tdwallet
tdwalletdir
tdwhelper.exe
/installdir/version/tdwallet/redhatlinux-8664/ [64-bit]
libtdwallet.so
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 57
Chapter 5 Verifying the Complete Installation
List of Files
tdwallet
tdwalletdir
tdwhelper.exe
/installdir/tdwallet/wallets/
(initially empty)
/usr/bin/tdwallet/ -> /installdir/tdwallet/
Note: For more information about the list of files, see About Special Items in the List of Files.
/installdir/version/lib/
libmqsc.so
58 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
CHAPTER 6
2 To perform the second test to verify communication to the Teradata Database, type:
telnet dbcnameCOPn
The following response is returned:
telnet: connect: Connection refused
1 Use one of the following commands to define the correct path name to the clispb.dat
file in the COPLIB environment variable:
Bourne shell users, add the following to the .profile file:
COPLIB=/sd;export COPLIB
where sd (source directory) is the name of the directory you created to receive the
object library, the system parameter block file, and the executable files.
C shell users, add the following to the .login file:
setenv COPLIB /sd
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 59
Chapter 6 Troubleshooting the Installation
Client Computer Problem: Incorrect Path Name in COPERR
where sd (source directory) is the name of the directory you created to receive the
object library, the system parameter block file, and the executable files.
2 Run the .profile or .login file.
1 Use one of the following commands to define the correct path name to the errmsg.cat
file in the COPERR environment variable:
Bourne shell users, add the following to the .profile file:
COPERR=/ed; export COPERR
where ed (error directory) is the name of the directory created to contain the error
message catalog file.
C shell users, add the following to the .login file:
setenv COPERR /ed
where ed (error directory) is the name of the directory created to contain the error
message catalog file.
2 Run the .profile or .login file.
1 Set the COPERR environment variable to the directory where the errmsg.cat file is
located.
60 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 6 Troubleshooting the Installation
Client Computer Problem: Missing hosts File
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 61
Chapter 6 Troubleshooting the Installation
Client Computer Problem: Cannot Log On from CLI Application
2 Set the default i_dbcpath to correspond to the dbcnames in the /etc/hosts file or in
the hosts file on the NIS master.
Network Problems
If there is a network problem, use the following procedure to troubleshoot whether the
problem is with network hardware or software. All steps may not be required.
1 Verify that the transceiver is connected to the network, client, and Teradata Database.
2 Check for broken or disconnected network cables.
3 Verify that drop cables are not too long. The cables must comply with IEEE 802.3
standards.
4 Verify that all repeaters, bridges, routers, and gateways functioning properly.
5 Verify that all jumpers are setup correctly on the client's network controller board.
6 Verify that the network software is installed and running properly on the client.
7 Verify that the network software is compatible with the network controller board
installed on the client.
8 Confirm that the network is operational using a network utility program.
9 Use Basic Teradata Query or a network utility program from another client on the same
network segment as the first client. If this works, there may be a problem with the first
client.
62 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 6 Troubleshooting the Installation
Teradata Database Problem
10 Use Basic Teradata Query or a network utility program from another client on a
different network segment from the first client. If this works, there may be a problem
with the first network segment.
11 If a network controller board is replaced on the client, reboot Teradata Database so it
can obtain the network address of the new board.
12 If the network configuration was changed, check that all network related files were
changed accordingly.
13 Reboot the client to reset network hardware and reload network software.
1 Log on to the Teradata Database computer from the operator's console, another
network-attached host, or a mainframe.
If the logon succeeds, the Teradata Database is operational. If you are unable to log on,
contact a field representative.
2 Have a field representative verify that the adaptor cable is connected.
3 Have a field representative check the Multibus Adaptor Board (MAB).
4 Perform the following tests for all entries in CopInfoTbl on the Teradata Database.
Check for incorrect, missing, or duplicate cabinet and processor numbers (ccc_p).
Check for incorrect, missing, or duplicate network addresses.
Check for the correct network protocol type (CopKind) for each COP.
Check for the correct host number for each COP, AP, or node.
Verify that the entries in CopInfoTbl match the entries in the /etc/hosts file (on
the client) or the hosts file on the NIS master. Use the CopUpdate macro to change
CopInfoTbl.
5 If a COP, AP, or node is added to or removed from the Teradata Database or if the
network address a COP is changed, execute the CopUpdate macro so the Teradata
Database can determine changes to network addresses.
Restart the Teradata Database for the changes to take effect.
6 If using Internet routing (routers), perform the following tests for CopRoutesTbl:
Check for incorrect or missing network addresses of destinations.
Check for incorrect or missing network addresses of routes.
Verify that each router is identified by two (or more) Internet addresses, one for each
network on which it resides. Use the TcpRoute macro to change CopRoutesTbl.
7 If a subnet outing (subnetting) is used, check CopOptionsTbl for incorrect or missing
subnet masks.
8 Use the AddOption macro to change CopOptionsTbl.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 63
Chapter 6 Troubleshooting the Installation
Teradata Parallel Transporter Problem: Unable to Find tbuild
9 If the Teradata Database goes down and then comes back up, its sessions table still
contains information about the sessions generated by hosts. The Teradata Database
expects to receive reconnect messages from hosts.
If the Teradata Database does not receive the reconnect messages within 20 minutes after
it comes back up, it removes the sessions that were generated by hosts that have not
reconnected from the sessions table. This implies that for 20 minutes after the Teradata
Database comes back up, some sessions are being kept that may not be used.
If use of the Teradata Database is heavy, users unable to log on during that 20 minute
period (because the maximum number of sessions has been reached) can try again after
the unclaimed sessions are cleared away.
64 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 6 Troubleshooting the Installation
Teradata Parallel Transporter Problem: Failed to Load libpxcommon Library
Technical Assistance
For more information, see Teradata Tools and Utilities Release Definition, B035-2029.
If you need additional information or assistance, contact your Teradata Customer Service
Representative. If you purchased an Enterprise System Support (ESS) contract, a customized
support plan was created for you. For contact information, refer to your support plan. To
learn more about Teradata Customer Services, go to Teradata @ Your Service, http://
tays.teradata.com.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 65
Chapter 6 Troubleshooting the Installation
Technical Assistance
66 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
CHAPTER 7
A tar file is an archive of files that you typically create on a UNIX or Linux system. The
folder and file structure in the archive mirrors the structure of the source files. You can use
the tar_teradata_client_packages script on the Teradata Tools and Utilities
installation media to create a compressed archive of Teradata Tools and Utilities client
packages for a specific platform or operating system from the installation media. You can
also compress the tar file. A compressed tar file is like a zip or 7z or rar or cab file on a
Windows system.
On a 32-bit Windows system, you can create a tar file for bundling individual UNIX or
Linux packages and their dependencies or the entire set of Teradata Tools and Utilities
packages for UNIX or Linux. The tar archive can be copied to a network machine and
deployed to UNIX or Linux clients through FTP. Use this option if for example the target
UNIX or Linux clients have a CD drive but not a DVD drive.
You can build the tar file to contain all of the packages for a specified platform, or all the
files for a specified package. It also includes all of the required dependencies for the selected
packages.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 67
Chapter 7 Deploying Teradata Tools and Utilities with TAR
About Deploying Applications with TAR
1 Ensure that the tar executable is located in the PATH on the system by running the
script.
tar only compresses a small amount, compared to the other platform's packages.
tar_teradata_client_packages list Displays the platforms and packages that are available on the
installation media
tar_teradata_client_packages list platform Lists the products for a specific platform that are available on the
installation media
Run the script with platform as the first parameter to create a tar
file in the default target path. The resulting archive contains all
Teradata client packages on the media for that platform.
The value of the platform parameter can be one of the following:
aix
i386
ia64
opteron
pa-risc
s390x
sparc
The path for the output can be changed. The output filename is in
the following format:
teradata-client-platform-media-name.tar. If the archive
is compressed with gzip.exe, the script appends .gz to the
filename.
Run the script with platform as the second parameter after the list
parameter to list the packages available for the specified platform.
tar_teradata_client_packages platform package Creates a tar file for a specific platform and one package
Add the name of a package after the platform parameter. For example,
to archive the bteq package for the aix platform, type:
68 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 7 Deploying Teradata Tools and Utilities with TAR
About Deploying Applications with TAR
Command Description
tar_teradata_client_packages platform package1 Creates a tar file for a specific platform and specific packages
package2 etc. Add the name of packages after the platform parameter. For example, to
archive the bteq and fastload packages for the aix platform, type:
tar_teradata_client_packages aix bteq fastld
If you specify packages other than the dependent packages, all of the
dependent packages are included in the archive:
cliv2
piom
tdicu
teragss
If you specify package names after the platform parameter, the script
includes the dependent packages if they are available on the media.
If you specify individual packages, all of the dependendent packages are
included in the archive.
The script attempts to create the directory if it does not exist. If the location is read-only or unable
to be written, the script ends.
Multiple and If a single package or multiple packages are selected, all of the dependent products are included,
Dependent Packages even if the product selected is one of the single dependent packages.
Dependent packages typically have mutual dependencies. For example, dependent package cliv2
depends on the dependent packages tdicu and TeraGSS.
Getting Help on the To view command usage and optional command parameters, run
Script tar_teradata_client_packages by itself or with the optional help parameter:
tar_teradata_client_packages
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 69
Chapter 7 Deploying Teradata Tools and Utilities with TAR
About Deploying Applications with TAR
Subject Description
tar_teradata_client_packages help
Listing the Available All of the platforms and packages contained on the installation media can be listed by running the
Packages and tar_teradata_client_packages script with the list parameter, for example:
Platforms
tar_teradata_client_packages list
To list all packages for a specific platform available on the installation media, run
tar_teradata_client_packages list platform where platform is the value of one of the
platforms, for example:
tar_teradata_client_packages list hp-ux
A screen similar to the following appears as a result. It lists all the platforms and packages on the
current installation media:
************************************************************************
* Tar Teradata Client Packages v.xx.xx.xx.xx *
************************************************************************
TTU Foundation
70 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 7 Deploying Teradata Tools and Utilities with TAR
About Deploying Applications with TAR
Subject Description
--- Linux Products
bteq fastexp mload npaxsmod tdicu tpump
cliv2 fastld mqaxsmod piom TeraGSS
To create a compressed tar archive of Linux or UNIX packages for Teradata Tools and
Utilities products on a 32-bit Windows platform from the installation media, the tar.exe
and gzip.exe archiving and compression utilities must be installed.
ERROR:
The executable tar.exe doesn't exist on this system or isn't in the PATH.
Please download the GNU tar executable from the following address:
ftp://ftp.gnu.org/pub/pub/gnu/tar/tar-1.12.msdos.exe
GNU Tar version 1.12 is the recommended tar for DOS to use.
For more information see: http://www.gnu.org/software/tar/
5 If gzip.exe is not installed, download the MSDOS version of gzip.exe from gzip
home page.
The MSDOS version of gzip.exe works on 32-bit Windows only.
6 Save the download to the C:\Windows directory.
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 71
Chapter 7 Deploying Teradata Tools and Utilities with TAR
About Deploying Applications with TAR
72 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide
Chapter 7 Deploying Teradata Tools and Utilities with TAR
About Deploying Applications with TAR
2 Enter the following commands to create an archive of the Oracle Solaris SPARC
packages and dependencies.
a D:\tar_teradata_client_packages sparc
A screen similar to the following appears:
************************************************************************
* Tar Teradata Client Packages v.14.10.00.00 *
************************************************************************
TTU Foundation
Platform: Solaris\Sparc
b Press Enter to accept the default path, copy the packages, and create the tar archive.
A screen similar to the following appears:
---Archiving all packages for sparc.
tar cvf "C:\Documents and Settings\<user>\teradata-client-Solaris-Sparc-ttu-foundation.tar"
Solaris\Sparc
Solaris/Sparc/
Solaris/Sparc/TeraGSS/
Solaris/Sparc/TeraGSS/install/
Solaris/Sparc/TeraGSS/install/depend
.
. (more files)
.
Solaris/Sparc/tdicu1410/reloc/$LIBDIR64/libiculxtd.so.46.0
Solaris/Sparc/tdicu1410/reloc/$LIBDIR64/libicuuctd.so.46.0
tar rvf "C:\Documents and Settings\<user>\teradata-client-Solaris-Sparc-ttu-
foundation.tar" .setup.sh
.setup.sh
tar rvf "C:\Documents and Settings\<user>\teradata-client-Solaris-Sparc-ttu-foundation.tar"
setup.bat
setup.bat
tar rvf "C:\Documents and Settings\<user>\teradata-client-Solaris-Sparc-ttu-foundation.tar"
MEDIALABEL
MEDIALABEL
tar rvf "C:\Documents and Settings\<user>\teradata-client-Solaris-Sparc-ttu-foundation.tar"
tar_teradata_client_packages.*
tar_teradata_client_packages.bat
tar_teradata_client_packages.sh
Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide 73
Chapter 7 Deploying Teradata Tools and Utilities with TAR
About Deploying Applications with TAR
and dependencies are copied from the installation media, archived as a tar file, and
compressed. The compressed archive can be copied to SUSE Linux or Red Hat Linux
machines and expanded. The example assumes that you run the archiving script on a 32-bit
Windows system on which tar.exe and gzip.exe are installed.
1 Run the script with linux as the value of the platform parameter:
D:\tar_teradata_client_packages linux
A screen similar to the following appears:
************************************************************************
* Tar Teradata Client Packages v.14.10.00.00 *
************************************************************************
TTU Foundation
Platform: Linux
Hit [Enter] to accept the path: "C:\Documents and Settings\user", or input a different save
directory :
74 Teradata Tools and Utilities for Red Hat Enterprise Linux Installation Guide