This is an old revision of the document!
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 4 … and to stop:
$ cd $ bin/kvstop
The following result is expected:
listopt: 0 killallopt: 0 KVPID=/metno/kvalobs/var/kvalobs/run TIMEOUT=70 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!
NB The timeout has been set to 70s since kvQc2 checks for new configuration files every minute and the rest of the time either sleeps or processes a given set of instructions.