Table of Contents | ||
---|---|---|
|
Prerequisites
This test requires restart of infrastructure components (database and jms broker). These steps must be coordinated with the other testers.
Excerpt |
---|
Resubmit jobs after restart, restart of failed jobs, upload of old files at harvester restart, scheduler skips old jobs.
|
Info |
---|
Under migration from old twiki test, TEST6: Err-1 (Resubmit af jobs efter nedlukning, genstart af fejlede jobs, upload af gamle filer ved høster-genstart, scheduler overspringer gamle jobs). |
...
Install and Start System
On test@kb-prod-udv-001.kb.dk:
export TESTX=TEST6 export PORT= 807 ? export MAILRECEIVERS=foo @bar .dk stop_test.sh cleanup_all_test.sh prepare_test.sh deploy_config_database.xml install_test.sh start_test.sh |
Check that the GUI is available that the System Status doesn not show any startup problems.
Start a selective harvest
Start a hourly selective harvest for the 'netarkivet.dk' domain.
Create a new template:
...
- Download the template "default_orderxml
...
- Click 'Definition->Edit harvest template' from the left menu.
- Select the 'default_orderxml' in the
Download
dropdown. - Select 'Save to disk'
- Press 'Retrieve'
...
- "
- Edit the template so that max-size-bytes
...
- Open the downloaded file in a text editor
- Change the number
100.000.000
to5.000
. - Save the file
...
- is 5000 in the WARCWriterProcessor
- Upload the template with a new name, for example "Small Warcfiles"
Modify domain templates
- Configure the defaultconfig for kum.dk to use template 'small_arcfiles_order.xml'.
- Configure the defaultconfig for dbc.dk to use template 'frontpages'.
- Configure the defaultconfig for bs.dk to use template 'path_10levels_order.xml'.
...