Difference between revisions of "APEL/SSM2Configuration"

From EGIWiki
Jump to: navigation, search
(Storage Accounting)
 
(20 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 =
  
== CPU 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  ==
  
== Storage Accounting ==
+
If you want to send records to the production 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>/etc/apel/sender.cfg</code>  
 
Update the configuration file <code>/etc/apel/sender.cfg</code>
 
  
In the [messaging] section, instead of:
+
In the [broker] section:
<code>destination: /queue/ssm2test</code>
 
you need:
 
  
<code>destination: /queue/global.accounting.storagetest.CENTRAL</code>
+
<code>network: PROD</code><br>
 +
<code>use_ssl: True</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.cpu.central</code>
 
Update the configuration file <code>/etc/apel/sender.cfg</code>
 
  
In the [messaging] section, instead of:
+
== Cloud Accounting  ==
<code>destination: /queue/ssm2test</code>
 
you need:
 
  
<code>destination: /queue/global.accounting.storagetest.CENTRAL</code>
+
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>
 +
 +
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 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.