• No results found

The file tar_teradata_client_packages is available on all installation media. The examples list available packages and create tar files that include all packages or individual packages and their dependent packages. Examples also show the commands for creating tar package archives for UNIX and Linux platforms on Windows.

Archiving Oracle Solaris SPARC Packages

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. The procedure involves the following steps:

1. Listing available products 2. Copying and archiving products

1 Run the script with the list parameter to display a list of the products available for each product and platform:

D:\tar_teradata_client_packages list A screen similar to the following appears:

************************************************************************ * Tar Teradata Client Packages v.14.10.00.00 *

************************************************************************ TTU Foundation

The available platforms are: AIX

Solaris

For Solaris Sparc use "sparc" for the platform parameter. For Solaris Opteron use "opteron" for the platform parameter.

The available packages are: --- AIX Products

cliv2 cobpp sqlpp tdicu

TeraGSS

--- Solaris Sparc Products cliv21410

sqlpp1410 tdicu1410 TeraGSS TeraGSS32

--- Solaris Opteron Products cliv21410

sqlpp1410 tdicu1410

TeraGSS_solaris-i386 TeraGSS_solaris-x8664

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

Default Path and Output File:

C:\Documents and Settings\<user>\teradata-client-Solaris-Sparc-ttu-foundation.tar

Hit [Enter] to accept the path: "C:\Documents and Settings\<user>", or input a different save directory :Output File "C:\Documents and Settings\<user>\teradata-client-Solaris-Sparc-ttu-foundation.tar"

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

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.

The file has been saved at :

C:\Documents and Settings\<user>\teradata-client-Solaris-Sparc-ttu-foundation.tar

Archiving an HP-UX Package

This example archives the bteq package and its dependencies that are required for the deployment of bteq to HP-UX clients. The package and dependencies are copied from the installation media, archived as a tar file, and compressed. The compressed archive can be copied to HP-UX 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 hp-ux as the value of the platform parameter and bteq as the value of the product name:

D:\tar_teradata_client_packages hp-ux bteq A screen similar to the following appears:

************************************************************************ * Tar Teradata Client Packages v.14.10.00.00 * ************************************************************************ Load/Unload - Volume 2

Platform: HP-UX

Default Path and Output File:

C:\Documents and Settings\user\teradata-client-hp-ux-load-unload-volume-2.tar

Hit [Enter] to accept the path: "C:\Documents and Settings\username", or input a different save directory : "C:\Documents and Settings\username"

Output File "C:\Documents and Settings\username\teradata-client-hp-ux-load-unload- volume-2.tar"

---Archiving setup files and dependency packages for hp-ux

tar cvf "C:\Documents and Settings\username\teradata-client-hp-ux-load-unload- volume-2.tar" HPUX\TeraGSS* a HP-UX/TeraGSS/ia64/pkginfo.txt 1 block a HP-UX/TeraGSS/ia64/TeraGSS_hpux-ia64_14.10.00.00.depot 164540 blocks a HP-UX/TeraGSS/ia64/TeraGSS_hpux-ia64_14.10.00.00.psf 3 blocks a HP-UX/TeraGSS/pa32/pkginfo.txt 1 block a HP-UX/TeraGSS/pa32/TeraGSS_hpux-pa32_14.10.00.00.depot 114340 blocks a HP-UX/TeraGSS/pa32/TeraGSS_hpux-pa32_14.10.00.00.psf 3 blocks

tar rvf "C:\Documents and Settings\username\teradata-client-hp-ux-load-unload- volume-2.tar" HP-UX\tdicu* tar: blocksize = 20 a HP-UX/tdicu/ia64/swagent.log 3 blocks a HP-UX/tdicu/ia64/tdicu1410/tdicu1410/opt/teradata/client/14.10/tdicu/ lib/libicudatatd.so.46.0 16206 blocks a HP-UX/tdicu/ia64/tdicu1410/tdicu1410/opt/teradata/client/14.10/tdicu/

lib/libicui18ntd.so.46.0 24941 blocks a HP-UX/tdicu/ia64/tdicu1410/tdicu1410/opt/teradata/client/14.10/tdicu/ lib/libicuiotd.so.46.0 773 blocks … a HP-UX/bteq/pa32/catalog/swlock 0 blocks a HP-UX/bteq/pa32/catalog/INDEX 9 blocks a HP-UX/bteq/pa32/catalog/bteq1410/bteq1410/INFO 4 blocks a HP-UX/bteq/pa32/catalog/bteq1410/bteq1410/INDEX 1 block a HP-UX/bteq/pa32/catalog/bteq1410/bteq1410/postinstall 10 blocks a HP-UX/bteq/pa32/catalog/bteq1410/bteq1410/postremove 5 blocks a HP-UX/bteq/pa32/catalog/bteq1410/bteq1410/preinstall 11 blocks a HP-UX/bteq/pa32/catalog/bteq1410/pfiles/INFO 1 block a HP-UX/bteq/pa32/catalog/bteq1410/pfiles/INDEX 8 blocks a HP-UX/bteq/pa32/catalog/bteq1410/pfiles/README 1 block a HP-UX/bteq/pa32/catalog/bteq1410/pfiles/_ACL 1 block a HP-UX/bteq/pa32/catalog/bteq1410/pfiles/_LOCK_FILE 0 blocks a HP-UX/bteq/pa32/catalog/bteq1410/pfiles/_OWNER 1 block a HP-UX/bteq/pa32/catalog/dfiles/INFO 1 block a HP-UX/bteq/pa32/catalog/dfiles/INDEX 1 block a HP-UX/bteq/pa32/catalog/dfiles/_ACL 1 block a HP-UX/bteq/pa32/catalog/dfiles/_PROD_DFLT_ACL 1 block a HP-UX/bteq/pa32/catalog/dfiles/_LOCK_FILE 0 blocks a HP-UX/bteq/pa32/catalog/dfiles/_OWNER 1 block

The file has been saved at :

C:\Documents and Settings\username\teradata-client-hp-ux-load-unload-volume-2.tar.gz

Archiving Linux Packages

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.

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

Default Path and Output File:

C:\Documents and Settings\user\teradata-client-linux-ttu-foundation.tar

Hit [Enter] to accept the path: "C:\Documents and Settings\user", or input a different save directory :

Output File "C:\Documents and Settings\user\teradata-client-linux-ttu-foundation.tar" ---Archiving all packages for linux.

tar cvf "C:\Documents and Settings\user\teradata-client-linux-ttu-foundation.tar" Linux

a Linux/mload/mload1410-14.10.00.00-1.i386.rpm 374 blocks a Linux/piom/piom1410-14.10.00.00-1.i386.rpm 79 blocks a Linux/tdicu/tdicu-14.10.00.00-1.noarch.rpm 20564 blocks a Linux/fastld/fastld1410-14.10.00.00-1.i386.rpm 189 blocks a Linux/TeraGSS/TeraGSS_redhatlinux-i386-14.10.00.00-1.i386.rpm 12240 blocks a Linux/fastexp/fastexp1410-14.10.00.00-1.i386.rpm 341 blocks a Linux/tpump/tpump1410-14.10.00.00-1.i386.rpm 478 blocks a Linux/npaxsmod/npaxsmod-14.10.00.00-1.i386.rpm 272 blocks a Linux/cliv2/cliv2-14.10.00.00-1.x86_64.rpm 766 blocks a Linux/bteq/bteq-14.10.00.00-1.i386.rpm 303 blocks

tar rvf "C:\Documents and Settings\user\teradata-client-linux-ttu- foundation.tar" .setup.sh

tar: blocksize = 20 a .setup.sh 282 blocks

tar rvf "C:\Documents and Settings\user\teradata-client-linux-ttu-foundation.tar" setup.bat

tar: blocksize = 20 a setup.bat 1 block

tar rvf "C:\Documents and Settings\user\teradata-client-linux-ttu-foundation.tar" MEDIALABEL

tar: blocksize = 20 a MEDIALABEL 1 block

The file has been saved at :

Related documents