To verify that the accounting works OK and is published on the RGMA server we
follow these steps:
- Submit some "sleep 60" jobs
- Manually run the /etc/cron.d/edg-apel-pbs-parser cron job on the TORQUE_server and on the CE
- Manually run the /etc/cron.d/edg-apel-publisher cron job on the MON host
- Run the rgma tool and do some continuous queries:
# GLITE_LOCATION=/opt/glite TRUSTFILE=/opt/glite/etc/rgma/ClientAuthentication.props /opt/glite/bin/rgma
rgma> set query continuous
rgma> set timeout 10 seconds
rgma> select * from LcgRecordsSync_v2
rgma> select * from LcgRecords
The last query returns all job IDs submitted and their status. Beware that
because of the nature of the continuous query, the results will be lost after
a short period of time. So it may be safer to do the query with a big timeout
value (5 minutes for example), put it in the background, and run the APEL
parser
while the query is taking place.
P.S. In case the TORQUE_server is on a separate node, make sure you have
applied the fix posted in bug #34961.
--
DimitriosApostolou - 13 Apr 2008