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 under 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

To install the Siebel Analytics Server software under UNIX

  1. Log in as the user that will be running 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.
  3. sainstall-apps

    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 applications Analytics
    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. The default port is 9703. This port number should match the port number specified in the parameter RPC_SERVICE_OR_PORT in the Server section in the configuration file NQSConfig.ini. If you change the port number in the configuration file, remember to reconfigure any affected ODBC data sources to use the new port number. For more information, see RPC_SERVICE_OR_PORT.

  4. From the setup directory INSTALLDIR/setup, run one of the following scripts.
  5. . sa.sh

    source sa.csh

  6. Verify your data sources in INSTALLDIR/setup/userodbc.reg.
  7. A sample exists in the file.

    [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"

    To verify this grammatically, run the following command:

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

  8. Put your database-related setup script in INSTALLDIR/setup/user.sh or INSTALLDIR/setup/user.csh, as appropriate.
  9. You must verify the validity of the database setup script, because it is called from the Siebel Analytics startup script.

    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

    #! /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

  10. 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, Version 7.5, Rev. C 
 Published: 18 April 2003