On DB2 OLAP Starter Kit, you can set up an instance as an OLAP
instance. When you set up an OLAP instance, the following environment
variables are set for the OLAP Integration Server:
ISHOME = <DB2 instance directory>/sqllib/is
LIBPATH = $ISHOME/bin,$ISHOME/odbclib
PATH = $ARBORPATH/bin,$ISHOME/bin,$ISHOME/odbclib
On DB2 OLAP Server, the installation program does not update the .cshrc or .profile environment files. Because the format of these files varies depending on the shell you use, you need to manually update the appropriate file for your system.
Refer to the essbaseenv.doc file when setting environment variables. This file contains the shared library information that you need to add to your global environment.
If you installed DB2 OLAP Server to /home/essbase, the essbaseenv.doc file contains this statement: ARBORPATH=/home/essbase
where home is the name of your home directory, and essbase is the name of the drive and directory where you installed DB2 OLAP Server.
Add this setting to your environment in the appropriate format for your system.
For example, in the C shell or Korn shell environment, you might add the following statement to your .cshrc environment file:
setenv ARBORPATH "/home/essbase"
In the Bourne shell environment, add this statement to your .profile environment:
ARBORPATH=/home/essbase; export ARBORPATH
Update your system's library path setting to include the $ARBORPATH/bin directory.
In the C shell or Korn shell environment, you might add the following statement to your .cshrc environment file:
setenv LIBPATH "$LIBPATH:$ARBORPATH/bin"
In the Bourne shell environment, add this statement to your .profile environment:
LIBPATH=$LIBPATH:$ARBORPATH/bin; export LIBPATH
In the C shell or Korn shell environment, you might add the following statement to your .cshrc environment file:
setenv LD_LIBRARY_PATH "/usr/openwin/lib:/usr/lib:$ARBORPATH/bin:$ARBORPATH/dlls"
In the Bourne shell environment, add this statement to your .profile environment:
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/lib:$ARBORPATH/bin:$ARBORPATH/dlls export LD_LIBRARY_PATH
In the C shell or Korn shell environment, you might add the following statement to your .cshrc environment file:
setenv SHLIB_PATH "$SHLIB_PATH:ARBORPATH/bin"
In the Bourne shell environment, add this statement to your .profile environment:
SHLIB_PATH=$SHLIB_PATH:$ARBORPATH/bin export LIBPATH
For HP-UX and Solaris Operating Environment, you might need to update the kernel configuration to a value of 64 or more. For example:
set shmsys:shminfo_shmseg=64 set semsys:seminfo_semume=64
Refer to Quick Beginnings for DB2 Universal Database for UNIX for information about updating kernal configuration parameters.
The following tips help you verify that your AIX environment variables in the .profile file are set correctly to run DB2 OLAP Server:
For convenience, you might want to issue a set path command so that you can quickly get to the DB2 OLAP Server directory.
For example, in the C shell or Korn shell environment:
set path=($path $ARBORPATH/bin)
In the Bourne shell environment:
PATH=$PATH:$ARBORPATH/bin; export PATH