...
- Create a new snapshot harvest, with 'Max number of bytes per domain’ set to 1,000,000 bytes (1 mbyte). Activate it.
- Check that the job is started correctly in the 'Harvest status'->'All Jobs' in the left menu and that no errors or warnings are present in the system overview. (
Systemstate
→Overview of the system state
)
While this harvest is running, do the following test ("Stop the Test Automatically During Upload").
Stop the Test Automatically During Upload
- Using the GUI, go to "Harvest status"→"All Jobs", and by clicking each Job ID for the snapshot harvest in turn, find the job number and the ID for the job in which kum.dk is being harvested. Then go to "Harvest status"→"All Running Jobs" and search for "kum.dk" to find the name of the harvest machine (Host) for the job in which kum.dk is being harvested.
- Log on the Heritrix3 GUI, and pause the job, until the next two steps are done (log on to the h3 gui on the machine harvesting kum.dk using the link in running jobs, and click on the page for the running job and click pause)
- Download the attached script and modify it to point at the correct harvester and job number
- Copy the script to kb-prod-udv-001.kb.dk and run it. It monitors the "warcs" directory and as soon as the first warcfile is uploaded it detects that uploading has started and shuts down the test instance.
- Log on the Heritrix3 GUI, and unpause the job (no explicit logout is necessary)
- Wait for the job to complete, after which the TEST6 instance is stopped, starting with the apps on machine harvesting kum.dk
...