1 / 14

Grid Operations Centre LCG Accounting

Grid Operations Centre LCG Accounting. Trevor Daniels, John Gordon GDB 8 Mar 2004. LCG Accounting Overview. PBS log processed daily on site CE to extract required data, filter acts as R-GMA DBProducer -> PbsRecords table

sora
Download Presentation

Grid Operations Centre LCG Accounting

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Grid Operations CentreLCG Accounting Trevor Daniels, John Gordon GDB 8 Mar 2004

  2. LCG Accounting Overview • PBS log processed daily on site CE to extract required data, filter acts as R-GMA DBProducer -> PbsRecords table • Gatekeeper log processed daily on site CE to extract required data, filter acts as R-GMA DBProducer -> GkRecords table • Job Manager log processed daily on site CE to extract required data, filter acts as R-GMA DBProducer -> PbsJobIds • Site GIIS interrogated daily on site CE to obtain SpecInt and SpecFloat values for CE, acts as DBProducer -> SpecRecords table, one dated record per day • These four tables joined daily on MON to produce LcgRecords table. As each record is produced program acts as StreamProducer to send the entries to the LcgRecords table on the GOC site. • Site now has table containing its own accounting data; GOC has aggregated table over whole of LCG. • Interactive and regular reports produced by site or at GOC site as required. Trevor.Daniels@rl.ac.uk

  3. LCG Accounting Flow LCG Site GOC Site LCG Site LCG Site site GIIS CE MON MON Reports filter filter Accounting DB filter GOC PBS log gk log Trevor.Daniels@rl.ac.uk

  4. Changes to GK Logs • The way in which the gatekeeper records information relevant to accounting was changed in LCG1_1_1_0 issued on 24 Oct 2003 when the lcgpbs job manager was introduced. The implications of this change were not communicated to GOC, and they were not discovered until February during integration tests of the final system with live data. The code had been developed using the earlier log formats, and required substantial changes to accommodate the new formats. • An extra log file now has to be processed to generate a fourth intermediate table which then has to entered into the final 4-table join. • The code to do this has been designed and is now being written. • The result is a delay in deploying the software of perhaps 2 weeks. Trevor.Daniels@rl.ac.uk

  5. R-GMA Infrastructure • The Grid Deployment Area meeting on 23 Feb 2004 discussed the requirement to deploy an R-GMA infrastructure. It was needed for the immediate applications of accounting, network monitoring and CMS monitoring. • It was proposed that RAL would provide effort to package, deploy and support R-GMA and work with the Deployment Team to achieve this. This was agreed, with a target of end-March for deployment to a few test sites following certification on the CERN testbed. • RAL would also assist with installing and testing the applications, particularly accounting. Trevor.Daniels@rl.ac.uk

  6. Interim Arrangements • Until R-GMA becomes operational throughout LCG, RAL will make arrangements to upload accounting files to the GOC system so they may be processed there. • All sites have been instructed to preserve the relevant logs from 1 Feb 2004 until they can be uploaded. • A script has been written to automate the uploading of the required files. These are • the gzipped globus gatekeeper logs in /var/log/ • the gzipped gatekeeper job manager messages files in /var/log • the pbs log files in /var/spool/pbs/server_priv/accounting/ • The script has been packaged and will shortly be deployed to a few test sites. • The files will be uploaded to a set of directories on the GOC system using a mutually authenticated transfer to ensure that the files in a particular directory can only come from the CE associated with that directory. Trevor.Daniels@rl.ac.uk

  7. Progress • Status on 2 Mar 2004: • The code to extract data from the pbs and gk logs and to obtain the estimate of CE power is written, working and tested • Code to extract the mapping from GK JM ID to pbs jobID from the job manager messages and globus gatekeeper logs is being written • Scripts to automate the uploading of files to GOC are written, packaged and awaiting deployment • Directory structure at GOC to receive files is set up - • Logs are being preserved from 1 Feb for later processing – Some lost • An option flag has been added to suppress the publication of the DN if sites are unable to do this due to data protection or privacy laws • To do: • Complete rewriting of accounting client following log change - Done (5/3) • Package accounting client for deployment – 3 days • Write the report generators – 30 days (estimate – they are not yet designed) Trevor.Daniels@rl.ac.uk

  8. Trevor.Daniels@rl.ac.uk

  9. Trevor.Daniels@rl.ac.uk

  10. Trevor.Daniels@rl.ac.uk

  11. Remaining Issues • The VO associated with a user is not available in the batch or gatekeeper logs. It will be assumed that the group ID used to execute user jobs, which is available, is the same as the VO name. This needs to be acknowledged as an LCG requirement. • The global jobID assigned by the Resource Broker is not available in the batch or gatekeeper logs. This global jobID cannot therefore appear in the accounting reports. The RB Events Database contains this, but that is not accessible nor is it designed to be easily processed. • At present the logs provide no means of distinguishing sub-clusters of a CE which have nodes of differing processing power. Changes to the information logged by the batch system will be required before such heterogeneous sites can be accounted properly. At present it is believed all sites are homogeneous. Trevor.Daniels@rl.ac.uk

  12. LcgRecords Table • Where possible, the fieldnames in the LcgRecords table have been chosen to correspond with the schema developed by the Global Grid Forum’s Usage Record Working Party. There is one record per job. • SiteName site at which the job executed • JobName (as known to the executing site) • LocalUserID (as known to the executing site for that job) • GlobalUserName submitting user’s Distinguished Name • ProjectName user’s Groupname; assumed to be VO name • WallDuration elapsed time while job was running • CpuDuration cpu time used by job • EndTime time job finished} { in ISO 8601 format .. • StartTime time job started } { ..local time and UTC • SubmitHost domain name of CE • MemoryReal real memory used • MemoryVirtual virtual memory used • SpecInt2000 of Cluster/SubCluster associated with CE • SpecFloat2000 of Cluster/SubCluster associated with CE Trevor.Daniels@rl.ac.uk

  13. Accounting Reports • The way in which the accounting records will be summarised in reports has not yet been designed in detail. The following show our current thoughts, and comments from GDB on these points would be helpful: • Regular summary reports (monthly?) will be published automatically showing usage by site and by VO. • Interactive reports generated with various selection criteria, including DN, site, VO, dates, will be available from the GOC website. • ‘Usage’ could include • raw cpu time, • cpu time normalised to SpecIntSeconds (or some agreed combination of SpecInt and SpecFloat powers) (probably the default, once agreed), • a notional ‘charge’ based on any combination of cputime, real memory, and virtual memory (however, the available logs do not include data on storage used, nor on the queue through which the job was submitted, both of which would be desirable for calculating a notional charge.) • The same reports will be available for running at sites on local data and at the GOC on aggregated data. Trevor.Daniels@rl.ac.uk

  14. Summary • An accounting prototype has been deployed at GOC • Using logs transferred from sites • Need all sites to transfer records • Have written a tool but it needs deploying. • GOC will start to publish a few standard reports • Next Steps • Package and distribute • Develop reports • Consider normalisation of heterogeneous clusters • Include more batch types. Trevor.Daniels@rl.ac.uk

More Related