APEL/Documentation

From EGIWiki
Jump to: navigation, search
Main EGI.eu 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.

http://goc-accounting.grid-support.ac.uk/rss/SITE-NAME_Sync.html

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

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.

ARC-CEs

To republish accounting data from ARC-CEs, please look at the official documentation (ARC 6.4 version and above): http://www.nordugrid.org/arc/arc6/admins/details/accounting-ng.html#republishing-records

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.