Install/reinstall release package and start the system and how to set up your browser
This page describes how to
- Optionally close an earlier instance of the system
- Install a new instance
- Start the new instance.
This includes stopping existing old applications, emptying the JMS queues and move old data into a backup catalogs. Both bitarchive libraries and other old data are cleaned up. A pure and clean new installation is established. Note: If there no tests have been executed on this port number before, then there might appear error messages about non-existing files etc. These errors are harmless.This page also describes how to setup your browser for viewerproxy.
Install/reinstall release package and start the system
Do the following on kb-prod-udv-001.kb.dk as user 'test': Write the following in a prompt – note the relevant replacements
export TESTX=TESTk (where k must be replaced with the test number you are about to run, e.g. TEST8)
export PORT=8076 (where 8076 with the given port number for the test)
export MAILRECEIVERS= tlr@kb.dk (where the mail address must be replaced by address(es) for the relevant mail receiver(s) – specified by comma separation if more than one)
export TIMESTAMP=3.12.1 or 1559 ( the number must replaced with the number included in name of the Netarchive*.zip file)
all_test_db.sh
How to set up your browser
Forward the access port and set browser to be local forward port
Do the following on kb-prod-udv-001.kb.dk as a test user:
Write the following in a prompt
ssh -g -N -L$PORT:kb-test-acs-001.kb.dk:$PORT kb-test-acs-001.kb.dk
If you get the error message : bind: Address already in use and it still hangs, just ignore the message.
Note that the shell will hang after this command. The ssh must be killed after the test (by <CTRL>C)
Do following in a browser:
Set browser (Mozilla, Internet Explorer or FireFox) to be local forward port.
Mozilla: Go to =preferences -> advanced.proxies= and activate 'manual proxy-settings', 'HTTP-proxy:' is set to "kb-prod-udv-001.kb.dk" and the belonging 'Port:' is set to the test port (807?). 'No proxy for' is set to "kb-test-adm-001.kb.dk"
Internet Explorer: Go to =Tools -> Internet options= choose =Connections= and click =LAN settings=. Mark "Use proxy with …" and insert "kb-prod-udv-001.kb.dk" in 'Address' with 'Port:' and set the test port (807?). Click 'Advanced' and insert =kb-test-adm-001.kb.dk= under 'Exception' ('Do not use proxy for …')
FireFox 2: Go to =General->Settings=, choose =Connection= and click =Settings=. Mark 'Manual proxy configuration:' and insert "kb-prod-udv-001.kb.dk" in 'HTTP Proxy' and set 'Port:' to the test port (807?). Mark ‘Use for all protocols’ and insert text “=kb-test-adm-001.kb.dk=” in 'No proxy for'
FireFox 3: Go to =Tools->Settings=, choose =Advanced->Network= and click =Settings...=. Mark 'Manual proxy configuration:' and insert "kb-prod-udv-001.kb.dk" in 'HTTP Proxy' and set 'Port:' to the test port (807?). Mark ‘Use this profor all protocols’ and insert text “=kb-test-adm-001.kb.dk, kb-prod-udv-001.kb.dk=” in 'No proxy for'