Differences between revisions 1 and 13 (spanning 12 versions)
Revision 1 as of 2009-10-28 09:19:06
Size: 2998
Editor: TueLarsen
Comment:
Revision 13 as of 2010-09-02 11:41:45
Size: 3215
Editor: TueLarsen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Install/reinstall release package and start the system This page describes how to '''Install/reinstall release package and start the system and how to set up your browser'''
Line 3: Line 3:
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 bit-archive 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 describes how to
Line 5: Line 5:
Do the following on kb-prod-udv-001.kb.dk as a test user: Write the following in a prompt – note the relevant replacements  * 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
Line 13: Line 21:
all_test.sh export TIMESTAMP=3.12.1 or 1559 ( the number must be replaced with the number included in the name of the Netarchive*.zip file)
Line 15: Line 23:
Setup your browser for Viewer Proxy: all_test_db.sh
Line 17: Line 25:
'''How to set up your browser'''
Line 18: Line 27:
---+ Forward the access port and set browser to be local forward port Forward the access port and set browser to be local forward port
Line 20: Line 29:
This page explain how to forward the access/viewer-proxy port to =kb-prod-udv-001.kb.dk= and how to set browser to be local forward port as proxy Do the following on kb-prod-udv-001.kb.dk as a test user:
Line 22: Line 31:
---++ Do the following on kb-prod-udv-001.kb.dk as a test user: Write the following in a prompt
Line 24: Line 33:
Write the following in a prompt
<verbatim>
{{{
Line 27: Line 35:
</verbatim>
Note that the shell will hang after this command.
The ssh must be killed after the test (by &lt;CTRL&gt;C)
}}}
If you get the error message : bind: Address already in use and it still hangs, just ignore the message.
Line 31: Line 38:
---++ Do following in a browser: Note that the shell will hang after this command. The ssh must be killed after the test (by <CTRL>C)
Line 33: Line 40:
Set browser  (Mozilla, Internet Explorer or <nop>FireFox) to be local forward port. Do following in a browser:

Set browser (Mozilla, Internet Explorer or !FireFox) to be local forward port.
Line 37: Line 46:
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 …')  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 …')
Line 39: Line 48:
<nop>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 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'
Line 41: Line 50:
<nop>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'  !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'

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 be replaced with the number included in the 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'

NetarkivInstallStd (last edited 2010-09-02 11:41:45 by TueLarsen)