Professional Documents
Culture Documents
The product or products described in this book are licensed products of Teradata Corporation or its affiliates.
Teradata, Active Data Warehousing, Active Enterprise Intelligence, Applications-Within, Aprimo Marketing Studio, Aster, BYNET,
Claraview, DecisionCast, Gridscale, MyCommerce, QueryGrid, SQL-MapReduce, Teradata Decision Experts, "Teradata Labs" logo, Teradata
ServiceConnect, Teradata Source Experts, 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.
Apple, Mac, and OS X all are registered trademarks of Apple Inc.
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 Dell 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.
Quantum and the Quantum logo are trademarks of Quantum Corporation, registered in the U.S.A. and other countries.
Red Hat is a trademark of Red Hat, Inc., registered in the U.S. and other countries. Used under license.
SAP is the trademark or registered trademark of SAP AG in Germany and in several other countries.
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: teradata-books@lists.teradata.com
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.
Table of Contents
Preface.............................................................................................................................................................7
Purpose.................................................................................................................................................................. 7
Audience................................................................................................................................................................ 7
Prerequisites.......................................................................................................................................................... 7
Revision History................................................................................................................................................... 7
Supported Releases............................................................................................................................................... 8
Additional Information........................................................................................................................................8
Related Links..................................................................................................................................................8
Related Documents....................................................................................................................................... 8
Product Safety Information.................................................................................................................................8
Chapter 1:
Preparing for Installation............................................................................................................ 9
About Using sudo for Login During Installation............................................................................................. 9
Installing sudo................................................................................................................................................9
Configuring sudo...........................................................................................................................................9
Using sudo.................................................................................................................................................... 10
About Teradata Tools and Utilities...................................................................................................................10
Installation Kit Contents............................................................................................................................ 10
Software Packages/DVD Contents............................................................................................................10
About the Yum Repository File................................................................................................................. 11
Product Descriptions.................................................................................................................................. 12
Product Dependencies................................................................................................................................14
Dependent Products............................................................................................................................ 16
If a Dependent Product Is Already Installed.................................................................................... 17
System Requirements..................................................................................................................................17
Chapter 2:
Uninstalling Software.....................................................................................................................19
About Retaining Existing Files for Teradata GSS Client............................................................................... 19
Uninstallation Script Overview........................................................................................................................ 19
Uninstallation Script Operation................................................................................................................ 20
Teradata Tools and Utilities for Red Hat Enterprise Linux
Installation Guide, Release 15.10
Table of Contents
Chapter 3:
Installing New Software...............................................................................................................25
About Installing Third-Party Software............................................................................................................. 25
Installing Third-Party Software for Teradata WebSphere MQ Access Module....................................25
About Installing Teradata Tools and Utilities.................................................................................................. 25
Installation Order......................................................................................................................................... 26
Install Configuration File............................................................................................................................ 26
About Retaining and Deleting Data in Teradata Wallet..........................................................................27
Ensuring You Are Prompted About Teradata Wallet Data..................................................................... 27
Preparing to Install Teradata Tools and Utilities......................................................................................27
Interactively Installing Teradata Tools and Utilities......................................................................... 28
Silently Installing Teradata Tools and Utilities.................................................................................. 30
Third Party .ENV Files.................................................................................................................................32
Installed Files.................................................................................................................................................32
Installing Missing Library Files.................................................................................................................. 33
About Teradata Developer Exchange.........................................................................................................33
Products Available from Teradata Developer Exchange..................................................................33
Connectivity....................................................................................................................................33
Tools................................................................................................................................................. 34
Downloading a Product from the Teradata Developer Exchange.................................................. 34
Installing Products Downloaded from Teradata Developer Exchange..........................................34
About Teradata Software Server (Patch Server)....................................................................................... 35
Downloading Updated Software Packages........................................................................................ 35
Installing Updated (Patched) Software Packages.............................................................................. 36
Adding CLI User Exit Functions................................................................................................................ 36
Chapter 4:
Configuring New Software......................................................................................................... 39
About Configuring ODBC Driver for Teradata...............................................................................................39
Configuring Teradata Parallel Transporter...................................................................................................... 39
About Configuring Teradata Parallel Transporter................................................................................... 39
Table of Contents
Editing twbcfg.ini........................................................................................................................................ 40
Selecting Checkpoint and Log Directories in the Configuration File.................................................. 40
Setting Parameters for Shared Memory................................................................................................... 40
Setting Semaphore Parameters.................................................................................................................. 41
Switching IPC Memory to Shared Memory.............................................................................................41
Switching IPC Memory to Mapped Memory.......................................................................................... 42
Chapter 5:
Verifying the Complete Installation................................................................................ 43
About Verifying the Installation....................................................................................................................... 43
Validating the BTEQ Installation.............................................................................................................. 43
Validating the ODBC Installation............................................................................................................. 45
Verifying the Installation Using CLI Sample Program...........................................................................45
Setting the JDBC Driver Classpath.................................................................................................................. 46
Accessing Lists of Installed Files.......................................................................................................................47
Chapter 6:
Validating Product Readiness................................................................................................ 49
Validating AccessModuleMQ........................................................................................................................... 49
Validating AccessModuleNP.............................................................................................................................49
Validating DataConnector................................................................................................................................ 50
Validating FastExport.........................................................................................................................................50
Validating FastLoad............................................................................................................................................50
Validating MultiLoad......................................................................................................................................... 51
Validating Teradata Java Message Service (JMS)........................................................................................... 51
Validating Teradata PT...................................................................................................................................... 52
Validating Teradata Wallet................................................................................................................................ 52
Validating TPump.............................................................................................................................................. 52
Chapter 7:
Troubleshooting the Installation........................................................................................53
Client Computer Problem: Cannot Communicate Over the Network with Teradata Database.............53
Client Computer Problem: Incorrect Path Name in COPANOMLOG...................................................... 53
Client Computer Problem: Missing hosts File ...............................................................................................53
Client Computer Problem: Incorrect Entries in the hosts File.....................................................................54
Client Computer Problem: Missing Entries in the services File.................................................................. 54
Client Computer Problem: Improper Linking................................................................................................54
Teradata Tools and Utilities for Red Hat Enterprise Linux
Installation Guide, Release 15.10
Table of Contents
Chapter 8:
Deploying Teradata Tools and Utilities with TAR................................................59
About Deploying Applications with TAR.........................................................................................................59
About the TAR File.......................................................................................................................................59
TAR Script Compatibility with Platform Operating Systems......................................................... 59
Verifying TAR Script Dependencies are Installed.............................................................................60
The TAR Script Command...................................................................................................................60
TAR Script Usage Considerations....................................................................................................... 61
Downloading Windows Utility Software for TAR Deployment.............................................................63
TAR Script Examples................................................................................................................................... 64
Archiving Oracle Solaris SPARC Packages........................................................................................ 64
Archiving Linux Packages.................................................................................................................... 66
Preface
Purpose
This book describes how to install and deploy Teradata Tools and Utilities Release 15.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
Prerequisites
You should be familiar with:
Computer technology and terminology
Relational database management systems
Utilities that load and retrieve data
Revision History
Date
Release
Description
March 2015
15.10
Initial release.
Added support for Teradata Database 15.10
Updated installation and uninstallation instructions
Added product readiness validation tools
Preface
Supported Releases
Supported Releases
This document supports the following versions of Teradata products:
Teradata Database Release 15.10
Teradata Tools and Utilities Release 15.10
To locate detailed information about supported releases, refer to the spreadsheet Teradata
Tools and Utilities Supported Platforms and Product Versions, B035-3119. The spreadsheet
contains detailed information about supported Teradata Database releases, platforms, and
product release numbers.
Additional Information
If you need additional information or assistance, contact your 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.
Related Links
URL
Description
http://tays.teradata.com
www.info.teradata.com
Related Documents
Title
Publication ID
B035-2029
CHAPTER 1
Installing sudo
1 Log on as the root user.
2 Download sudo at http://www.sudo.ws/sudo/download.html.
3 Install sudo.
Configuring sudo
1 Log on as the root user.
2 Run the following command to open the sudoers file:
visudo
3 Add the appropriate line for the operating system to the sudoers file:
Operating System
File Name
AIX
Linux
Solaris
HPUX
Using sudo
1 Run the sudo command to list the allowed commands for the user on the current host.
sudo -l
10
Abbreviation
Base
Teradata Tools and Utilities Release 15.10, BCD0-1843-0000 (IBM AIX, HP-UX,
Linux, Solaris, Windows, Apple OS X)
Teradata Tools and Utilities for Red Hat Enterprise Linux
Installation Guide, Release 15.10
Database
Management
Tape Storage
Management
Teradata Tools and Utilities Tape Storage Management Enablers Release 15.10,
BCD0-1846-0000 (Windows, Linux)
Product
Database
Management
Tape Storage
Management
X
X
Teradata C Preprocessor2
Teradata FastExport
Teradata FastLoad
Teradata MultiLoad
Teradata Wallet
Related Topics
11
Teradata Tools and Utilities Release 15.10, BCD0-1843-0000 (IBM AIX, HP-UX, Linux,
Solaris, Windows, Apple OS X)
Teradata Tools and Utilities Tape Storage Management Enablers Release 15.10,
BCD0-1846-0000 (Windows, Linux)
The script is in the following directory:
/Linux/i386-x8664/repodata
Running the script creates a repository file (.xml format) named teradata-ttufoundation-1510.repo in 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
The Open Database Connectivity (ODBC) Driver for Teradata enables ODBC
applications running on Microsoft Windows, UNIX/Linux and Apple OS X
operating systems to communicate with the Teradata Database using the open
standard ODBC interface.
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 (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.
12
Description
Note: Teradata Archive/Recovery Utility is included to support the Teradata thirdparty backup applications.
Teradata C Preprocessor2
Teradata Data Connector API is a component that reads and writes flat files to
provide the input/output interface for access modules and BTEQ. For additional
information about Teradata Data Connector API, see the following documents:
Teradata Tools and Utilities Access Module Programmer Guide, B035-2424.
Teradata Tools and Utilities Access Module Reference, B035-2425.
Teradata FastExport
Teradata FastLoad
Teradata MultiLoad
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.
13
Description
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.
Product Dependencies
Product
Third-party Dependencies
None
None
None
Open Database
Connectivity (ODBC)
Driver for Teradata
None
14
Third-party Dependencies
None
None
Teradata Archive/
Recovery Utility
None
Teradata C
Preprocessor2
None
Teradata Call-Level
Interface version 2
None
Teradata Data
Connector API
None
None
Teradata FastExport
None
None
None
None
None
Teradata Access
Module for JMS
None
Teradata MultiLoad
None
None
15
Third-party Dependencies
Teradata Parallel
Transporter Stream
None
Teradata Studio
Express
Teradata Studio
None
None
tdwallet help.
Dependent Products
During installation of Teradata Tools and Utilities, the following dependent products are
automatically installed:
Shared ICU Libraries for Teradata
Teradata Call-Level Interface version 2
Teradata Data Connector API
16
If a dependent product already exists on the client system, one of the following messages is
displayed:
If the version of the product on the system is the same as the version of the product being
installed, a message like this appears:
ODBC Driver for Teradata version is already installed. Do you
want to reinstall it?
If the version of the product on the system is different than the version of the product
being installed, a message like this appears:
ODBC Driver for Teradata version is already installed. Do you
want to overwrite it with version version?
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.
17
18
CHAPTER 2
Uninstalling Software
19
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
Open Database Connectivity (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.
Notice: If a dependency package is uninstalled without reinstalling a new version of that dependency
package, the products that depend on that package stop functioning. For example, if CLIv2 is
uninstalled, all products that depend on CLIv2 stop functioning. In this case, the script warns
you and asks if you are sure you want to uninstall it.
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).
20
Description
uninstall_ttu.sh
uninstall_ttu.sh noremove
uninstall_ttu.sh nocheck
Parameters
priorto xx.xx.xx.xx
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.
Notice: Use this parameter with care, particularly if run on a Teradata DBS node, as important
Database packages could be removed.
debug
21
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:
Typical Output
Package Removal Type: rpm
..............................................................
The following packages are installed:
1. bteq1510
- 15.10.00.00
22
fastexp1510
fastld1510
mload1510
mload1510
mqaxsmod1510
npaxsmod1510
npaxsmod1510
tdodbc1510
tdwallet1510
tptstream1510
tpump1510
tpump1510
tptbase1510
piom1510
cliv21510
cliv21510
tdicu1510
tdicu1510
TeraGSS
TeraGSS32
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
15.10.00.00
23
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:
24
CHAPTER 3
Description
Some Teradata Tools and Utilities have third-party dependencies. Install these dependencies
from their respective URLs.
Installing from media (DVD) The initial distribution of software is on media (DVD) in the Teradata Tools and Utilities
Installation Kit. Using the installation script, install products on a single computer from the
media. The media contains installation packages for the current release.
Teradata Tools and Utilities for Red Hat Enterprise Linux
Installation Guide, Release 15.10
25
Description
The download center may contain more current software packages which should be installed
instead of lower version software contained on the DVD media. Packages on the download
center include drivers and connectivity software.
Check the Teradata Software Server (also known as the Patch Server) for the latest version of
software packages and patches.
For more information about the Teradata Electronic Software Distribution Management
(ESDM) program, see Electronic Software Distribution Guide, BCD0-0718.
The DVD media include files that allow you to deploy Teradata Tools and Utilities products
across your network using tar.gz files and tar.
Installation Order
The main installer for UNIX should be used to install the initial release. The main installer
automatically installs all products and their dependencies in the correct order. Using an
alternative method to do the installation requires you to manually install the products in the
correct order.
When installing individual products, they must be installed in the following order.
1.
2.
3.
4.
5.
6.
26
OptionName
Value
Meaning
ShareLibs
no
ShareLibs
yes
updateETC
no
updateETC
yes
Related Topics
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
Note: For a list of products and the package/media where each resides, see Software
Packages/DVD Contents.
Teradata Tools and Utilities for Red Hat Enterprise Linux
Installation Guide, Release 15.10
27
Description
Related Topics
Use these steps to interactively install Teradata Tools and Utilities using menu selections.
1 Run ./setup.bat.
Note: If an error message about one or more missing library files appears, use the yum
install command to download and install the files.
If a pre-15.10 version of TTU Client Utilities is installed, those packages are incompatible
with this version and must be removed. A screen similar to the following will display:
There is a previous release installed that is incompatible with the
version of TTU to be installed. The XX.XX TTU Client Software
should be removed before installing 15.10.
The previously installed packages can be automatically removed at
this time.
Enter "Yes" to remove the pre-15.10 packages and continue with the
installation or "No" to cancel the installation? ([y/n] default: Y):
Removing packages prior to version 15.10.00.00.
28
If yes was chosen, after the previous packages are uninstalled, the Teradata Tools and
Utilities installation menu appears. It contains the following information and options:
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
3 If you are prompted about retaining Teradata Wallet data, choose whether to retain
If a selected package has dependencies, the script automatically installs the dependencies
in the correct order.
Software will be installed in the following order:
a.
b.
c.
d.
e.
29
Action
Install All Packages (a) 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 (u)
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
Packages
Quit (q)
Use these steps to silently install Teradata Tools and Utilities from the command line.
30
Action
./setup.bat a
./setup.bat bteq
./setup.bat 1 2 3
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 similar to the following will display. This example is from a Linux install using
the setup.bat a command. Actual output will be specific to the platform.
#############
###
###
### ###### #######
##
### ##
##
##
####
### ##
##
##
## ##
### ##
##
##
##
##
### ##### ## ##
##
##
### ##
## ##
###### ##
### ##
##
##
##
##
### ##
##
## ##
##
### ########
####
##
##
######
##
######### ##
##
##
####
##
####
##
##
## ##
##
## ##
##
## ##
##
##
##
##
##
## ##
##
##
##
##
##
## ###### ## ## ###### ##
##
## ##
## ## ##
##
##
## ##
## ## ##
##
#####
##
## # ##
##
.......................................................................
The following packages are installed:
1. product
- XX.XX.XX.XX
2. product
- XX.XX.XX.XX
15. product
- XX.XX.XX.XX
16. product
- XX.XX.XX.XX
Removing: prod-XX.XX.XX.XX - XX.XX.XX.XX
Removing: prod-XX.XX.XX.XX - XX.XX.XX.XX
31
>
[100%]
[100%]
[100%]
[100%]
[100%]
[100%]
[100%]
These files can be sourced by third party applications or used in a terminal window to allow
easy access to that Teradata Tools and Utilities release (public executables and libraries).
These files will be necessary when we support multiple releases.
Installed Files
Teradata Tools and Utilities products no longer depend on LD_LIBRARY_PATH and/or the
softlinks created in /usr/lib and /usr/lib64 to find and load any dependent Teradata
Tools and Utilities library. The Teradata Tools and Utilities products now use relative paths to
find and load Teradata Tools and Utilities dependent libraries. This implies that the installed
files should not be moved. Moving any of the installed files to a different location can, and
most likely will, result in failures.
32
The softlinks created in /usr/lib and /usr/lib64 are to allow third party applications,
such as Informatica, to find our shared libraries.
Note: Products and versions of them available from Teradata Developer Exchange
Downloads are subject to change. This list is limited to Teradata Tools and Utilities
applications.
Connectivity
Teradata Call-Level Interface version 2 suite (includes Teradata GSS Client and Teradata
International Components for Unicode)
Teradata JDBC Driver
Teradata JMS Universal Connector
Open Database Connectivity (ODBC) Driver for Teradata suite (includes Teradata GSS
Client and Teradata International Components for Unicode)
33
The Teradata Developer Exchange Downloads page with a list of selectable products
appears.
2 Click the product name or the platform next to the product name.
3 Click the software package or text file to download.
4 You may be asked to enter a user name and password or to create a user name and
password.
Note: [64-bit systems] When you install Teradata Tools and Utilities from media or the full
suite downloaded install package, the 32-bit version and the 64-bit version of the product is
installed. However, when you install Teradata Tools and Utilities from individual product
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,
64-bit, or both) is installed.
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.
34
downloaded patch:
a.
b.
c.
d.
e.
To ensure the highest quality and best performance of Teradata Tools and Utilities products,
you should download the most recently updated software packages from the Teradata
Software Server.
1 Log on to Teradata @ Your Service at http://tays.teradata.com.
2 Click Software Downloads.
3 In the Home tab, click the Teradata Client button.
4 Click the platform.
5 In the Teradata Client Released Software pane, select the Software base.
6 Filter the list of available software.
7 Click Submit.
8 Select the suite you want to download.
9 Select the Download Type and the Download Readme Files if desired, enter your User
10 Click Download.
11 Click Save.
12 Specify a location to save the downloaded files and click Save to start the download.
Teradata Tools and Utilities for Red Hat Enterprise Linux
Installation Guide, Release 15.10
35
dependencies.
4 Uncompress and untar the files and dependent product packages into a folder for the
setup packages.
6 If the product has dependencies, install them in the following order before you install the
downloaded patch:
a.
b.
c.
d.
e.
On 64-bit Red Hat Linux, the compiler always generates 64-bit binaries. The 32-bit
makefile is not supported on 64-bit Red Hat Linux platforms.
4 Move the libtdusr.so file into the cli installation directory, and verify that
libcliv2 exists in the same directory.
36
37
38
CHAPTER 4
39
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.
1 Log on as the root user.
2 Use a text editor to edit the configuration file to change the checkpoint or logs directory.
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.
CheckpointDirectory is the directory that contains the checkpoint files for Teradata
Parallel Transporter jobs
short version is the product version in short form (for example, 15.10)
LogDirectory='/opt/teradata/client/short version/tbuild/logs', where
LogDirectory is the directory that contains the binary logs for Teradata Parallel
Transporter jobs
short version is the product version in short form (for example, 15.10)
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.
40
3 Add the following line in the /etc/rc.d/rc.local file to increase the shmmni
3 Add the following line in the /etc/rc.d/rc.local file to increase the semmns
Teradata Parallel Transporter will use shared memory as the IPC memory choice.
Teradata Tools and Utilities for Red Hat Enterprise Linux
Installation Guide, Release 15.10
41
Teradata Parallel Transporter will use memory mapped as the IPC memory choice.
The change does not require a kernel rebuild or a reboot.
42
CHAPTER 5
Enter the BTEQ logon command with a logon ID. Include the dbcpath if the Teradata
Database dbcpath is not the default i_dbcpath specified in clispb.dat.
5 When prompted, enter the password.
For example, if the Teradata Database has a dbcpath of Finance, the username is fml,
and the password is fml, type:
.logon Finance/fml
Password: fml
43
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;
7 To see the version numbers for BTEQ and the key Teradata software it depends on, use
.SHOW VERSIONS
4 2014
44
where
InstallDir Base installation directory, which is usually /opt.
ODBC ODBC_32 for 32-bit or ODBC_64 for 64-bit.
2 Run the command:
where
databasename Name or IP address of the Teradata database.
username Database user name.
password Database password.
If the ODBC Driver for Teradata is installed correctly, the tool displays information that
it successfully connected to the database.
files:
makesamp.lx [32-bit]
makesamp.lx64 [64-bit]
45
Run the sample program using the default logon information (dbc/
systemfe,service):
clisamp [32-bit]
clisamp_lx64 [64-bit]
Show help for the sample program:
clisamp -h [32-bit]
clisamp_lx64 -h [64-bit]
Run the sample program using a user-provided input string:
clisamp tdpid/user,password [32-bit]
clisamp_lx64 tdpid/user,password [64-bit]
The program logs on to the default dbccop1 (no user input supplied) specified in
the /etc/hosts file, runs a simple query SELECT * from dbc.sessioninfo, and
writes the output to the clisamp.dat file. A display similar to the following appears:
CLIv2 version is 15.10.00.00
MTDP version is 15.10.00.00
MOSIOS version is 15.10.00.00
MOSIDEP version is 15.10.00.00
OSERR version is 15.10.00.00
Logging on to --> dbc/systemfe,service
writing out to --> CLISAMP.DAT
submitting --> select* from dbc.sessioninfo;
writing out to --> CLISAMP.DAT
Logging off.
Note: For information about security and connecting to a Teradata Database, see Security
Administration, B035-1100.
Related Topics
46
Apple OS X
KAP2C009E
HP-UX
KAP2C00A2
IBM AIX
KAP2C00A6
KAP2C00AA
KAP2C00AE
Windows
KAP2C00B2
47
48
CHAPTER 6
Validating AccessModuleMQ
For more information about Teradata AccessModuleMQ, see Teradata Tools and Utilities
Access Module Reference, B035-2425.
1 Open a command prompt.
2 Create a database user name and password.
3 Change directory to MQAXSMOD_install_directory/sample/quickstart.
4 Update mqaxsmod_parmfile accordingly.
5 Change directory to MQAXSMOD_install_directory/sample/validate.
6 Run the command ./mqaxsmodvalidate.ksh Tdpid UserName UserPassword,
where:
The validation script executes mqaxsmodqstart.fl in the quickstart directory
Tdpid is a database ID
UserName is a database user name
UserPassword is a database user password
Validating AccessModuleNP
For more information about Teradata AccessModuleNP, see Teradata Tools and Utilities
Access Module Reference, B035-2425.
1 Open a command prompt.
2 Create a database user name and password.
3 Change directory to .NPAXSMOD_install_directory/sample/quickstart.
4 Update jmsaxsmod_parmfile accordingly.
5 Change directory to NPAXSMOD_install_directory/sample/validate.
6 Run the command ./npaxsmodvalidate.ksh Tdpid UserName UserPassword,
where:
The validation script executes npaxsmodqstart.fl and npaxsmodqstart.fe in
the quickstart directory
49
Tdpid is a database ID
UserName is a database user name
UserPassword is a database user password
Validating DataConnector
For more information about the Teradata Data Connector, see the Teradata Tools and Utilities
Access Module Reference, B035-2425.
1 Open a command prompt.
2 Create a database user name and password.
3 Change directory to PIOM_install_directory/sample/validate.
4 Run the command ./piomvalidate.ksh Tdpid UserName UserPassword, where:
Validating FastExport
For more information about FastExport, see the Teradata FastExport Reference, B035-2410.
1 Open a command prompt.
2 Create a database user name and password.
3 Change directory to FastExport_install_directory/sample/validate.
4 Run the command ./fexpvalidate.ksh Tdpid UserName UserPassword, where:
Validating FastLoad
For more information about Teradata FastLoad, see Teradata FastLoad Reference, B035-2411.
1 Open a command prompt.
2 Create a database user name and password.
3 Change directory to fastLoad_install_directory/sample/validate.
50
Validating MultiLoad
For more information about Teradata MultiLoad, see Teradata MultiLoad Reference,
B035-2409.
1 Open a command prompt.
2 Create a database user name and password.
3 Change directory to mload_install_directory/sample/validate.
4 Run the command ./mloadvalidate.ksh Tdpid UserName UserPassword, where:
where:
The validation script executes jmsaxsmodqstart.fl in the quickstart directory
Tdpid is a database ID
UserName is a database user name
UserPassword is a database user password
51
Validating Teradata PT
For more information about Teradata Parallel Transporter, see Teradata Parallel Transporter
Reference, B035-2436.
1 Open a command prompt.
2 Create a database user name and password.
3 Change directory to TPT_install_directory/sample/validate.
4 Run the command ./tptvalidate.ksh Tdpid UserName UserPassword, where:
Tdpid is a database ID
UserName is a database user name
UserPassword is a database user password
Validating TPump
Refer to Teradata Parallel Data Pump Reference, B035-3021 for detailed information on how
to use TPump.
1 Open a command prompt.
2 Create a database user name and password.
3 Change directory to TPump_install_directory/sample/validate.
4 Run the command ./tpumpvalidate.ksh Tdpid UserName UserPassword, where:
52
CHAPTER 7
/usr/etc/ping dbcnameCOPn
2 To perform the second test to verify communication to the Teradata Database, type:
telnet dbcnameCOPn
53
1025/udp
1025/tcp
values.
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.
54
2 If you can log on from BTEQ, check the CLI application for errors.
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 are 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
network segment as the first client. If this works, there may be a problem with the first
client.
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
55
changed accordingly.
13 Reboot the client to reset network hardware and reload network software.
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
subnet masks.
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
56
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.
variable.
57
58
CHAPTER 8
59
The tar executable must be located in the PATH on the system running the script. On UNIX
and Linux, tar is typically in the /bin directory.
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.
The TAR Script Command
Description
tar_teradata_client_packages
or
tar_teradata_client_packages help
tar_teradata_client_packages list
Displays the platforms and packages that are available on the installation
media
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.
60
Description
tar_teradata_client_packages aix bteq
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 dependent packages are
included in the archive.
TAR Script Usage Considerations
Subject
Description
Default Directory
The tar_teradata_client_packages script prompts for a directory to create the tar file. To
use the default user directory, press Enter. By convention, the default home directory is:
/home/username if you run the script as a standard user
/tmp if you run the script as root
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
Dependent Packages
If a single package or multiple packages are selected, all of the dependent products are included,
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.
61
Description
tar_teradata_client_packages
tar_teradata_client_packages help
All of the platforms and packages contained on the installation media can be listed by running the
Listing the Available
Packages and Platforms tar_teradata_client_packages script with the list parameter, for example:
tar_teradata_client_packages list
To list all packages for a specific platform available on the installation media, run
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
*
************************************************************************
62
Description
TTU Foundation
The available platforms are:
HP-UX
Linux
The available packages are:
--- HP-UX Products
bteq
fastexp
mload
npaxsmod
cliv2 fastld
mqaxsmod piom
tdicu
TeraGSS
tpump
tdicu
TeraGSS
tpump
npaxsmod
piom
If tar.exe is not installed, a message similar to the following appears, directing you to a
location where the tar.exe archiving utility is available for download:
************************************************************************
*
Tar Teradata Client Packages v.xx.xx.xx.xx
*
************************************************************************
TTU Foundation
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
Save the file as tar.exe in the C:\WINDOWS directory, or to another
directory in the PATH, then rerun this script again.
GNU Tar version 1.12 is the recommended tar for DOS to use.
For more information see: http://www.gnu.org/software/tar/
63
If gzip.exe is not installed, a message similar to the following appears during the
creation of the tar file:
Notice: The executable gzip.exe is not found. Download from www.gzip.org
for MSDOS to automatically compress the output tar file to a gzip file.
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.
This example archives packages and dependencies that are required for the deployment of
Teradata Tools and Utilities products to Oracle Solaris SPARC clients. The packages and
dependencies are copied from the installation media and archived as a tar file. The archive
can be copied to Oracle Solaris SPARC machines and expanded. The example assumes that
you run the archiving script on a 32-bit Windows system on which tar.exe is installed but
gzip.exe is not installed.
1 Run the script with the list parameter to display a list of the products available for each
D:\tar_teradata_client_packages list
64
2 Enter the following commands to create an archive of the Oracle Solaris SPARC
a D:\tar_teradata_client_packages sparc
b Press Enter to accept the default path, copy the packages, and create the tar archive.
65
This example archives packages and dependencies that are required for the deployment of
Teradata Tools and Utilities products to SUSE Linux or Red Hat Linux clients. The packages
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.
Run the script with linux as the value of the platform parameter:
D:\tar_teradata_client_packages linux
66
67
68