Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2009-10-28 09:19:06
Size: 2998
Editor: TueLarsen
Comment:
Revision 8 as of 2010-04-20 08:30:03
Size: 2974
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 20:
all_test.sh all_test_db.sh
Line 15: Line 22:
Setup your browser for Viewer Proxy: '''How to set up your browser'''
Line 17: Line 24:
Forward the access port and set browser to be local forward port
Line 18: Line 26:
---+ 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:
Line 20: Line 28:
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 Write the following in a prompt
Line 22: Line 30:
---++ Do the following on kb-prod-udv-001.kb.dk as a test user: {{{
ssh -g -N -L$PORT:kb-test-acs-001.kb.dk:$PORT kb-test-acs-001.kb.dk
}}}
Note that the shell will hang after this command. The ssh must be killed after the test (by <CTRL>C)
Line 24: Line 35:
Write the following in a prompt
<verbatim>
ssh -g -N -L$PORT:kb-test-acs-001.kb.dk:$PORT kb-test-acs-001.kb.dk
</verbatim>
Note that the shell will hang after this command.
The ssh must be killed after the test (by &lt;CTRL&gt;C)
Do following in a browser:
Line 31: Line 37:
---++ Do following in a browser:

Set browser  (Mozilla, Internet Explorer or <nop>FireFox) to be local forward port.
Set browser (Mozilla, Internet Explorer or !FireFox) to be local forward port.
Line 37: Line 41:
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 43:
<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 45:
<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)

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

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)