Project

General

Profile

Running the Trigger using the DAQApplicationManager » History » Version 5

Martin Frank, 01/15/2013 11:15 AM

1 5 Martin Frank
{{>toc}}
2 5 Martin Frank
3 1 Iuri Oksuzian
h1. Running the Trigger using the DAQApplicationManager
4 1 Iuri Oksuzian
5 1 Iuri Oksuzian
To start the AppMgr GUI:
6 1 Iuri Oksuzian
7 4 Martin Frank
<pre>
8 4 Martin Frank
   ssh novadaq@novadaq-ctrl-master
9 4 Martin Frank
   setup_online -z 10
10 4 Martin Frank
   startDAQApplicationManager.sh
11 4 Martin Frank
</pre>
12 1 Iuri Oksuzian
13 1 Iuri Oksuzian
The GUI pops up:
14 1 Iuri Oksuzian
15 2 Iuri Oksuzian
!https://cdcvs.fnal.gov/redmine/attachments/download/8403/AppMgrGUI.png!
16 3 Iuri Oksuzian
17 3 Iuri Oksuzian
18 3 Iuri Oksuzian
   * Right-click on the PINK status box and click "Start process". The ddt-filter process starts on the corresponding cluster and status turns GREEN.
19 3 Iuri Oksuzian
   * You can start/stop the whole group
20 3 Iuri Oksuzian
21 3 Iuri Oksuzian
If you would to create extra buttons for additional ddt-filter processed, modify:
22 3 Iuri Oksuzian
23 3 Iuri Oksuzian
   * @/nova/config/NDOS/appmgr/Partition10/ProcessList.xml@
24 3 Iuri Oksuzian
   * @<applicationInstance name="ddt001" type="DDT Filter" host="novadaq-ctrl-farm-01" />@
25 3 Iuri Oksuzian
26 3 Iuri Oksuzian
The start xml file:
27 3 Iuri Oksuzian
28 3 Iuri Oksuzian
   * @/nova/config/NDOS/appmgr/Partition10/ApplicationTypeList_DAQ_Standard_Start.xml@
29 3 Iuri Oksuzian
   * @<appCommand>/home/novadaq/DAQOperationsTools/bin/startDDTFilter.sh -c prof-test.fcl -z ${PARTITION_NUMBER}</appCommand>@
30 3 Iuri Oksuzian
31 3 Iuri Oksuzian
In startDDTFilter.sh:
32 3 Iuri Oksuzian
33 3 Iuri Oksuzian
   * The search path for the FHCL file is specified: 
34 3 Iuri Oksuzian
   ** @export FHICL_FILE_PATH=$FHICL_FILE_PATH:/nova/config/NDOS/DDTFilter/${partitionSubdir}:/nova/config/NDOS/DDTFilter@
35 3 Iuri Oksuzian
   * The exact FHICL file location : 
36 3 Iuri Oksuzian
   ** @/nova/config/NDOS/DDTFilter/prof-test.fcl@
37 3 Iuri Oksuzian
   * The line that actually start the ddt-filter:
38 3 Iuri Oksuzian
   ** @ nohup ddt-filter -c ${configFile} >>${logPath}/ddt_${TIMESTAMP}.log 2>&1 <&- &@
39 5 Martin Frank
40 5 Martin Frank
h2. Log Files
41 5 Martin Frank
42 5 Martin Frank
The log files for each farm node can be found in the following directory:
43 5 Martin Frank
44 5 Martin Frank
<pre>
45 5 Martin Frank
/daqlogs/NDOS/Partition10/DDTFilter/
46 5 Martin Frank
</pre>