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 the configuration section 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

Stop the running kvqc2 process by 'kvstop -l' (lower case L), then type the number corresponding to kvqc2:

For example:

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 .....Stopped!

Once kvqc2 is running the algorithms carried out are controlled by the configuration files in the Qc2Config directory.

The Qc2Config directory needs to be created by the kvalobs user if it does not exist. Standard location is “/etc/kvalobs/Qc2Config”.