...
Table of Contents |
---|
Excerpt |
---|
Test normal functioning during addition of new bitarchive and broker restart. {excerpt}\\ {toc:outline=true}\\ {numberedheadings:start-numbering-at=h3} h2. Goals * Test dynamic addition of new bitarchive * Test JMS broker restart h2. Prerequisites None special. h2. Procedure h3. Prepare Installation with One Bitapp Missing Onrestart. |
Goals
- Test dynamic addition of new bitarchive
- Test JMS broker restart
Prerequisites
None special.
Procedure
Prepare Installation with One Bitapp Missing
On test@kb-prod-udv-001.kb.dk
...
Code Block |
---|
export TESTX=TEST5B
export PORT=807?
export MAILRECEIVERS=foo@bar.dk
|
First
...
cleanup
...
and
...
prepare
...
test:
Code Block |
---|
cleanup_all_test.sh
prepare_test_db.sh
|
Now
...
disable
...
one
...
bitapp:
Code Block |
---|
cd /home/test/release_software_dist/$TESTX/kb-test-bar-014.bitarkiv.kb.dk
|
and
...
prefix
...
"echo"
...
to
...
the
...
last
...
line
...
of
...
startall.bat.
...
Finally
Code Block |
---|
install_test.sh start_test.sh h3. Check the Installation Check the system state in the GUI. There should only be two bitapps running on |
Check the Installation
Check the system state in the GUI. There should only be two bitapps running on kb-test-bar-014
...
and
...
everything
...
else
...
should
...
appear
...
normal.
...
Start
...
the
...
Third
...
Bitapp
...
From
...
test@kb-prod-udv-001:
Code Block |
---|
ssh ba-test@kb-test-bar-014.bitarkiv.kb.dk cd ${TESTX} cd conf "C:\Program Files\Bitvise WinSSHD\bvRun" \-brj \-new \-cmd="start_BitarchiveApplication_BitApp_3.bat" exit h3. Check the System State In the System State GUI [ |
Check the System State
In the System State GUI http://kb-test-adm-001.kb.dk:$PORT/HarvestDefinition/:
...
- Check
...
- that
...
- the
...
- new
...
- BitApp
...
- is
...
- visible
...
- Check
...
- that
...
- there
...
- are
...
- no
...
- errors
...
- or
...
- warnings
...
- visible
...
- on
...
- any
...
- app
...
Restart
...
The
...
Broker
...
Send
...
an
...
...
to
...
webarkivering-teknink@statsbiblioteket.dk
...
to
...
warn
...
that
...
you
...
are
...
restarting
...
the
...
broker.
...
From
...
test@kb-prod-udv-001:
Code Block |
---|
ssh kb-test-adm-001 /home/test/mq/stop.sh
(wait 1 minute)
ssh kb-test-adm-001 /home/test/mq/start.sh &
h3. Check the System State
In the System State GUI [ |
Check the System State
In the System State GUI http://kb-test-adm-001.kb.dk:$PORT/HarvestDefinition/:
...
- 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
...
Close
...
Down
...
the
...
Test
...
Code Block |
---|
cleanup_all_test.sh
|