To use ArcGIS with a Teradata database, install the following on the ArcGIS client machine:
- Teradata ICU library
- Teradata GSS client package
- Teradata ODBC driver
Teradata ODBC drivers can be downloaded from the Teradata website. The downloadable files include the Teradata GSS client and ICU library.
- For Windows, see http://downloads.teradata.com/download/connectivity/odbc-driver/windows.
- For Linux, see http://downloads.teradata.com/download/connectivity/odbc-driver/linux.
After the files are installed, configure an ODBC data source name.
- Install the Teradata ICU library and GSS client on the ArcGIS client machine.
- Install the Teradata ODBC driver on the ArcGIS client machine.
- Configure the ODBC driver.
- On Windows operating systems, change the following settings in the Teradata ODBC Driver Options dialog box:
- Set the session mode to Teradata.
- Select the option to Use Native Large Object Support.
- On Linux operating systems, set the following parameters in the odbc.ini file:
- SessionMode=Teradata
- UseNativeLOBSupport=Yes
- On Windows operating systems, change the following settings in the Teradata ODBC Driver Options dialog box:
- If connecting from an ArcGIS client on Linux, be sure a Linux ODBC driver manager is installed on the client machine.
- If you are connecting from ArcGIS for Server Linux, do the following:
- Open the init_user_param.sh script found in the /arcgis/server/usr directory of the ArcGIS Server installation directory.
- Uncomment and set the LIB_ODBC_DRIVER_MANAGER, TDDIR, LD_LIBRARY_PATH, and ODBCINI variables under the Teradata section.
For example, to set the LIB_ODBC_DRIVER_MANAGER variable to the location of the libodbc.so file from the installation location of the Teradata ODBC driver manager, set export LIB_ODBC_DRIVER_MANAGER=/OPT/TERADATA/LIBODBC.SO.
- Place the Teradata ODBC connection files in the ArcGIS Server account's $HOME directory. The files must be named .odbc.ini and .odbcinst.ini.
- If ArcGIS Server was already running before you set up the Teradata connection, restart ArcGIS Server.
- After the ODBC driver is installed, set up an ODBC data source name.
The ODBC data source name is used when connecting to the database from ArcGIS.
Use the same name when configuring all Teradata ODBC clients that connect to that same database. For example, if you configure a data source name for the Teradata ODBC driver on your ArcGIS for Desktop machine, set the same data source name for the Teradata ODBC driver on your ArcGIS Server machine. If you do not do this, registration of the database with ArcGIS Server will not work properly, as it compares the connection strings of the data being published and the database that is registered.
- On Windows, set the PATH environment variable to the directory where the Teradata ODBC driver is installed.