Differences between revisions 2 and 3
Revision 2 as of 2010-08-16 10:24:44
Size: 1525
Editor: localhost
Comment: converted to 1.6 markup
Revision 3 as of 2011-04-27 15:34:10
Size: 1411
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 5: Line 4:
    * 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
 * 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
Line 9: Line 8:
    * Go to the bitpreservation site: 
         * Click on '''Bitpreservation''' in the side bar.
 * Go to the bitpreservation site:
  * Click on '''Bitpreservation''' in the side bar.
Line 12: Line 11:
 * Look at the status for the file
  * Click on '''Show files with error'''.
  * Verify that only one file is shown.
  * Click on the '''info''' link for the file 2-metadata-1.arc.
  * Verify that upload status for the file is UPLOAD_COMPLETED for KBN and CSN, whereas it is UPLOAD_FAILED for SBN.
  * Verify that the file has the same checksum in KBN and CSN, whereas it should be a different one for SBN.
Line 13: Line 18:
    * Look at the status for the file
          * Click on '''Show files with error'''.
          * Verify that only one file is shown.
          * Click on the '''info''' link for the file 1-metadata-1.arc.
          * Verify that upload status for the file is UPLOAD_COMPLETED for KBN and CSN, whereas it is UPLOAD_FAILED for SBN.
          * Verify that the file has the same checksum in KBN and CSN, whereas it should be a different one for SBN.
          
Line 21: Line 19:
Line 26: Line 23:
echo "ERROR" > 1-metadata-1.arc;
echo "ERROR" > 2-metadata-1.arc;
Line 30: Line 26:

    * Verify that it cannot be corrected directly
        
* Write the right credentials (default examplecredentials) and press the button: Replica the file in bitarchive replica BITARCHIVEReplica (SB) SBN. 
          * Verify that you get the error message: '''...failed due to checksum mismatch...'''
 * Verify that it cannot be corrected directly
  * Write the right credentials (default examplecredentials) and press the button: Replica the file in bitarchive replica BITARCHIVEReplica (SB) SBN.
  * Verify that you get the error message: '''...failed due to checksum mismatch...'''

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

  • Go to the bitpreservation site:
    • Click on Bitpreservation in the side bar.

  • Look at the status for the file
    • Click on Show files with error.

    • Verify that only one file is shown.
    • Click on the info link for the file 2-metadata-1.arc.

    • Verify that upload status for the file is UPLOAD_COMPLETED for KBN and CSN, whereas it is UPLOAD_FAILED for SBN.
    • Verify that the file has the same checksum in KBN and CSN, whereas it should be a different one for SBN.

Make more errors on the file

Go to the file on the bitarchive machine (do not close the browser).

Add more data to file, so it will have another checksum.

echo "ERROR" > 2-metadata-1.arc;

Go back to the browser

  • Verify that it cannot be corrected directly
    • Write the right credentials (default examplecredentials) and press the button: Replica the file in bitarchive replica BITARCHIVEReplica (SB) SBN.
    • Verify that you get the error message: ...failed due to checksum mismatch...

It42Bug1986Correct (last edited 2011-04-27 15:34:10 by SoerenCarlsen)