SQL Server instructions for Linux
Procedure
-
Define the ODBCINI, LD_LIBRARY_PATH JVM variable to Cognos® Server. Add this variable to JVM environment variable list as
follows:
- Log into the WebSphere® Application Server Integrated Solutions Console of the Cognos BI Server.
- Click Servers > Server Types > WebSphere application servers.
- Click the link of the Cognos server.
- Click JAVA and then select Process Management > Process definition > Environment Entries.
-
Add or edit entries as needed, such as:
ODBCINI=/root/.odbc.ini LD_LIBRARY_PATH =Cognos_BI_install_path/bin64: /opt/Progress/DataDirect/Connect_for_ODBC_71/lib/
- Restart the Cognos BI Server.
-
Follow the same steps as previously described to add an additional entry:
LD_PRELOAD = /usr/lib64/libfreebl3.so
-
Make sure the ODBCINI, LD_LIBRARY_PATH environment variable is set before
building a cube.
- Run the following commands first before manually running the script to build cube. For
example:
export ODBCINI=/root/.odbc.ini export LD_LIBRARY_PATH =/opt/Progress/DataDirect/Connect_for_ODBC_71/lib/
- Use the following command to edit the cron jobs to set the
ODBCINI, LD_LIBRARY_PATH
on Linux™,LIBPATH
on AIX® for scheduled cube generation tasks,
For example, change both daily-refresh.sh and weekly-rebuild.sh cron jobs from:crontab -e
To:05 00 * * 1-6 /opt/IBM/Cognos/metricsmodel/daily-refresh.sh 05 00 * * 0 /opt/IBM/Cognos/metricsmodel/weekly-rebuild.sh
05 00 * * 1-6 export ODBCINI=/root/.odbc.ini:export LD_LIBRARY_PATH =/opt/Progress/DataDirect/Connect_for_ODBC_71/lib/: /opt/IBM/Cognos/metricsmodel/daily-refresh.sh 05 00 * * 0 export ODBCINI=/root/.odbc.ini:export LD_LIBRARY_PATH =/opt/Progress/DataDirect/Connect_for_ODBC_71/lib/: /opt/IBM/Cognos/metricsmodel/weekly-rebuild.sh
- Run the following commands first before manually running the script to build cube. For
example: