NDPFAccouting pbsaccdbconf
From PDP/Grid Wiki
Revision as of 07:43, 24 December 2008 by Davidg@nikhef.nl (talk | contribs)
The pbsaccdb.conf file contains the scaling information and dtabase access credentials needed for the pbsaccdb.pl script to extract information for the Torque "accounting" files and insert the records into the NDPF accounting database (on fulda). The file should be owned by root with permissions 0640 or less. It looks like:
nodespec=\ node15-.*:2.800 \ node18-.*:0.993 \ node16-.*:2.000 \ node17-.*:3.200 \ node1-.*:0.800 \ wn-gfrc-.*:1.68 \ wn-hall-.*:3.14 \ wn-bull-.*:3.79 \ wn-lui1-.*:5.46 \ wn-lui2-.*:5.46 \ wn-val-.*:5.52 username=<MYSQLUPDATEUSER> password=<MYPASSWORD> dbhost=fulda.nikhef.nl dbname=accounting facility=lcg2elprod
The scaling factors are the conversion from node native hours to 'GHzHourEquivalents', assuming that the times reported by Torque are *true* wallclock times, and are not scaled by Torque (i.e., do not use the factors in pbs_mom/config)
By NDPF definition, 1 GHzHourEquivalent is 410 SI2k.hours, so a node with a base performance rate of 2260 SI2k (approx. 13 SI2006baseRate) comes out at a GHzHourEquiv rating of 5.52.