Project

General

Profile

Running the Trigger using the DAQApplicationManager » History » Version 3

Iuri Oksuzian, 01/09/2013 02:51 PM

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