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)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
= Sending Data to the APEL Production Server =
= 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.  
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  ==
Line 14: Line 14:


<code>network: PROD</code><br>
<code>network: PROD</code><br>
<code>use_ssl: True</code>
In the [messaging] section:


<code>destination: /queue/global.accounting.cpu.central</code>
== Cloud Accounting  ==
If you want to send Cloud Accounting records to the production 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: True</code>  
<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:  
In the [messaging] section:  


<code>destination: /queue/global.accounting.cpu.central</code>
<code>destination: /queue/global.accounting.storage.central</code>  
 
See also [[APEL/Storage]].


= 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, '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  ==
== CPU Accounting  ==
Line 39: Line 70:
== Storage Accounting  ==
== Storage Accounting  ==


This is currently being tested, if you want to send StAR records to the test server you should make the following changes:  
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>  
Update the configuration file <code>/etc/apel/sender.cfg</code>  
Line 49: Line 80:
<code>destination: /queue/global.accounting.test.storage.central</code>  
<code>destination: /queue/global.accounting.test.storage.central</code>  


 
See also [[APEL/Storage]].
<br>


----
----

Latest revision as of 15: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.