Project

General

Profile

Actions

Task #10451

open

Deploy treqs on prod instance (cctreqs)

Added by Brinette Pierre-Emmanuel over 9 years ago. Updated over 9 years ago.

Status:
In progress
Priority:
Normal
Category:
Tests and feebacks
Start date:
07/22/2015
Due date:
% Done:

0%

Estimated time:

Description

Deploy the version treqs-1.7.0-20150716.034050.x86_64 on* cctreqs*

Actions #1

Updated by Brinette Pierre-Emmanuel over 9 years ago

  • Status changed from New to In progress

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...
Actions

Also available in: Atom PDF