Follow the steps below to configure the DataDirect Cloud 2.0 ODBC Driver on Linux:
1.After downloading the required ODBC driver , follow the step by step instruction from the DataDirect Cloud driver Installation PDF
2. Modify the ODBC.ini file located in the directory where the DataDirect Cloud ODBC driver was installed:
- DataDirect Cloud=DataDirect Cloud 2.0
- IANAAppCodePage=4
- InstallDir=/home/rrahate/DataDirect/Cloud_for_ODBC_20
- Trace=0
- TraceFile=odbctrace.out
- TraceDll=/home/rrahate/DataDirect/Cloud_for_ODBC_20/lib/ivtrc27.so
- Driver=/home/rrahate/DataDirect/Cloud_for_ODBC_20/lib/ivd2c01.so
- Description=DataDirect Cloud 2.0
- Database= datadirectsalesforceDSN <Name of the data source created in DataDirect cloud>
- DataSourceName= linuxtodatadirectconnetion
- LogonID= <Enter the DataDirect cloud login id here>
- Password= <Enter password for DataDirect cloud here>
- ClientTimeZone=America/New_York <If this is left blank, it defaults to system time zone Eg. America/New York Note: The missing _ in New York will throw an error>
- DataSourceUser=
- DataSourcePassword=
- ProxyHost=
- ProxyPort=
- ProxyUser=
- ProxyPassword=
- TransactionMode=0
- WSRetryCount=3
- WSTimeout=120
- LogonDomain=
- LoginTimeout=30
- QueryTimeout=0
- ApplicationUsingThreads=1
- ReportCodepageConversionErrors=0
3. Save and close the ODBC.ini file.
4.Add settings for enviorment variables by manually adding the following entry to the end of the <MSTR HOME>/env/ODBC.sh file:
- #
- #ODBC Driver for DataDirect Cloud
- #
- DataDirectCloud_PATH='/home/rrahate/DataDirect/Cloud_for_ODBC_20/lib' <Path of the Lib subfolder located in the folder containing the DataDirect Cloud driver >
- if ; then
- export DataDirectCloud_PATH
- mstr_append_path LD_LIBRARY_PATH "${DataDirectCloud_PATH:?}"
- export LD_LIBRARY_PATH
- fi
5. Save and close the ODBC.sh file.
6. Create a DSN to DataDirect Cloud 2.0 by manually adding the following entry to the Strategy ODBC.ini file (this file is located in the Home Directory of the Strategy installation on Linux):
7.Save and close the odbcinst.ini file.
8.Copy the message files from locale\en_US\LC_MESSAGES located in the DataDirect Cloud driver folder into install\locale subfolder for Strategy
9. Copy the SSL certificates folder located in the DataDirect Cloud driver folder into install folder where you downloaded Strategy.
Third Party Software Installation WARNING
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
- DataDirect Cloud=DataDirect Cloud 2.0
- Driver=/home/rrahate/DataDirect/Cloud_for_ODBC_20/lib/ivd2c01.so
- Description=DataDirect Cloud 2.0
- Database= datadirectsalesforceDSN <Name of the data source created in DataDirect cloud>
- DataSourceName= linuxtodatadirectconnetion
- LogonID= <Enter the DataDirect cloud login id here>
- Password= <Enter password for DataDirect cloud here>
- ClientTimeZone=America/New_York <If this is left blank, it defaults to system time zone Eg. America/New York Note: The missing _ in New York will throw an error>
- DataSourceUser=
- DataSourcePassword=
- ProxyHost=
- ProxyPort=
- ProxyUser=
- ProxyPassword=
- TransactionMode=0
- WSRetryCount=3
- WSTimeout=120
- LogonDomain=
- LoginTimeout=30
- QueryTimeout=0
- ApplicationUsingThreads=1
- ReportCodepageConversionErrors=0