Project

General

Profile

Running the Trigger using the DAQApplicationManager » History » Version 4

Martin Frank, 01/10/2013 11:57 AM

1 1 Iuri Oksuzian
h1. Running the Trigger using the DAQApplicationManager
2 1 Iuri Oksuzian
3 1 Iuri Oksuzian
To start the AppMgr GUI:
4 1 Iuri Oksuzian
5 4 Martin Frank
<pre>
6 4 Martin Frank
   ssh novadaq@novadaq-ctrl-master
7 4 Martin Frank
   setup_online -z 10
8 4 Martin Frank
   startDAQApplicationManager.sh
9 4 Martin Frank
</pre>
10 1 Iuri Oksuzian
11 1 Iuri Oksuzian
The GUI pops up:
12 1 Iuri Oksuzian
13 2 Iuri Oksuzian
!https://cdcvs.fnal.gov/redmine/attachments/download/8403/AppMgrGUI.png!
14 3 Iuri Oksuzian
15 3 Iuri Oksuzian
16 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.
17 3 Iuri Oksuzian
   * You can start/stop the whole group
18 3 Iuri Oksuzian
19 3 Iuri Oksuzian
If you would to create extra buttons for additional ddt-filter processed, modify:
20 3 Iuri Oksuzian
21 3 Iuri Oksuzian
   * @/nova/config/NDOS/appmgr/Partition10/ProcessList.xml@
22 3 Iuri Oksuzian
   * @<applicationInstance name="ddt001" type="DDT Filter" host="novadaq-ctrl-farm-01" />@
23 3 Iuri Oksuzian
24 3 Iuri Oksuzian
The start xml file:
25 3 Iuri Oksuzian
26 3 Iuri Oksuzian
   * @/nova/config/NDOS/appmgr/Partition10/ApplicationTypeList_DAQ_Standard_Start.xml@
27 3 Iuri Oksuzian
   * @<appCommand>/home/novadaq/DAQOperationsTools/bin/startDDTFilter.sh -c prof-test.fcl -z ${PARTITION_NUMBER}</appCommand>@
28 3 Iuri Oksuzian
29 3 Iuri Oksuzian
In startDDTFilter.sh:
30 3 Iuri Oksuzian
31 3 Iuri Oksuzian
   * The search path for the FHCL file is specified: 
32 3 Iuri Oksuzian
   ** @export FHICL_FILE_PATH=$FHICL_FILE_PATH:/nova/config/NDOS/DDTFilter/${partitionSubdir}:/nova/config/NDOS/DDTFilter@
33 3 Iuri Oksuzian
   * The exact FHICL file location : 
34 3 Iuri Oksuzian
   ** @/nova/config/NDOS/DDTFilter/prof-test.fcl@
35 3 Iuri Oksuzian
   * The line that actually start the ddt-filter:
36 3 Iuri Oksuzian
   ** @ nohup ddt-filter -c ${configFile} >>${logPath}/ddt_${TIMESTAMP}.log 2>&1 <&- &@