Installing Autonomy Servers

This section describes how to install and start Autonomy servers. The Autonomy files are located on the Enterprise Portal installation CD in the Search directory, as described in Chapter 1, “Overview.” The CD is read-only, so you need to copy the Search directory to a local directory and use it from there.

StepsPerforming the installation

  1. Extract the Autonomy file into the location where you want to install Autonomy. The command for extracting the file depends on the utility you are using.

    1. Use gunzip to extract the .gz file:

      gunzip Autonomy.tar.gz
      
    2. Extract the resulting tar file:

      tar -xvf Autonomy.tar
      

    NoteBe sure to check that the directory into which you untar has sufficient space available or some files may not be extracted.

    The expanded structure will consist of the autonomy parent directory and the necessary subdirectories. The full path of the autonomy directory, for example, /work1/autonomy, will be referred to as <Autonomy_Install_Dir>.

    In <Autonomy_Install_Dir>, the following three files are used to customize the installation in a later step: onepage.jar, CUSTOMIZE.sh, and DOREPLACE.sh.

  2. Verify that you have $JAVA_HOME/bin in your $PATH by entering:

    java -version
    

    If you receive “java: command not found,” or if the version shown is earlier than java 1.4, set JAVA_HOME to point to a 1.4 JRE or JDK. For example:

    setenv JAVA_HOME $SYBASE/_jvm
    

    Or:

    set JAVA_HOME=$SYBASE/_jvm;export JAVA_HOME
    

    Add the JAVA_HOME bin directory to your path:

    setenv PATH $JAVA_HOME/bin:$PATH
    
  3. Set up the Autonomy servers for your environment by running the CUSTOMIZE.sh, which in turn runs the DOREPLACE.sh script that sets variables in the Autonomy server configuration files and in the Start and Stop scripts.

    To run the script:

    1. Access <Autonomy_Install_Dir>.

    2. Run CUSTOMIZE.sh by entering:

      CUSTOMIZE.sh
      

      NoteThe DOREPLACE.sh executes a java command. If “which java” does not find java, set the $JAVA_HOME environmental variable to point to the java directory and edit the DOREPLACE.sh by replacing “java” with “$JAVA_HOME/bin/java”.

  4. To resolve a known problem with the NORE partition:

    1. Use the su command to change to the root user.

    2. From <Autonomy_Install_Dir>, run:

      NORElink.sh
      
    3. Exit root.

  5. Stop the EP PortalSearchqueryh and PortalSearchautoindexer if they are running.

  6. Go to <Autonomy_Install_Dir>/bin and use the .sh scripts to start the Autonomy servers in this order:

    StartQuery.sh
    StartLAUNESUIR.sh
    StartNORESUIR.sh
    StartLAUNE.sh
    StartNORE.sh
    StartCAP.sh
    StartFetch.sh
    StartIndexer.sh
    

NoteThe DiSH partition is neither licensed nor needed for proper portlet functionality.