Command Line on Non-Teradata Server | Teradata Data Mover - 17.11 - 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

Product
Teradata Data Mover
Release Number
17.11
Release Date
October 2021
Content Type
Administration
Configuration
Installation
Publication ID
B035-4102-091K
Language
English (United States)
The Data Mover Command-Line Interface must be installed for Linux on non-Teradata servers, Windows, Solaris Sparc, 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.1.8:
    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_i386.17.11.xx.xx.tar.gz tar xvf DMCmdline__linux_i386.17.11.xx.xx.tar

      cd DMCmdline.17.11*

      rpm -Uvh DMCmdline__linux_noarch.17.11`.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.17.11.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.
    Solaris Sparc
    1. At the command line, type the following to install:

      gunzip tdm-solaris__solaris_sparc.17.11.xx.xx.tar.gz

      tar xvf tdm-solaris__solaris_sparc.17.11.xx.xx.tar

      pkgadd -d 'pwd' DMCmdline

    2. Answer the prompts as needed and press Enter to accept defaults where appropriate.
    3. Type pkginfo -l DMCmdline to verify the installation.
    IBM AIX
    1. At the command line, type the following to install:

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

      tar xvf tdm-aix__aix_power.17.11.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.17.11.xx.xx.tar.gz

      cd DMCmdline.17.11.xx.xx

      dpkg -i DMCmdline__ubuntu_all.17.11.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.