Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
kvalobs:kvoss:system:qc2:test:acceptance:qc2operun [2010-03-22 22:31:15] paule |
kvalobs:kvoss:system:qc2:test:acceptance:qc2operun [2022-05-31 09:29:32] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Qc2-OPE-RUN ====== | + | ====== Qc2-OPE-RUN ======((NB Change in paths / |
| - | Ok! Kvalobs Qc1 and Qc2 is built in the test environment. | + | |
| + | |||
| + | |||
| + | Ok! Kvalobs Qc1 and Qc2 is built in the test environment. Qc2 is now integrated with the Qc1 environment by editing kv_ctl.conf | ||
| **STEP 1:** Update kv_ctl.conf | **STEP 1:** Update kv_ctl.conf | ||
| Line 10: | Line 13: | ||
| < | < | ||
| # | # | ||
| - | START_PROGS=" | + | START_PROGS=" |
| # | # | ||
| - | STOP_PROGS=" | + | STOP_PROGS=" |
| - | TIMEOUT=61 | + | TIMEOUT=70 |
| KVUSER=kvalobs | KVUSER=kvalobs | ||
| </ | </ | ||
| + | |||
| + | Note the local kvalobs.conf (/ | ||
| + | contains: | ||
| + | |||
| + | < | ||
| + | corba{ | ||
| + | #Where is CORBA nameserver | ||
| + | # | ||
| + | nameserver=" | ||
| + | |||
| + | #Which path in CORBA nameserver shall we use for | ||
| + | #this instance of kvalobs | ||
| + | path=" | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Illustrating a dedicated registration in the CORBA nameserver for the virtual machine kvalobs instance. | ||
| **STEP 2:** Remember that we are currently working with a local installation. The html log files for kvQabased are written to: | **STEP 2:** Remember that we are currently working with a local installation. The html log files for kvQabased are written to: | ||
| - | / | + | / |
| The script called by the default cron job does not know this and needs to be modified by editing / | The script called by the default cron job does not know this and needs to be modified by editing / | ||
| Line 27: | Line 47: | ||
| #! /bin/sh | #! /bin/sh | ||
| - | QABASELOGDIR=/ | + | QABASELOGDIR=/ |
| ## | ## | ||
| Line 42: | Line 62: | ||
| https:// | https:// | ||
| + | |||
| + | Clean-up of the html log files is necessary to manage disk space. | ||
| + | |||
| + | **STEP 3** Now run kvalobs as user kvalobs with kvQc2: | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | |||
| + | |||
| + | **NOTE:** The $KVALOBS historic configuration variable is no longer needed. | ||
| + | |||
| + | < | ||
| + | $ cd $HOME | ||
| + | $ bin/kvstart | ||
| + | </ | ||
| + | |||
| + | The following result is expected: | ||
| + | |||
| + | < | ||
| + | KVBIN=/ | ||
| + | KVPID=/ | ||
| + | TIMEOUT=70 | ||
| + | |||
| + | |||
| + | 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=/ | ||
| + | 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. | ||
| + | |||
| + | |||
| + | |||