Changes between Version 5 and Version 6 of Documentation/Manuals/ARCNativeAPELClients
- Timestamp:
- Jul 3, 2013 6:39:14 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Manuals/ARCNativeAPELClients
v5 v6 16 16 }}} 17 17 18 Install APEL parser and client from EMI repos: 18 19 {{{ 19 20 yum -y localinstall http://emisoft.web.cern.ch/emisoft/dist/EMI/3/sl6/x86_64/base/emi-release-3.0.0-2.el6.noarch.rpm … … 21 22 }}} 22 23 24 Install MySQL backend for APEL clients. MySQL can be installed on any host, running it on ARC host is not mandatory. 23 25 {{{ 24 26 yum -y install mysql-server mysql … … 30 32 mysql> GRANT ALL PRIVILEGES ON apelclient.* TO apel@localhost IDENTIFIED BY 'myverysecureapelpassword'; 31 33 mysql> quit 34 }}} 32 35 36 Provision APEL database with the required structures using the SQL file supplied with APEL packages: 37 {{{ 33 38 mysql -u apel -p apelclient < /usr/share/apel/client.sql 34 39 }}} 35 40 36 Edit APEL parser configuration file ({{{/etc/apel/parser.cfg}}}) and specify DB , batch system, and ARC BLAH configuration:41 Edit APEL parser configuration file ({{{/etc/apel/parser.cfg}}}) and specify DB access settings, batch system _accounting_ logs path, and ARC BLAH plugin logs path: 37 42 {{{ 38 43 [db] … … 57 62 reparse = false 58 63 type = PBS 59 dir = /path/to/torque/server_ logs/64 dir = /path/to/torque/server_priv/accounting/ 60 65 filename_prefix = 201 61 66 subdirs = false 62 67 63 68 [logging] 64 logfile = /var/log/apel parser.log69 logfile = /var/log/apel/parser.log 65 70 level = INFO 66 71 console = false 67 72 }}} 73 74 Run {{{apelparser}}} and make sure records are parsed successfully looking into parser.log and of cause the database content :-) 75