Difference between revisions of "APEL/SSMConfiguration"

From EGIWiki
Jump to: navigation, search
Line 1: Line 1:
Back to [[APEL/SSM]]
* Back to [[APEL/SSM]]
= Configuring the SSM =
= Configuring the SSM =

Revision as of 11:15, 16 February 2012

Configuring the SSM

The SSM has two configuration files, located in $SSM_HOME/conf.

We try to make the supplied configuration work without any changes. However, if you'd like to configure something differently, it should be simple.


This is in the python ConfigParser format - see http://docs.python.org/library/configparser.html.

Things you might want to change

Connection details

There are two ways the SSM can find details of a broker to connect to. One is using the EGI broker networks, the other is specifying host and port of a specific broker.

  1. pidfile location
  2. Certificate location - hopefully this should be obvious
  3. messagedb location

Things you probably don't want to change

  1. Consumer configuration - you probably don't want to receive messages
  2. Producer configuration
    1. The default topic will be the one we're listening to
    2. The default consumer DN will be the one of our server
    3. The ack topic can be anything, but needs to be unique to your SSM. The default is probably fine


This is in the standard python logging module's format.

Things you might want to change

  1. log file location:
    1. under the [handler_fileHandler] heading, change the line beginning 'args'.
    2. the 'a' argument means that the log file is appended to.
    3. beware! - the logging module won't expand environment variables, so you must use a full path
  2. logging levels for stomppy or SSM:
    1. under the [logger_*] headings, change the line beginning 'level'.
    2. the possible values are DEBUG, INFO, WARN, ERROR, CRIITICAL.

Things you probably don't want to change

Everything else. If you know the python logging system, you can configure the logging as you like - see http://docs.python.org/library/logging.config.html.