Chapter 3: Configuring Real-Time Data Services  Configuring Adaptive Server to communicate with TIBCO Rendezvous Server

Chapter 3: Configuring Real-Time Data Services

Configuring RTDS

To install RTDS feature, install Adaptive Server as you normally would, and entering your ASE_MESSAGING or SY_RTDS license keys. Follow the instructions in the installation guide for your platform. You must install Adaptive Server before you can configure RTDS.

StepsConfiguring RTDS

  1. Install the RTDS stored procedures:

    isql -i$SYBASE/$SYBASE_ASE/scripts/installmsgsvss
    
  2. Grant messaging_role to the appropriate Adaptive Server logins:

    grant role messaging_role to <login>
    
  3. Configure the server to use RTDS:

    sp_configure 'enable real time messaging', 1
    

    NoteLD_LIBRARY_PATH must be correct for this step to succeed. See Table 3-1 for information on how to set the shared library environment variables.

  4. Increase memory configuration:

    sp_configure 'messaging memory', <# of pages>
    

    The default value is 400 pages. Increase this value if your application requires more memory.

  5. Add the local server, if you have not already, then restart:

    sp_addserver <local server name>, local
    

    You must restart Adaptive Server for this command to take effect.

  6. Install the TIBCO EMS client libraries in your preferred location and define that location as TIBEMS_ROOT.

  7. Set the shared library search environment variable before you restart Adaptive Server. Table 3-1 lists the variables and the library names.

    Table 3-1: Shared library environment variables

    Platform

    Directory

    Library name

    AIX 64

    LIBPATH

    $TIBEMS_ROOT/clients/c/lib/64:$TIBEMS_ROOT/clients/c/lib

    HP 64

    SHLIB_PATH or LD_LIBRARY_PATH

    $TIBEMS_ROOT/clients/c/lib/64:$TIBEMS_ROOT/clients/c/lib

    Linux 32

    LD_LIBRARY_PATH

    $TIBEMS_ROOT/clients/c/lib

    Solaris 32

    LD_LIBRARY_PATH

    $TIBEMS_ROOT/clients/c/lib

    Solaris 64

    LD_LIBRARY_PATH

    $TIBEMS_ROOT/clients/c/lib/64:$TIBEMS_ROOT/clients/c/lib

    Windows 2000

    PATH

    %TIBEMS_ROOT%\clients\c\bin

    Table 3-2 shows the names of the client libraries.

    Table 3-2: Client libraries

    Platform

    Library name

    AIX 64

    libtibems64.so

    HP 64

    libtibems64.sl

    Linux 32

    libtibems.so

    Solaris 32

    libtibems.so

    Solaris 64

    libtibems64.so

    Windows 2000

    TIBEMS.DLL





Copyright © 2005. Sybase Inc. All rights reserved. Configuring Adaptive Server to communicate with TIBCO Rendezvous Server

View this book as PDF