Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kvalobs:kvoss:system:qc2:user:run [2010-08-12 19:53:05]
paule
kvalobs:kvoss:system:qc2:user:run [2022-05-31 09:29:32] (current)
Line 1: Line 1:
-====== Running QC2 ======+====== 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.+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
  
-**STEP 1:** Update kv_ctl.conf 
 Standard location: /etc/kvalobs/kv_ctl.conf edit and include kvQc2, e.g.: Standard location: /etc/kvalobs/kv_ctl.conf edit and include kvQc2, e.g.:
  
 <code> <code>
- 
 START_PROGS="kvQabased kvManagerd kvDataInputd kvServiced kvQc2" START_PROGS="kvQabased kvManagerd kvDataInputd kvServiced kvQc2"
 STOP_PROGS="kvServiced kvDataInputd kvQabased kvManagerd kvQc2" STOP_PROGS="kvServiced kvDataInputd kvQabased kvManagerd kvQc2"
Line 16: Line 18:
 </code> </code>
  
- +====== Start ====== 
-**STEP 2:** + 
 <code> <code>
 $ kvstart $ kvstart
Line 42: Line 44:
 </code> </code>
  
 +====== Stop ======
  
-**STEP 4** ... and to stop:+Stop the running kvqc2 process by 'kvstop -l' (lower case L), then type the number corresponding to kvqc2:
  
-<code> +For example:
-$ cd +
-$ bin/kvstop +
-</code>+
  
-The following result is expected: 
 <code> <code>
-listopt: 0+kvalobs@dev-vm101:~$ kvstop -l 
 +listopt: 1
 killallopt: 0 killallopt: 0
-KVPID=/metno/kvalobs/var/kvalobs/run +KVPID=/var/run/kvalobs 
-TIMEOUT=70 +TIMEOUT=60 
-node: dev-vm116 +node: dev-vm101 
-  + 
-  + 
-  Stopper kvalobs dette kan ta noe tid+Velg et program å stoppe! 
-  Hvis det ikke skjer noe på MER enn 70 sekund +------------------------- 
-  bruk CTRL-C for å avbryte! +  1: norcom2kv 
-  +  2: kvqc2 
-  +  3: kvServiced 
-kvServiced .....Stopped! +  4: kvDataInputd 
-kvDataInputd .....Stopped! +  5: kvQabased 
-kvQabased .....Stopped! +  6: kvManagerd 
-kvManagerd .....Stopped! +  7: kvAgregated 
-kvQc2 .....Stopped!+  8: kvbufrd 
 +  9: kvsynopd 
 +  q: quit 
 +------------------------- 
 +Stop programmet [1-9]: 2 
 + 
 +kvqc2 .....Stopped! 
 </code> </code>
  
-**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. +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".
  
  • kvalobs/kvoss/system/qc2/user/run.1281642785.txt.gz
  • Last modified: 2022-05-31 09:23:19
  • (external edit)