Version 6 (modified by mmamonski, 12 years ago) (diff)

--

The QCG-Accounting Agent

Architecture

Installation

You can install the package using the QosCosGrid yum repository:

yum instal qcg-comp-accounting

Configuration

The whole configuration of QCG-Accounting agent is stored in single properties files (/opt/plgrid/qcg/etc/qcg-acc/config.properties). List of configuration properties (subjected to changes):

Common

  • qcg.db.pass - password of the QCG-Computing database (see <Database> section of the qcg-compd.xml file)
  • qcg.site.name - your site name
  • qcg.batch.server - hostname where the batch server is running
  • qcg.debug - if set to true produce more
  • qcg.dry.run - enables test mode

PBS Pro/Torque? log parser

  • qcg.pbs.home - the root of the Torque spool directory (e.g. /var/torque)

BAT publisher (PL-Grid only)

At first you must ask the BAT administrator to provide you all credentials (username/password and X.509 certificate) needed to connect to the BAT. Copy the received keystore to the file /opt/plgrid/qcg/etc/qcg-bat-updater/truststore.ts (make sure this file is only readable by root). Now you are ready to edit the QCG BAT configuration file /opt/plgrid/qcg/etc/qcg-bat-updater/config.properties. You should change the following properties:

  • qcg.db.pass - password of the QCG-Computing database (see <Database> section of the qcg-compd.xml file)
  • qcg.bat.user and qcg.bat.pass - put values provided by the BAT administrator
  • qcg.bat.keystore.pass - keystore pass (provided with key by the BAT administrator)
  • qcg.site.name - your site name
  • qcg.batch.server - hostname where the batch server is running
  • qcg.pbs.home - the root of the Torque spool directory (e.g. /var/torque)
  • qcg.bat.debug - controls verbosity of the log messages

APEL SSM publisher

Troubleshooting

The QCG-Accounting Agent provide all diagnostic information in the log file: /opt/plgrid/var/log/qcg-bat-updater/qcg-bat-updater.log. You may also try to set the qcg.debugconfiguration property to true in order to get more verbosity of log messages.

Attachments