Changes between Version 5 and Version 6 of Documentation/Manuals/ARCNativeAPELClients


Ignore:
Timestamp:
Jul 3, 2013 6:39:14 PM (11 years ago)
Author:
Andrii Salnikov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Manuals/ARCNativeAPELClients

    v5 v6  
    1616}}}
    1717
     18Install APEL parser and client from EMI repos:
    1819{{{
    1920yum -y localinstall http://emisoft.web.cern.ch/emisoft/dist/EMI/3/sl6/x86_64/base/emi-release-3.0.0-2.el6.noarch.rpm
     
    2122}}}
    2223
     24Install MySQL backend for APEL clients. MySQL can be installed on any host, running it on ARC host is not mandatory.
    2325{{{
    2426yum -y install mysql-server mysql
     
    3032mysql> GRANT ALL PRIVILEGES ON apelclient.* TO apel@localhost IDENTIFIED BY 'myverysecureapelpassword';
    3133mysql> quit
     34}}}
    3235
     36Provision APEL database with the required structures using the SQL file supplied with APEL packages:
     37{{{
    3338mysql -u apel -p apelclient < /usr/share/apel/client.sql
    3439}}}
    3540
    36 Edit APEL parser configuration file ({{{/etc/apel/parser.cfg}}}) and specify DB, batch system, and ARC BLAH configuration:
     41Edit APEL parser configuration file ({{{/etc/apel/parser.cfg}}}) and specify DB access settings, batch system _accounting_ logs path, and ARC BLAH plugin logs path:
    3742{{{
    3843[db]
     
    5762reparse = false
    5863type = PBS
    59 dir = /path/to/torque/server_logs/
     64dir = /path/to/torque/server_priv/accounting/
    6065filename_prefix = 201
    6166subdirs = false
    6267
    6368[logging]
    64 logfile = /var/log/apelparser.log
     69logfile = /var/log/apel/parser.log
    6570level = INFO
    6671console = false
    6772}}}
     73
     74Run {{{apelparser}}} and make sure records are parsed successfully looking into parser.log and of cause the database content :-)
     75