Friday, February 10, 2017

Applying the latest client patches on top of base version -- Only Client


Download latest patches based on OS for any TD client version and out it one local directory.


[root@hostname teradata]# ls -ltr
total 104640
-rwxrwxr-x 1    54381 49173       299 Apr 13  2009 setup.bat
-rwxrwxr-x 1    54381 49173     24345 Apr 28  2014 tar_teradata_client_packages.bat
-rwxrwxr-x 1    54381 49173     17328 Apr 28  2014 tar_teradata_client_packages.sh
drwxrwxr-x 2    54381 49173      4096 Dec 26  2014 TeraJDBC
-rwxrwxr-x 1    54381 49173     34941 Jan 29  2015 uninstall_ttu.sh
-rwxrwxr-x 1    54381 49173        15 Feb 11  2015 MEDIALABEL
-rwxrwxr-x 1 teradata dba   106936320 May 10  2015 TeradataToolsAndUtilitiesBase__Linux_i386x8664.15.10.00.00.tar
drwxrwxr-x 3 root     root       4096 Jan 31 03:32 Linux
drwxr-xr-x 2 teradata dba        4096 Jan 31 20:30 P

[root@hostname teradata]# pwd
/export/home/teradata

[root@hostname teradata]# ./uninstall_ttu.sh
Teradata Tools and Utilities UNIX Uninstall                       v.15.10.00.02
Copyright 2009-2015. Teradata Corporation. All Rights Reserved.
Package Removal Type: rpm
..........................................................................
The following packages are installed:
 1. bteq                  - 15.10.00.00
 2. fastexp               - 15.10.00.00
 3. fastld                - 15.10.00.00
 4. jmsaxsmod1510         - 15.10.00.00
 5. mload                 - 15.10.00.00
 6. mqaxsmod1510          - 15.10.00.00
 7. npaxsmod1510          - 15.10.00.00
 8. sqlpp                 - 15.10.00.00
 9. tdodbc                - 15.10.00.00
10. tdwallet1510          - 15.10.00.00
11. tptstream1510         - 15.10.00.00
12. tpump                 - 15.10.00.00
13. tptbase1510           - 15.10.00.00
14. piom                  - 15.10.00.00
15. cliv2                 - 15.10.00.00
16. tdicu                 - 15.10.00.00
17. TeraGSS_linux_x64     - 15.10.00.00

f. Display the full package information on the packages listed.
a. Remove all of the above software.
h. Display help information.
q. Quit the package remove script.

Enter one or more selections (separated by space): q
Exiting...

[root@hostname teradata]# cd P/

[root@hostname P]# pwd
/export/home/teradata/P

[root@hostname P]# ls -ltr
total 52116
-rw-r--r-- 1 teradata dba 16140422 Aug 13  2015 tdodbc-15.10.00.01-1.noarch.rpm
-rw-r--r-- 1 teradata dba  9441536 Aug 24  2015 tdicu-15.10.00.01-1.noarch.rpm
-rw-r--r-- 1 teradata dba   259700 Aug 31  2015 mload-15.10.00.03-1.i386.rpm
-rw-r--r-- 1 teradata dba   338049 Aug 31  2015 tpump-15.10.00.04-1.i386.rpm
-rw-r--r-- 1 teradata dba   263125 Aug 31  2015 fastexp-15.10.00.03-1.i386.rpm
-rw-r--r-- 1 teradata dba   181329 Aug 31  2015 fastld-15.10.00.04-1.i386.rpm
-rw-r--r-- 1 teradata dba  3739433 Sep  2  2015 tdwallet1510-15.10.00.02-1.noarch.rpm
-rw-r--r-- 1 teradata dba   526704 Sep 30  2015 cliv2-15.10.00.03-1.noarch.rpm
-rw-r--r-- 1 teradata dba   751612 Oct  7  2015 sqlpp-15.10.00.02-1.noarch.rpm
-rw-r--r-- 1 teradata dba   268805 Dec 15  2015 piom-15.10.00.03-1.noarch.rpm
-rw-r--r-- 1 teradata dba 21333938 Apr  6  2016 TeraGSS_linux_x64-15.10.02.01-1.noarch.rpm

[root@hostname P]# rpm -Uvh *
Preparing...                ########################################### [100%]
   1:piom                   ########################################### [  9%]
   2:tdicu                  ########################################### [ 18%]
updating /etc/csh.login and /etc/profile
setting soft links in /usr/lib and /usr/lib64

Warning! Incompatible version/s of teragss found installed-
TeraGSS_linux_x64-15.10.00.00-1

Please uninstall the package/s listed above, before
proceeding with installation of TeraGSS_linux_x64-15.10.02.01-1.
(If this is an upgrade, then no action is required.)

   3:TeraGSS_linux_x64      ########################################### [ 27%]
   4:cliv2                  ########################################### [ 36%]
setting soft links in /usr/lib
   5:fastexp                ########################################### [ 45%]
   6:fastld                 ########################################### [ 55%]
   7:mload                  ########################################### [ 64%]
   8:sqlpp                  ########################################### [ 73%]
   9:tdodbc                 ########################################### [ 82%]
set_default_version -b 32 -v 15.10 -i /opt

ADDING SYMBOLIC LINK:
    source:  /opt/teradata/client/ODBC_32/lib
    target:  /opt/teradata/client/15.10/lib

symbolic link trail:
[1]     +-> [/opt/teradata/client/ODBC_32/lib]
[2]         +-> [/opt/teradata/client/15.10/lib: directory]

ADDING SYMBOLIC LINK:
    source:  /opt/teradata/client/ODBC_32/locale
    target:  /opt/teradata/client/15.10/odbc_32/locale

symbolic link trail:
[1]     +-> [/opt/teradata/client/ODBC_32/locale]
[2]         +-> [/opt/teradata/client/15.10/odbc_32/locale: directory]

ADDING SYMBOLIC LINK:
    source:  /opt/teradata/client/ODBC_32/include
    target:  /opt/teradata/client/15.10/include

symbolic link trail:
[1]     +-> [/opt/teradata/client/ODBC_32/include]
[2]         +-> [/opt/teradata/client/15.10/include: directory]

set_default_version -b 64 -v 15.10 -i /opt

ADDING SYMBOLIC LINK:
    source:  /opt/teradata/client/ODBC_64/lib
    target:  /opt/teradata/client/15.10/lib64

symbolic link trail:
[1]     +-> [/opt/teradata/client/ODBC_64/lib]
[2]         +-> [/opt/teradata/client/15.10/lib64: directory]

ADDING SYMBOLIC LINK:
    source:  /opt/teradata/client/ODBC_64/locale
    target:  /opt/teradata/client/15.10/odbc_64/locale

symbolic link trail:
[1]     +-> [/opt/teradata/client/ODBC_64/locale]
[2]         +-> [/opt/teradata/client/15.10/odbc_64/locale: directory]

ADDING SYMBOLIC LINK:
    source:  /opt/teradata/client/ODBC_64/include
    target:  /opt/teradata/client/15.10/include

symbolic link trail:
[1]     +-> [/opt/teradata/client/ODBC_64/include]
[2]         +-> [/opt/teradata/client/15.10/include: directory]

Setting soft links in /usr/lib
Setting soft links in /usr/lib64

    ========================================================================
    ***                     IMPORTANT ODBC USER BULLETIN                     ***
    =======================================================================

    The TTU 13.0 release has introduced a new TTU directory tree structure
    which has unified all the TTU products under a common TTU release directory.
    The ODBC 13.0 installation package has taken steps to make this new tree
    structure transparent to the existing ODBC users that have selected the
    default install directory when installing an ODBC release prior to 13.0.
    In the case where the user has selected a non-default install directory,
    the user will need to follow the instructions that are documented in the
    ODBC README file.

    In either case, it is strongly recommended that the user read the ODBC README
    file to understand the new TTU tree structure and how it relates to the
    ODBC Driver and its odbc.ini and odbcinst.ini files.

    =======================================================================
    ***                     IMPORTANT ODBC USER BULLETIN                     ***
    ========================================================================

  10:tdwallet1510           ########################################### [ 91%]
  11:tpump                  ########################################### [100%]


[root@hostname ~]# cd /export/home/teradata/

[root@hostname teradata]# ls -lr
total 104640
-rwxrwxr-x 1    54381 49173     34941 Jan 29  2015 uninstall_ttu.sh
drwxrwxr-x 2    54381 49173      4096 Dec 26  2014 TeraJDBC
-rwxrwxr-x 1 teradata dba   106936320 May 10  2015 TeradataToolsAndUtilitiesBase__Linux_i386x8664.15.10.00.00.tar
-rwxrwxr-x 1    54381 49173     17328 Apr 28  2014 tar_teradata_client_packages.sh
-rwxrwxr-x 1    54381 49173     24345 Apr 28  2014 tar_teradata_client_packages.bat
-rwxrwxr-x 1    54381 49173       299 Apr 13  2009 setup.bat
drwxr-xr-x 2 teradata dba        4096 Jan 31 20:30 P
-rwxrwxr-x 1    54381 49173        15 Feb 11  2015 MEDIALABEL
drwxrwxr-x 3 root     root       4096 Jan 31 03:32 Linux

[root@hostname teradata]# ./uninstall_ttu.sh
Teradata Tools and Utilities UNIX Uninstall                       v.15.10.00.02
Copyright 2009-2015. Teradata Corporation. All Rights Reserved.
Package Removal Type: rpm
..........................................................................
The following packages are installed:
 1. bteq                  - 15.10.00.00
 2. fastexp               - 15.10.00.03
 3. fastld                - 15.10.00.04
 4. jmsaxsmod1510         - 15.10.00.00
 5. mload                 - 15.10.00.03
 6. mqaxsmod1510          - 15.10.00.00
 7. npaxsmod1510          - 15.10.00.00
 8. sqlpp                 - 15.10.00.02
 9. tdodbc                - 15.10.00.01
10. tdwallet1510          - 15.10.00.02
11. tptstream1510         - 15.10.00.00
12. tpump                 - 15.10.00.04
13. tptbase1510           - 15.10.00.00
14. piom                  - 15.10.00.03
15. cliv2                 - 15.10.00.03
16. tdicu                 - 15.10.00.01
17. TeraGSS_linux_x64     - 15.10.02.01

f. Display the full package information on the packages listed.
a. Remove all of the above software.
h. Display help information.
q. Quit the package remove script.

Enter one or more selections (separated by space): q
Exiting...

[root@hostname teradata]#

No comments:

Post a Comment