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:qc2opecfg [2010-03-25 00:03:14] paule |
kvalobs:kvoss:system:qc2:test:acceptance:qc2opecfg [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
This is a set of tests to check the operation of the configuration files and become familiar with setting different options. | This is a set of tests to check the operation of the configuration files and become familiar with setting different options. | ||
+ | |||
**Prerequisite** | **Prerequisite** | ||
* Stop kvalobs with bin/kvstop (rationale: run kvQc2 from the terminal to immediately analyse output) | * Stop kvalobs with bin/kvstop (rationale: run kvQc2 from the terminal to immediately analyse output) | ||
+ | |||
+ | **NOTES** | ||
+ | |||
+ | * For dev-vm116 local installation $PREFIX=/ | ||
+ | * For debian package it is probably: $PREFIX= | ||
^Step ^Direction ^Expected Result ^Pass/Fail Criteria or Comment ^ | ^Step ^Direction ^Expected Result ^Pass/Fail Criteria or Comment ^ | ||
- | |001 |cd $KVALOBS. Make a copy of the existing Qc2Config directory | + | |001 |Locate the active Qc2Config directory. Make a copy of the existing Qc2Config directory |
+ | | |$ cd $PREFIX/ | ||
| |$ tar cvf Qc2Config.tar Qc2Config/| -- | -- | | | |$ tar cvf Qc2Config.tar Qc2Config/| -- | -- | | ||
| |Remove the Qc2Config directory. | -- | -- | | | |Remove the Qc2Config directory. | -- | -- | | ||
| |$ rm -r Qc2Config| -- | -- | | | |$ rm -r Qc2Config| -- | -- | | ||
- | |002 |Run kvQc2 | -- | -- | | + | |002 |Run kvQc2 as follows: |
- | | |bin/kvQc2 |Does not exist: /metno/ | + | | |$ bin/kvQc2 |Does not exist: |
- | | |Note: open a new shell to perform the following tasks and monitor the results in the bin/kvQc2 program output. The program will attempt to scan for a configuration file every 59s and a response is detected as described below. | -- | -- | | + | | |Note: |
- | |003 |$ mkdir Qc2Config | Scanning For Files ;/metno/ | + | |003 |$ mkdir Qc2Config | Scanning For Files ;$PREFIX/etc/ |
+ | | | **Note** kvQc2D scans the Qc2Config directory every ~60s, therefore wait at least this time between steps to check for results||| | ||
|004 |$ touch Qc2Config/ | |004 |$ touch Qc2Config/ | ||
- | |005 |$ touch Qc2Config/ | + | |005 |$ touch Qc2Config/ |
- | | |Configuration File Found: /metno/ | + | | |Configuration File Found: |
| | | The times are default times generated if no times are set specifying the start and stop of the algorithm run. || | | | | The times are default times generated if no times are set specifying the start and stop of the algorithm run. || | ||
|006 |View https:// | |006 |View https:// | ||
| |Copy the file to the Qc2Config directory, | | |Copy the file to the Qc2Config directory, | ||
| |$ wget https:// | | |$ wget https:// | ||
- | | |2010-03-24 23:54:34: 2010-03-21 23:00:00 -> 2010-03-24 23: | + | | |2010-03-24 23:54:34: 2010-03-21 23:00:00 -> 2010-03-24 23: |
|007 |Edit the ProcessUnit.cfg file by replacing Last_NDays=3 (a # may be used to comment out) with:| -- | -- | | |007 |Edit the ProcessUnit.cfg file by replacing Last_NDays=3 (a # may be used to comment out) with:| -- | -- | | ||
Line 46: | Line 54: | ||
|007 |Observed result: | -- | -- | | |007 |Observed result: | -- | -- | | ||
- | | |2010-03-25 00:00:28: 2007-05-31 06:00:00 -> 2007-12-31 06: | + | | |2010-03-25 00:00:28: 2007-05-31 06:00:00 -> 2007-12-31 06: |
+ | The full list of available configuration file options is found [[kvoss: | ||
- | The full list of available configuration file options is found [[here]], experiment! | + | |008 |Remove Qc2Config directory and replace original: | -- | -- | |
+ | | |$ rm -r Qc2Config | ||
+ | | |$ tar xvf Qc2Config.tar |