...
- Test dynamic addition of new bitarchive
- Test JMS broker restart
Prerequisites
Procedure
Prepare Installation with One Bitapp Missing
On devel@kb-prod-udv-001.kb.dk (note: replace foo@bar.dk with your own mailaddress, and 2??? with correct timestampversion)
Code Block |
---|
export TESTX=TEST5B export PORT=807? export MAILRECEIVERS=foo@bar.dk export TIMESTAMPVERSION=2??? |
First cleanup and prepare test:
Code Block |
---|
cleanuponly_allprepare_test.sh prepare_test_db.sh |
Now disable one bitapp:
Code Block |
---|
cd /home/testdevel/releaseprepared_software_dist/$TESTX/kb-test-bar-014016.bitarkiv.kb.dk |
and prefix "echo" to the last penultimate line of startall.bat. Finally
Code Block |
---|
install_test.sh start_test.sh |
Check the Installation
Start the Third Bitapp
Code Block |
---|
ssh ba-devel@kb-test-bar-014016.bitarkiv.kb.dk cd ${TESTX} cd conf "C:\Program Files\Bitvise WinSSHD\bvRun" -brj -new -cmd="start_BitarchiveApplication_BitApp_3.bat" exit |
Check the System State
In the System State GUI http://kb-test-adm-001.kb.dk:$PORT/Status/Monitor-JMXsummary.jsp
- Check that the new BitApp is visible
- Check that there are no errors or warnings visible on any app
Restart The Broker
Send an email to webarkivering-teknik@statsbiblioteket.dk to warn that you are restarting the broker.
From test@kb-prod-udv-001:
Code Block |
---|
ssh kbtest@kb-test-adm-001 bash /home/test/mq/stop.sh (waitsleep 1 minute) ssh kb-test-adm-001 60 bash /home/test/mq/noreset_start.sh & exit |
Check the System State
In the System State GUI http://kb-test-adm-001.kb.dk:$PORT/Status/Monitor-JMXsummary.jsp :
- Check that all applications are present
- Check that the most recent status for every application is neither a warning, an error, nor empty
- Check that the SB Bitapp on sb-test-bar-001 is present
- Check that system is fully functional
- Make a simple netarkivet.dk harvest
- Waiting for the job to finish
- make QA of the job through the viewerproxy
Close Down the Test
Code Block |
---|
cleanup_all_test.sh |