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 @


From EGIWiki
Revision as of 11:35, 8 February 2018 by imported>Acatstfc
Jump to navigation Jump to search
Main operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security

Republishing Accounting Data to APEL

Do I need to republish?

For grid accounting, APEL has 'Sync Tests' to confirm that the central repository has the same number of jobs that you do locally.

To find your site's Sync Test, follow this link after replacing SITE-NAME with your GOCDB site name.

If your Sync Tests are showing an ERROR for a given month, you will need to republish.

Because republishing sends a months’ worth (or more) of accounting data, it can affect the central repositories' QoS. We ask that you open a GGUS ticket to the APEL support unit checking it is okay to republish. We should also be able to tell you what CE's need republishing. For each type of CE that needs republishing, please see the appropriate subsection below.


CREAM-CEs use the APEL Client to extract accounting data and send it to the central repository. To republish, you will need to set 'interval = gap' in your client.cfg and to set the start and end of the range you want to republish by setting 'gap_start' and 'gap_end'.

Then run /usr/bin/apelclient to send the data.

Remember to revert the config once you have republished successfully.


To republish accounting data from ARC-CEs, you need to use the JURA command line tool as below; where <archive dir> is the directory ARC keeps it accounting data, typically /var/spool/arc/

jura -u APEL: -r <start time>-<end time> <archive dir>

For full details on the JURA tool, see

I have republished, but the Sync Tests are still failing

It may take 24 hours for the new data to propagate to the Sync Tests. If over 24 hours have passed and the Sync Tests still show an ERROR, there may be a configuration error that the APEL team can help you debug.