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.
- 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
- Run the command: source /etc/profile
- Verify that the output shows JRE.11.0:java -version
- 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.
- Install the appropriate DMCmdline software package for your system as follows:
Operating System Actions Linux (for non-Teradata servers) - At the command line, type export DM_INTERACTIVE_INSTALL=1 to set the environment variable for interactive install.
- 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
- Answer the prompts as needed and press Enter to accept the defaults where appropriate.
- Type rpm -qa |grep DMCmdline to verify the installation.
Windows - Copy the Data Mover directory on the media to a folder on the hard drive.
- Go to DataMover/Windows and unzip tdm-windows__windows_i386.20.00.xx.xx.zip.
- Go to the DISK1 directory and run setup.exe.
- Answer the prompts as needed and press Next to accept defaults where appropriate.
- Select Install when finished.
- Go to to verify installation.
IBM AIX - 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
- Answer the prompts as needed and press Enter to accept defaults where appropriate.
- Type lslpp -l "DM*" to verify the installation.
Ubuntu - At the command line, type export DM_INTERACTIVE_INSTALL=1 to set the environment variable for interactive install.
- 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.debIn Ubuntu, -i is used for both install and upgrade. - Answer the prompts as needed and press Enter to accept the defaults where appropriate.
- Type dpkg -l |grep dmcmdline to verify the installation.
- 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.
- 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.