Difference between revisions of "APEL/Storage"
Line 9: | Line 9: | ||
[[APEL/Dcache|dcache]] | [[APEL/Dcache|dcache]] | ||
[https://svnweb.cern.ch/trac/lcgdm/wiki/Dpm/Dev/Recipes/EGI_APEL_Accounting DPM] - you need to run 1.8.7 or higher. On the command line which runs the script, add --site="your-GOCDB-sitename" | [https://svnweb.cern.ch/trac/lcgdm/wiki/Dpm/Dev/Recipes/EGI_APEL_Accounting DPM] - you need to run 1.8.7 or higher. | ||
The star-accounting.py is missing from the latest rpm. For now it can be found here http://svnweb.cern.ch/world/wsvn/lcgdm/lcg-dm/trunk/scripts/StAR-accounting/star-accounting.py | |||
On the command line which runs the script, add --site="your-GOCDB-sitename" | |||
[[APEL/SSM|SSM]] | [[APEL/SSM|SSM]] |
Revision as of 13:11, 2 January 2014
Storage accounting in APEL is based on the StAR (Storage Accounting Record) developed by EMI in conjuction with the OGF Usage Record Work Group (UR-WG).
EMI delivered StAR solutions for dcache and DPM in EMI-3.
In both cases the storage service queries its database at a site and extracts data to populate StAR usage records. The site then uses SSM as a transport method to send the StAR records across the EGI Messaging Service to APEL.
Deployment Instructions
DPM - you need to run 1.8.7 or higher. The star-accounting.py is missing from the latest rpm. For now it can be found here http://svnweb.cern.ch/world/wsvn/lcgdm/lcg-dm/trunk/scripts/StAR-accounting/star-accounting.py
On the command line which runs the script, add --site="your-GOCDB-sitename"
While this is still in test mode please send the HostDN to apel-admins@stfc.ac.uk and ask them to authorise you for storage publishing. Set use_SSL=false in the SSM config.
dcache and dpm should send one StAR record per VO. Please aet up a cron to run once per day.
When storage accounting moves to the productin message broker network then you will need to add a servicetype to GOCDB for the host which runs SSM. The servicetype is glite-APEL and it should include the HostDN.
Accounting Portal Prototype view