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.

Difference between revisions of "APEL/SSM2Configuration"

From EGIWiki
Jump to navigation Jump to search
(Removed Cloud accounting section as it belongs in production)
Line 21: Line 21:
<code>destination: /queue/global.accounting.cpu.central</code>
<code>destination: /queue/global.accounting.cpu.central</code>


= Sending Data to the APEL Test Server =
= Sending Data to the APEL Test Server =


If you wish to send data to the APEL test server, your host must be registered in GOCDB with the relevant service type and the HostDN field filled in. Use the service types 'gLite-APEL' for CPU Accounting or 'eu.egi.cloud.accounting' for Cloud Accounting. Alternatively, if you are sending data from an unregistered host '''you must have provided the DN of your host certificate to the APEL team: [mailto:apel-admins@stfc.ac.uk apel-admins@stfc.ac.uk]'''
If you wish to send data to the APEL test server, your host must be registered in GOCDB with the relevant service type and the HostDN field filled in. Use the service types 'gLite-APEL' for CPU Accounting or 'eu.egi.cloud.accounting' for Cloud Accounting. Alternatively, if you are sending data from an unregistered host '''you must have provided the DN of your host certificate to the APEL team: [mailto:apel-admins@stfc.ac.uk apel-admins@stfc.ac.uk]'''  


== CPU Accounting ==
== CPU Accounting ==


If you want to send records to the test server you should make the following changes:
If you want to send records to the test server you should make the following changes:  
Update the configuration file <code>/etc/apel/sender.cfg</code>


In the [broker] section:
Update the configuration file <code>/etc/apel/sender.cfg</code>  
<code>network: PROD</code>


In the [messaging] section:
In the [broker] section: <code>network: PROD</code>


<code>destination: /queue/global.accounting.test.cpu.central</code>
In the [messaging] section:  


== Storage Accounting ==
<code>destination: /queue/global.accounting.test.cpu.central</code>


This is currently being tested, if you want to send StAR records to the test server you should make the following changes:
== Storage Accounting ==
   
Update the configuration file <code>/etc/apel/sender.cfg</code>


In the [broker] section:
This is currently being tested, if you want to send StAR records to the test server you should make the following changes:  
<code>network: PROD</code>


In the [messaging] section:
Update the configuration file <code>/etc/apel/sender.cfg</code>


<code>destination: /queue/global.accounting.test.storage.central</code>
In the [broker] section: <code>network: PROD</code>  


== Cloud Accounting ==
In the [messaging] section:


This is currently being tested, if you want to send Cloud Accounting records to the test server you should make the following changes:
<code>destination: /queue/global.accounting.test.storage.central</code>  
Update the configuration file <code>/etc/apel/sender.cfg</code>


In the [broker] section needs to have:
<code>network: PROD</code>


In the [messaging] section, you need:
<br>


<code>destination: /queue/global.accounting.test.cloud.central</code>
----


 
*'''Previous:''' [[APEL/SSM2Installation|Installing SSM2]]  
----
*'''Next:''' [[APEL/SSM2AddingFiles|Adding files to SSM2]]
* '''Previous:''' [[APEL/SSM2Installation|Installing SSM2]]
* '''Next:''' [[APEL/SSM2AddingFiles|Adding files to SSM2]]


[[Category:Accounting]]
[[Category:Accounting]]

Revision as of 13:44, 5 November 2015

Sending Data to the APEL Production Server

If you wish to send data to the APEL production server, your host must be registered in GOCDB with the relevant service type and the HostDN field filled in. Use the service types 'gLite-APEL' for CPU Accounting or 'eu.egi.cloud.accounting' for Cloud Accounting.

CPU Accounting

If you want to send records to the production server, you should make the following changes:

Update the configuration file /etc/apel/sender.cfg

In the [broker] section:

network: PROD

use_ssl: True

In the [messaging] section:

destination: /queue/global.accounting.cpu.central

Sending Data to the APEL Test Server

If you wish to send data to the APEL test server, your host must be registered in GOCDB with the relevant service type and the HostDN field filled in. Use the service types 'gLite-APEL' for CPU Accounting or 'eu.egi.cloud.accounting' for Cloud Accounting. Alternatively, if you are sending data from an unregistered host you must have provided the DN of your host certificate to the APEL team: apel-admins@stfc.ac.uk

CPU Accounting

If you want to send records to the test server you should make the following changes:

Update the configuration file /etc/apel/sender.cfg

In the [broker] section: network: PROD

In the [messaging] section:

destination: /queue/global.accounting.test.cpu.central

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 /etc/apel/sender.cfg

In the [broker] section: network: PROD

In the [messaging] section:

destination: /queue/global.accounting.test.storage.central