Difference between revisions of "APEL/SSMConfiguration"

From EGIWiki
Jump to: navigation, search
(Configuring the SSM)
(Cloud Accounting)
 
(3 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
This is currently being tested, if you want to send StAR records to the test server you should make the following changes:
 
This is currently being tested, if you want to send StAR records to the test server you should make the following changes:
 
   
 
   
Update the configuration file <code>ssm.cfg</code> default location is <code>/opt/apel/ssm/conf<code>
+
Update the configuration file <code>ssm.cfg</code> default location is <code>/opt/apel/ssm/conf</code>
  
 +
In the [producer] section, instead of:
 +
<code>topic: /topic/global.accounting.cpu.central</code>
 +
you need:
  
 +
<code>topic: /topic/global.accounting.storagetest.central</code>
  
=== Things you might want to change ===
+
== Cloud Accounting ==
  
# log file location:  
+
This is currently being tested, if you want to send Cloud Accounting records to the test server you should make the following changes:
## under the [handler_fileHandler] heading, change the line beginning 'args'.  
+
   
## the 'a' argument means that the log file is appended to.
+
Update the configuration file <code>ssm.cfg</code> default location is <code>/opt/apel/ssm/conf</code>
## '''beware!''' - the logging module won't expand environment variables, so you must use a full path
+
 
# logging levels for stomppy or SSM:
+
In the [producer] section, instead of:
## under the [logger_*] headings, change the line beginning 'level'.
+
<code>topic: /topic/global.accounting.cpu.central</code>
## the possible values are DEBUG, INFO, WARN, ERROR, CRIITICAL.
+
you need:
 +
 
 +
<code>topic: /topic/global.accounting.cloudtest.CENTRAL</code>
  
=== 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.
 
  
 
[[Category:Accounting]]
 
[[Category:Accounting]]

Latest revision as of 16:33, 30 October 2012

Configuring the SSM

The supplied configuration will send messages to the test server CPU accounting SSM.

However, if you need to configure something differently, here are the instructions:

CPU Accounting in Production

This should only be done, once successful testing on the test server has been done. Please contact the APEL team for the setup instructions: APEL-SUPPORT@JISCMAIL.CO.UK

Storage Accounting

This is currently being tested, if you want to send StAR records to the test server you should make the following changes:

Update the configuration file ssm.cfg default location is /opt/apel/ssm/conf

In the [producer] section, instead of: topic: /topic/global.accounting.cpu.central you need:

topic: /topic/global.accounting.storagetest.central

Cloud Accounting

This is currently being tested, if you want to send Cloud Accounting records to the test server you should make the following changes:

Update the configuration file ssm.cfg default location is /opt/apel/ssm/conf

In the [producer] section, instead of: topic: /topic/global.accounting.cpu.central you need:

topic: /topic/global.accounting.cloudtest.CENTRAL