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
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
* Back to [[APEL/SSM]]
* Back to [[APEL/SSM]]


= Configuring SSM 2 =
= Sending Data to the APEL Production Server =


For messages to be accepted by the APEL server, '''you must have provided the DN of your host certificate to the APEL team: email apel-ssm-test@jiscmail.ac.uk'''
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, 'eu.egi.cloud.accounting' for Cloud Accounting, or 'eu.egi.storage.accounting' for Storage Accounting.


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


This section will be added soon.
If you want to send records to the production server, you should make the following changes:


== Storage Accounting ==
Update the configuration file <code>/etc/apel/sender.cfg</code>


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


In the [messaging] section, instead of:
<code>network: PROD</code><br>
<code>destination: /queue/ssm2test</code>
<code>use_ssl: True</code>  
you need:


<code>destination: /queue/global.accounting.storagetest.CENTRAL</code>
In the [messaging] section:  


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


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


In the [messaging] section, instead of:
If you want to send Cloud Accounting records to the production server, you should make the following changes:  
<code>destination: /queue/ssm2test</code>
you need:


<code>destination: /queue/global.accounting.cloudtest.CENTRAL</code>
Update the configuration file <code>/etc/apel/sender.cfg</code>  


In the [broker] section:
<code>network: PROD</code><br>
<code>use_ssl: True</code>
In the [messaging] section, you need:
<code>destination: /queue/global.accounting.test.cloud.central</code> - This looks like a test queue and is like this for historical reasons. It will be changed at some point in the future.
== Storage Accounting  ==
If you want to send production StAR records to the server you should make the following changes:
Update the configuration file <code>/etc/apel/sender.cfg</code>
In the [broker] section:
<code>network: PROD</code><br>
<code>use_ssl: False</code>
In the [messaging] section:
<code>destination: /queue/global.accounting.storage.central</code>
See also [[APEL/Storage]].
= 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, 'eu.egi.cloud.accounting' for Cloud Accounting, or 'eu.egi.storage.accounting' for Storage 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  ==
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: <code>network: PROD</code>
In the [messaging] section:
<code>destination: /queue/global.accounting.test.cpu.central</code>
== Storage Accounting  ==
If you want to send test StAR records to the server you should make the following changes:
Update the configuration file <code>/etc/apel/sender.cfg</code>
In the [broker] section: <code>network: PROD</code>
In the [messaging] section:
<code>destination: /queue/global.accounting.test.storage.central</code>
See also [[APEL/Storage]].
----
*'''Previous:''' [[APEL/SSM2Installation|Installing SSM2]]
*'''Next:''' [[APEL/SSM2AddingFiles|Adding files to SSM2]]


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

Latest revision as of 14:42, 1 August 2017

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, 'eu.egi.cloud.accounting' for Cloud Accounting, or 'eu.egi.storage.accounting' for Storage 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

Cloud Accounting

If you want to send Cloud Accounting 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, you need:

destination: /queue/global.accounting.test.cloud.central - This looks like a test queue and is like this for historical reasons. It will be changed at some point in the future.

Storage Accounting

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

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

In the [broker] section:

network: PROD
use_ssl: False

In the [messaging] section:

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

See also APEL/Storage.

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, 'eu.egi.cloud.accounting' for Cloud Accounting, or 'eu.egi.storage.accounting' for Storage 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

If you want to send test StAR records to the 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

See also APEL/Storage.