Silently Installing Teradata Tools and Utilities - Teradata Tools and Utilities

Teradata Tools and Utilities for IBM AIX Installation Guide

Product
Teradata Tools and Utilities
Release Number
15.10.04
Published
June 2017
Language
English (United States)
Last Update
2018-06-05
dita:mapPath
PDF_Installation_UNIX_IBM_AIX_1600.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3125
lifecycle
previous
Product Category
Teradata Tools and Utilities
Use these steps to silently install Teradata Tools and Utilities from the command line.
  1. Change to the Solaris directory on the media containing the desired TTU Solaris packages: 1.cd /Solaris/Sparc or # cd /Solaris/Opteron.
  2. Execute the following loop:1.for file in * do echo $file pkgask -r /tmp/$file.response -d . $file done This will loop through each product directory. While executing pkgask, you will be prompted with various questions, such as the directory in which to install and whether to modify the /etc/profile file, etc. Your answers are saved as files in /tmp/<productname>.response.
  3. Modify the UNIX main install by adding -r <productname>.response to the pkgadd command.
  4. [Optional] To use silent installs with SMS, copy the response files into /var/log/teradata/client/15.10.
  5. Run ./setup.bat with one of the following command line options:
    Option Action
    ./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).
    ./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).
    ./setup.bat bteq -installdir=/abc Installs BTEQ (in this example) in /abc/teradata/client/15.10 unless another 15.10 product is already installed at a different prefix.
    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.
    #############
          ###
          ###
          ### ###### #######       ##      ######        ##   #########  ##
          ### ##     ##    ##     ####     ##    ##     ####     ##     ####
          ### ##     ##    ##    ##  ##    ##     ##   ##  ##    ##    ##  ##
          ### ##     ##   ##    ##    ##   ##     ##  ##    ##   ##   ##    ##
          ### #####  ## ##      ##    ##   ##     ##  ##    ##   ##   ##    ##
          ### ##     ##  ##    ######  ##  ##     ## ######  ##  ##  ######  ##
          ### ##     ##   ##   ##      ##  ##     ## ##      ##  ##  ##      ##
          ### ##     ##    ## ##        ## ##    ## ##        ## ## ##        ##
          ###  ########     ####        ##  #####   ##        ##  # ##        ##
           ##
     
    Welcome to the Teradata Tools and Utilities 15.10 installation    v.15.10.00.00
    Copyright 2002-2015 by Teradata. All rights reserved.
    IF YOU OR THE ENTITY FOR WHOM YOU ARE INSTALLING THIS SOFTWARE DOES NOT HAVE
    A WRITTEN LICENSE AGREEMENT WITH TERADATA FOR THIS SOFTWARE, DO NOT INSTALL,
    USE, OR ALLOW USE OF THIS SOFTWARE.
    …
    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 will be automatically removed at this time.
    Removing packages prior to version 15.10.00.00.
    …
    .......................................................................
    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
    …
    Removing: prod-XX.XX.XX.XX - XX.XX.XX.XX
    ......................................................
    Installing: Product-15.10.00.00
    Preparing...                ########################################### [100%]
       1:Product                ########################################### [100%]
    Installing: Product
    Preparing...                ########################################### [100%]
       1:Product                ########################################### [100%]
    Installing: Product
       1:Product                ########################################### [100%]
    Adding xxxxx entry to /etc/services file.
    setting soft links in /usr/lib
    Installing: Product
    Preparing...                ########################################### [100%]
       1:Product                ########################################### [100%]
    …
    > 
    
  6. Change back to the root directory.
  7. Unmount the media drive.

    umount /mnt

  8. Remove the installation media from the media drive.
  9. [Optional] After completing the product installation, remove the installation media from the media mount point using the following command:

    rmdir /dvdrom/mount point

  10. Log off and then log on to enable the newly installed software packages.