Siebel Analytics Installation and Configuration Guide > Installing Siebel Analytics Software in the UNIX Environment > Installing and Configuring Siebel Analytics Components >

Installing the Siebel Analytics Server


This section explains how to install the Siebel Analytics Server software on UNIX. For instructions to install other Siebel Analytics components on Windows, refer to Installing Siebel Analytics Software in the Windows Environment.

In UNIX the default installation directory is /usr/local/SiebelAnalytics. The following steps refer to this location as $INSTALLDIR. (You may need to contact your administrator to create this directory and give you write permission.)

NOTE:  The user ID used with the Analytics Web component must have the same permissions as the user ID used by the Web server. Using the same login for both is recommended.

Running the Installer

The following procedure explains how to install the Siebel Analytics software on UNIX.

To install the Siebel Analytics Server software on UNIX

  1. Log in as the user that runs the Analytics processes, insert the Siebel Analytics Server installation CD-ROM, and change to the directory where the installation CD-ROM is mounted.
  2. Run one of the following installers.
    • For Analytics applications, run:

    sainstall-apps

    • For Stand-Alone Analytics, run:

    sainstall

    The installation script has various prompts and default answers to prompts. The prompts and their defaults and meanings (for all options) are shown in the table.

    Prompt
    Default
    Notes
    Language for error messages
    1. (English-US)
    The last option (19. Abort) exits the program.
    Setup type
    5. (Everything)
    The setup type chosen determines which subsequent prompts appear.
    Default Siebel Analytics root directory
    /usr/local/SiebelAnalytics
     
    Siebel Analytics Server listener port number
    9703
     
    Cache Location
    /usr/local/SiebelAnalytics/Data/Cache
     
    Turn on cache
    Y
    If you choose n (No), the program skips directly to the Extracting components step.
    Size of the Cache
    500 MB for Analytics applications
    100 MB for Stand-Alone Analytics
     
    Machine running PopChart Server
    localhost
     
    Port for PopChart Server
    81
    The steps requesting the PopChart Server machine name refer to Installing and Configuring Corda PopChart Image Server.
    Siebel Analytics Server name
    local
    Local is the same as localhost.

    NOTE:  The value for Port must be the TCP/IP port the Siebel Analytics Server is using for client/server communications. For more information, see RPC_SERVICE_OR_PORT.

  3. From the setup directory $INSTALLDIR/setup, run one of the following scripts:
    • If you are using sh or bash, run

    . sa.sh

    • If you are using csh, run

    source sa.csh

  4. Verify your data sources in $INSTALLDIR/setup/userodbc.reg.

    For example:

    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\AnalyticsWeb]

    "Driver"="/usr/local/SiebelAnalytics/Bin/libnqsodbc.so"

    "Description"="Siebel Analytics Server"

    "ServerMachine"="LOCAL"

    "Catalog"=""

    "UID"=""

    "PWD"=""

    "Repository"=""

    "Port"="9703"

  5. To update the registry and verify this grammatically, run the following command:

    regedit -c -s $INSTALLDIR/setup/userodbc.reg

    All of the registry files (.reg extension) can be manually imported into the registry using the regedit command. These are examples:

    • To display the Registry Editor console, type regedit.
    • To update the registry in silent mode, type regedit -c -s nnn.reg where nnn is the name of the registry.

      NOTE:  Manual changes to the registry may be overwritten by scripts. You should make all changes in the registry files, and then use the console to verify the changes.

  6. Put your database-related setup script in $INSTALLDIR/setup/user.sh or $INSTALLDIR/setup/user.csh, as appropriate.

    You must verify the validity of the database setup script, because it is called from the Siebel Analytics startup script.

    • Sample 1 (excerpts):

    setenv ORACLE_HOME /export/home/oracle/8.1.7
    setenv ORACLE_SID orcl
    setenv TNS_ADMIN ${ORACLE_HOME}/network/admin
    setenv PATH ${ORACLE_HOME}/bin:/opt/bin:${PATH}
    setenv LIBPATH ${ORACLE_HOME}/lib:${LIBPATH}:/opt/j2se/jre/lib/rs6000
    setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}:/opt/j2se/jre/lib/sparc
    setenv DB2DIR /usr/lpp/db2_07_01
    setenv DB2INSTANCE qauser7a
    setenv INSTHOME /home/qa-sm/qauser7a
    setenv SQLLIB /home/qa-sm/qauser7a/sqllib
    if ( -f $SQLLIB/db2cshrc ) source $SQLLIB/db2cshrc
    setenv JAVA_HOME /usr/java_dev2
    setenv LD_LIBRARY_PATH $DB2DIR/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH

    • Sample 2 (excerpts):

    #! /usr/bin/csh
    setenv ORACLE_HOME /opt/oracle/8.1.6c
    setenv ORACLE_SID orcl
    setenv TNS_ADMIN ${ORACLE_HOME}/network/admin
    setenv PATH ${ORACLE_HOME}/bin:/opt/bin:${PATH}
    setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}:/opt/j2se/jre/lib/sparc

  7. Run sa-init.sh or sa-init.csh to configure (for a new installation) or to reconfigure the registry entries with your changes to the registry files, such as userodbc.reg.

 Siebel Analytics Installation and Configuration Guide
 Published: 09 September 2004