Command Line on Non-Teradata Server | Teradata Data Mover - Installing and Configuring the Data Mover Command-Line Interface on Non-Teradata Servers - Teradata Data Mover

Teradata® Data Mover Installation, Configuration, and Upgrade Guide for Customers - 20.01

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Mover
Release Number
20.01
Published
November 2023
Language
English (United States)
Last Update
2023-12-05
dita:mapPath
jvt1700556161677.ditamap
dita:ditavalPath
stp1591127384938.ditaval
dita:id
pqq1467243714524
Product Category
Analytical Ecosystem
The Data Mover Command-Line Interface must be installed for Linux on non-Teradata servers, Windows, Ubuntu, and IBM AIX systems using the following procedure. You cannot use PUT to install the Command-Line Interface on those systems.

Steps 1 through 4 do not apply to installation on Windows systems.

  1. Add the following lines of code to the end of the /etc/profile file to update the JAVA_HOME and PATH environment variables for all users:
    export JAVA_HOME={full path of java installation location}
    export PATH=$JAVA_HOME/bin:$PATH
  2. Run the command:
    source /etc/profile
  3. Verify that the output shows JRE.11.0:
    java -version
  4. Open the .profile file of the root user and verify that the values for the JAVA_HOME and PATH environment variables are the same as those defined in /etc/profile.
    If the values are different, the java -version command will not produce the correct output during install time, and the installation will fail.
  5. Install the appropriate DMCmdline software package for your system as follows:
    Operating System Actions
    Linux (for non-Teradata servers)
    1. At the command line, type export DM_INTERACTIVE_INSTALL=1 to set the environment variable for interactive install.
    2. At the command line, type the following:

      gunzip DMCmdline__linux_noarch.20.00.00.00-1.tar.gz tar xvf DMCmdline__linux_noarch.20.00.00.00-1.tar

      cd DMCmdline.20.00*

      rpm -Uvh DMCmdline__linux_noarch.20.00`.xx.xx-1.rpm

    3. Answer the prompts as needed and press Enter to accept the defaults where appropriate.
    4. Type rpm -qa |grep DMCmdline to verify the installation.
    Windows
    1. Copy the Data Mover directory on the media to a folder on the hard drive.
    2. Go to DataMover/Windows and unzip tdm-windows__windows_i386.20.00.xx.xx.zip.
    3. Go to the DISK1 directory and run setup.exe.
    4. Answer the prompts as needed and press Next to accept defaults where appropriate.
    5. Select Install when finished.
    6. Go to Start > Control Panel > Add or Remove Programs to verify installation.
    IBM AIX
    1. At the command line, type the following to install:

      gunzip tdm-aix__aix_power.20.00.xx.xx.tar.gz

      tar xvf tdm-aix__aix_power.20.00.xx.xx.tar

      installp -acF -d ./DMCmdline DMCmdline

    2. Answer the prompts as needed and press Enter to accept defaults where appropriate.
    3. Type lslpp -l "DM*" to verify the installation.
    Ubuntu
    1. At the command line, type export DM_INTERACTIVE_INSTALL=1 to set the environment variable for interactive install.
    2. At the command line, type the following:

      tar xzvf tdm-ubuntu__ubuntu.20.00.xx.xx.tar.gz

      cd DMCmdline.20.00.xx.xx

      dpkg -i DMCmdline__ubuntu_all.20.00.xx.xx-1.deb
      In Ubuntu, -i is used for both install and upgrade.
    3. Answer the prompts as needed and press Enter to accept the defaults where appropriate.
    4. Type dpkg -l |grep dmcmdline to verify the installation.
  6. If the REST server needs to be changed, edit the commandline.properties file located in the TDM_install_directory\CommandLine\commandline.properties directory after installation.
  7. Specify the Data Mover REST server URL for communicating with the daemon as in the following example:
    dm.rest.endpoint=https://dm_host:1443/datamover

    Make sure the host:port value used for dm.rest.endpoint is on the accept.host.list in tdmrest.properties.