This is an old revision of the document!
Running QC2
The QC2 daemon, kvqc2, may be turned on and off with kvstart and kvstop. All that is required is to add kvqc2 to the kv_ctl.conf file. If this is already achieved, just ignore Step 1 below.
CONFIGURATION
Update kv_ctl.conf
Standard location: /etc/kvalobs/kv_ctl.conf edit and include kvQc2, e.g.:
START_PROGS="kvQabased kvManagerd kvDataInputd kvServiced kvQc2" STOP_PROGS="kvServiced kvDataInputd kvQabased kvManagerd kvQc2" ... TIMEOUT=60 KVUSER=kvalobs
START
$ kvstart
The following result (or similar, depending on the list of daemons installed) is expected:
KVBIN=/metno/kvalobs/bin KVPID=/metno/kvalobs/var/kvalobs/run TIMEOUT=60 Starter kvalobs dette kan ta noe tid! Hvis det ikke skjer noe på MER enn 70 sekund bruk CTRL-C for å avbryte! Starter kvQabased ....Ok! Starter kvManagerd ....Ok! Starter kvDataInputd ....Ok! Starter kvServiced ....Ok! Starter kvQc2 ....Ok!
STOP
$ kvstop -l
The following result is expected:
kvalobs@dev-vm101:~$ kvstop -l listopt: 1 killallopt: 0 KVPID=/var/run/kvalobs TIMEOUT=60 node: dev-vm101 Velg et program å stoppe! ------------------------- 1: norcom2kv 2: kvqc2 3: kvServiced 4: kvDataInputd 5: kvQabased 6: kvManagerd 7: kvAgregated 8: kvbufrd 9: kvsynopd q: quit ------------------------- Stop programmet [1-9]: 2 kvqc2 .....
Once kvqc2 is running the algorithms carried out are controlled by the configuration files in the Qc2Config directory.