Running QC2

The QC2 daemon, kvqc2, is 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.

STEP 1:

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

STEP 2:

$ 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!

STEP 3 ... and to stop:

$ kvstop

The following result is expected:

listopt: 0
killallopt: 0
KVPID=/metno/kvalobs/var/kvalobs/run
TIMEOUT=60
node: dev-vm116
Stopper kvalobs dette kan ta noe tid!
Hvis det ikke skjer noe på MER enn 70 sekund
bruk CTRL-C for å avbryte!
kvServiced .....Stopped!
kvDataInputd .....Stopped!
kvQabased .....Stopped!
kvManagerd .....Stopped!
kvQc2 .....Stopped!

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