Content Platform Engine, Version 5.2              

Configuring EMC Centera SDK environment variables

You must specify values for the environment variables so that Content Platform Engine can access the EMC Centera SDK library files.

To configure EMC Centera SDK environment variables:
  1. Locate the sample setup script on the Content Platform Engine installation media. The file name of the sample setup script depends on your operating system:
    Option Description
    AIX®, Solaris, HPUX, HPUXi,Linux, Linux on System z® setCenteraLibPath.sh
    Windows setCenteraLibPath.bat
  2. Modify the sample setup script as indicated in the following table:

    Note that the CENTERA_LIB_PATH variable needs to point to the library directory, not just the installation directory that contains the library directory.

    For example, if you have a 64-bit AIX system, and you change the destination installation path (install_path in the table below) from:

    /usr/local/Centera_SDK (the default)

    to:

    /usr/local/Centera/SDKvN.N.NNN

    then change the installation path of the AIX script to:

    /usr/local/Centera/SDKvN.N.NNN/lib/64

    Note that the actual location is appended with either lib/32 or lib/64 because the installation script creates both 32-bit and 64-bit library directories, and places them inside the lib directory.

    Table 1. Script revisions
    Operating System Script Revisions
    AIX From:
    CENTERA_LIB_PATH=/usr/local/Centera_SDK/lib/32
    LIBPATH=$LIBPATH:$CENTERA_LIB_PATH
    export LIBPATH
    to:
    CENTERA_LIB_PATH=
    install_path /lib/32
    or:
    CENTERA_LIB_PATH=
    install_path /lib/64
    Solaris From:
    CENTERA_LIB_PATH=/opt/Centera_SDK/lib/32
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
    		$CENTERA_LIB_PATH
    export LD_LIBRARY_PATH
    to:
    CENTERA_LIB_PATH=
    install_path /lib/32
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
    		$CENTERA_LIB_PATH
    export LD_LIBRARY_PATH
    or:
    CENTERA_LIB_PATH=install_path /lib/64
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
    		$CENTERA_LIB_PATH
    export LD_LIBRARY_PATH
    Linux, Linux for System z From:
    CENTERA_LIB_PATH=/usr/local/Centera_SDK/lib/32
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
    		$CENTERA_LIB_PATH
    export LD_LIBRARY_PATH
    to:
    CENTERA_LIB_PATH=install_path /lib/32
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
    		$CENTERA_LIB_PATH
    export LD_LIBRARY_PATH
    or:
    CENTERA_LIB_PATH=install_path /lib/64
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
    		$CENTERA_LIB_PATH
    export LD_LIBRARY_PATH
    HP-UX, HP-UXi From:
    CENTERA _LIB_PATH=/opt/Centera_SDK/lib/32 
    SHLIB_PATH=$SHLIB_PATH:$CENTERA_LIB_PATH
    export SHLIB_PATH
    to:
    CENTERA _LIB_PATH=install_path/lib/32
    SHLIB_PATH=$SHLIB_PATH:$CENTERA_LIB_PATH
    export SHLIB_PATH
    or:
    CENTERA _LIB_PATH=install_path/lib/64
    SHLIB_PATH=$SHLIB_PATH:$CENTERA_LIB_PATH
    export SHLIB_PATH
    Windows From:
    set CENTERA_LIB_PATH=C:\Centera_SDK\lib\32
    set PATH=%PATH%;%CENTERA_LIB_PATH%
    to:
    set CENTERA_LIB_PATH=install_path \lib\32
    set PATH=%PATH%;%CENTERA_LIB_PATH
    or:
    set CENTERA_LIB_PATH=install_path \lib\64
    set PATH=%PATH%;%CENTERA_LIB_PATH
  3. Copy the modified script text into one of the application server startup scripts shown in the following table, or save the updated script and call it from the application server startup script.
    Table 2. Startup scripts
    Application Server Startup Script (AIX, HPUX, HPUXi,, Linux, Linux for System z, Solaris) Startup Script (Windows)
    WebSphere® Application Server setupCmdLine.sh setupCmdLine.cmd
    Oracle WebLogic Server setDomainEnv.sh setDomainEnv.cmd
    JBoss Application Server run.sh run.bat
  4. Stop and start the application server instance.


Feedback

Last updated: October 2013
p8pin182.htm

© Copyright IBM Corporation 2013, 2014.
This information center is powered by Eclipse technology. (http://www.eclipse.org)