Chapter 3: Configuring Real Time Messaging Services  Configuring Adaptive Server for MQ

Chapter 3: Configuring Real Time Messaging Services

Configuring RTMS

To install Sybase RTMS, simply install Adaptive Server, including an RTMS requires an ASE_MESSAGING license. Follow the instructions in the installation guide for your platform. You must install Adaptive Server before you can configure RTMS.

StepsConfiguring RTMS

  1. Install the RTMS 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 RTMS:

    sp_configure 'enable real time messaging', 1
    

    NoteLD_LIBRARY_PATH must be correct for this step to succeed.

  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. If you are using MQ, configure Q engines—which are Adaptive Server engines that perform only MQ client API calls—and restart:�

    �sp_configure "max online engines", 11�
    sp_configure "max online Q engines", 1�
    sp_configure "number of Q engines at startup", 1�
    

    If the existing max online engines parameter is set to 10, this example sets it to� 11 to allow one Q engine.





Copyright © 2005. Sybase Inc. All rights reserved. Configuring Adaptive Server for MQ

View this book as PDF