Version¶
http://maven.in2p3.fr/fr/in2p3/cc/storage/treqs/treqs-delivery/1.0-SNAPSHOT/treqs-delivery-1.0-20150716.074054-42.rpm
Déploiment¶
Arret de jtreqs¶
- Arret de jtreqs
- commentaire des entrées crontab pour le watchdog.
- Ligne conservé :
20 * * * * mysqladmin flush-hosts
Installation¶
rpm -ivh /tmp/treqs-delivery-1.0-20150716.074054-42.rpm
Configuration¶
Ajout de la table archive et mise en place des triggers¶
# mysql -uroot -pxxxxxx treqsjobs < ManageDBTables.sql
# mysql -uroot -pxxxxxx treqsjobs
mysql> SET GLOBAL event_scheduler = 1;
configuration treqs¶
# diff jtreqs.conf.properties.orig jtreqs.conf.properties
38,39c38
< #DISPATCHER_INTERVAL=60
< DISPATCHER_INTERVAL=5
---
> DISPATCHER_INTERVAL=60
151,152c150,151
< USERNAME=treqstest
< PASSWORD=treqstest
---
> USERNAME=treqs
> PASSWORD=xxxxxx
154c153
< DATABASE=treqstest
---
> DATABASE=treqsjobs
# diff wrapper.conf.orig wrapper.conf
64c64
< wrapper.logfile=logs/wrapper.log
---
> wrapper.logfile=/var/log/jtreqs/wrapper.log
# diff logback.xml.orig logback.xml
64c64
< <level value="trace" />
---
> <level value="debug" />
Démarrage du service¶
# /etc/init.d/treqsd start
Starting treqs-delivery...
wrapper | Working directory set to: ..
wrapper | Spawning intermediate process...