Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

APEL/SSMInstallation

From EGIWiki
< APEL
Revision as of 17:19, 13 April 2011 by Wrogers (talk | contribs)
Jump to navigation Jump to search

The Secure Stomp Messenger (SSM) is used to transmit arbitrary messages using the STOMP protocol. For a description, see SSM Overview.

Installing the SSM

PLEASE NOTE THIS IS NOT PRODUCTION-LEVEL SOFTWARE This software is distributed as an example and for testing

You can't currently download a version of the code, but if you would like a zip file please email apel-admins@mailtalk.ac.uk and we will send you a version.

Unzip the file into a directory, which is denoted as $HOME below.

Configure the SSM

cd $HOME/apel/src/ssm

The configuration file is in ssm.cfg. The SSM will be a producer, so the consumer section can be left out or given dummy values - it doesn't hurt. The file is well commented, it should be straightforward. In this file configure:

  • the broker to use (host: dev.msg.cern.ch port: 6163 for testing purposes)
  • the message store (suggest: $HOME/ssm)
  • the certificate/key settings and CA directory
  • the topic to send to (/topic/grid.accounting.cpuTest.CENTRAL)
  • The DN of the consumer that messages are sent to(consumerDN: /C=UK/O=eScience/OU=CLRC/L=RAL/CN=rap.esc.rl.ac.uk/emailAddress=sct certificates@rl.ac.uk

)

  • The acknowledgment topic; a sensible default is already used.

To run the SSM:

cd apel/src/ssm ./ssm-master.py