'''Define and run an event harvest''' This page describes how to define and run an event harvest. It also test that seeds lists are created from first and second level definition of the domain names. Do following in a browser: Start Program * Go to http://$GUIadminserver:$http-port/HarvestDefinition/ . where GUIadminserver and http-port are specified in the deploy configuration file under the application named dk.netarkivet.common.webinterface.GUIApplication . In the one-machine setup (deploy_example_one_machine.xml ) the link will be : http://localhost:8074 Make a new selective (event) harvest definition with a name you can remember * Click 'Definitions'->'Selective Harvests' in the left menu * Click 'Create new harvestdefinition' in the bottom of the main window * Fill in the Harvest name and note the name for later use (from now referred as ) * Choose '''Once_an_hour''' in the drop down list for 'Schedule' * Click Save (DO NOT CLICK ACTIVATE YET) Add seeds to the selective (event) harvest * Click 'Edit' in column 6 on the line with the * Write domain list from 'Seed list 1' given below to a file on your desktop e.g. notepad) * Click 'Add seeds from a file' at the bottom of the main page * Click 'Browse" and pick up the just created file with seeds * Choose '''frontpages''' in the drop-down list for 'Harvest template' * Click 'Insert' * Now click 'Add seeds' * Choose '''frontpages_plus_2levels''' in the drop-down list for 'Harvest template' * Write domain list from 'Seed list 2' given below (you can cut and paste from this page) * Click 'Insert' * Click 'Save' Check that seed lists for domains in Seed list 1 has changed correspondingly (Note that after fixing NAS-2165, you have to click on Show unused configurations/seedlists show all) * For each of the domains =raeder.dk=, =statsbiblioteket.dk=, =netarkivet.dk= do: * Click 'Definitions'->'Find Domain(s)' * Search for domain by writing its name as text and click 'Search' * Check that there exists a configuration with the name "_frontpages__" __" * Check that there exists a seed list with the name "_frontpages * Click 'Edit' in the line with seed list "_frontpages__" __", * Check that the seed list shown corresponds to the seed list for the domain (see below) Check that seed lists for domains in Seed list 2 has changed correspondingly (Note that after fixing NAS-2165, you have to click on Show unused configurations/seedlists show all) * For the domains =kaarefc.dk=, =netarkivet.dk= do: * Click 'Definitions'->'Find Domain(s)' * Search for =netarkivet.dk= by writing this text and click ‘Search’ * Check that there exists a configuration with name "_frontpages_plus_2levels * Check that there exists a seed list with the name "_frontpages_plus_2levels__" __" * Click 'Edit' in the line with seed list "_frontpages_plus_2levels * Check that the seed list shown corresponds to the seed list for the domain (see below) Activate the harvest * Click 'Definitions'->'Selective Harvests' in the left menu * Click 'Activate' in column 5 on the line with the Check harvest status of the event harvest using menu "All Jobs" * Click 'Harvest status'->'All Jobs' in the left menu * Select "All" in "Only display job status" to the rigth from the menu * Click the "Show" button, until the appears in a new job line (approx. after a minute) * Check that two jobs appears and that they both have Harvest name * Check the menu "Running jobs", that the jobs appears and that you can go to the Heritrix GUI . by clicking on the host link and by using the login/password: "admin"/"adminPassword" and close the window again. Seed list 1 (Harvest template "frontpages"): {{{ http://netarkivet.dk/adgang-for-forskere/ http://netarkivet.dk/index-en.php http://www.raeder.dk/ http://kb-prod-udv-001.kb.dk/netarchivesuite/clock.php }}} Seed list 2 (Harvest template "frontpages_plus_2levels"): {{{ http://netarkivet.dk/index-en.php http://www.kaarefc.dk/ http://www.kaarefc.dk/private/ http://www.kaarefc.dk/wop/ }}} Seed list "_frontpages__" for domain =raeder.dk= __" {{{ http://www.raeder.dk/ }}} Seed list "_frontpages {{{ http://kb-prod-udv-001.kb.dk/netarchivesuite/clock.php }}} Seed list "_frontpages__" for domain =netarkivet.dk= {{{ http://netarkivet.dk/index-en.php http://netarkivet.dk/adgang-for-forskere/ }}} Seed list "_frontpages_plus_2levels {{{ http://netarkivet.dk/index-en.php }}} Seed list "_frontpages_plus_2levels" for domain =kaarefc.dk= {{{ http://www.kaarefc.dk/ }}}