firethorn

changeset 4255:1e066fd64fd9

Added notes on new OSA TAP deploy
author Stelios <stv@roe.ac.uk>
date Wed Jun 19 19:31:50 2019 +0300 (2019-06-19)
parents c18b2033316a
children 6a2034c6020a
files doc/notes/stv/20190619-TAP-Deploy.txt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/doc/notes/stv/20190619-TAP-Deploy.txt	Wed Jun 19 19:31:50 2019 +0300
     1.3 @@ -0,0 +1,502 @@
     1.4 +#
     1.5 +# <meta:header>
     1.6 +#   <meta:licence>
     1.7 +#     Copyright (c) 2018, ROE (http://www.roe.ac.uk/)
     1.8 +#
     1.9 +#     This information is free software: you can redistribute it and/or modify
    1.10 +#     it under the terms of the GNU General Public License as published by
    1.11 +#     the Free Software Foundation, either version 3 of the License, or
    1.12 +#     (at your option) any later version.
    1.13 +#
    1.14 +#     This information is distributed in the hope that it will be useful,
    1.15 +#     but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.16 +#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.17 +#     GNU General Public License for more details.
    1.18 +#  
    1.19 +#     You should have received a copy of the GNU General Public License
    1.20 +#     along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1.21 +#   </meta:licence>
    1.22 +# </meta:header>
    1.23 +#
    1.24 +#
    1.25 +
    1.26 +##########################################################
    1.27 +##### Notes on Deploying WFAU TAP Services on trop02 #####
    1.28 +##########################################################
    1.29 +
    1.30 +stv@trop02:~$ createvm
    1.31 +
    1.32 +INFO : Base pool  [base]
    1.33 +INFO : Live pool  [live]
    1.34 +INFO : Connection [qemu:///system]
    1.35 +
    1.36 +INFO : Data path  [/var/local/projects/ischnura/github/src/dat]
    1.37 +
    1.38 +INFO : Machines   [/var/local/projects/ischnura/github/src/dat/tropo-machines.txt]
    1.39 +INFO : Template   [/var/local/projects/ischnura/github/src/dat/tropo-template.xml]
    1.40 +
    1.41 +[1] Araybwyn
    1.42 +[2] Lothigometh
    1.43 +[3] Ulov
    1.44 +[4] Dwiema
    1.45 +[5] Ibalehar
    1.46 +[6] araybwyn
    1.47 +[7] Siamond
    1.48 +[8] Acilamwen
    1.49 +Select machine name (1) 1
    1.50 +setlocale: No such file or directory
    1.51 +
    1.52 +[1] fedora-28-docker-base-20180708.qcow
    1.53 +[2] fedora-28-8G-docker-base-20181016.qcow
    1.54 +[3] fedora-28-32G-docker-base-20181016.qcow
    1.55 +[4] fedora-28-16G-docker-base-20181016.qcow
    1.56 +Select base image (1) 3
    1.57 +setlocale: No such file or directory
    1.58 +
    1.59 +INFO : Node name [Araybwyn]
    1.60 +INFO : Base name [fedora-28-32G-docker-base-20181016.qcow]
    1.61 +INFO : Base path [/var/lib/libvirt/images/base/fedora-28-32G-docker-base-20181016.qcow]
    1.62 +INFO : Disc name [Araybwyn.qcow]
    1.63 +INFO : Disc size [32GiB]
    1.64 +
    1.65 +INFO : MAC  [52:54:00:02:02:08]
    1.66 +INFO : IPv4 [192.168.202.8]
    1.67 +INFO : IPv6 []
    1.68 +
    1.69 +Create virtual machine (Y/n)Y
    1.70 +
    1.71 +Found existing virtual machine [Araybwyn]
    1.72 +Delete existing virtual machine (Y/n)Y
    1.73 +setlocale: No such file or directory
    1.74 +Stopping virtual machine [Araybwyn]
    1.75 +setlocale: No such file or directory
    1.76 +Domain a65ad4ca-0662-4c43-a32c-91e4180d87bc destroyed
    1.77 +Delete associated storage (Y/n)Y
    1.78 +Deleting virtual machine [Araybwyn]
    1.79 +setlocale: No such file or directory
    1.80 +Domain a65ad4ca-0662-4c43-a32c-91e4180d87bc has been undefined
    1.81 +Volume 'vda'(/libvirt/storage/live/Araybwyn.qcow) removed.
    1.82 +Volume 'vdb'(/var/lib/libvirt/images/init/Araybwyn.iso) removed.
    1.83 +
    1.84 +Creating new volume [Araybwyn.qcow]
    1.85 +setlocale: No such file or directory
    1.86 +Vol Araybwyn.qcow created
    1.87 +setlocale: No such file or directory
    1.88 +Name:           Araybwyn.qcow
    1.89 +Type:           file
    1.90 +Capacity:       32.00 GiB
    1.91 +Allocation:     196.00 KiB
    1.92 +
    1.93 +setlocale: No such file or directory
    1.94 +Vol Araybwyn.iso created
    1.95 +setlocale: No such file or directory
    1.96 +setlocale: No such file or directory
    1.97 +setlocale: No such file or directory
    1.98 +Creating new virtual machine [Araybwyn]
    1.99 +setlocale: No such file or directory
   1.100 +Domain Araybwyn defined from /tmp/tmp.G2hFEjLYp6
   1.101 +Starting new virtual machine [Araybwyn]
   1.102 +setlocale: No such file or directory
   1.103 +Domain Araybwyn started
   1.104 +
   1.105 +
   1.106 +[Stevedore@Araybwyn ~]$ 
   1.107 +
   1.108 +
   1.109 +# -----------------------------------------------------
   1.110 +# Add secret function.
   1.111 +# -----------------------------------------------------
   1.112 +
   1.113 +    secrethost='stv@shepseskaf.roe.ac.uk'
   1.114 +    secretfile='${HOME:?}/secret.store.20181212'
   1.115 +
   1.116 +    secret()
   1.117 +    {
   1.118 +        local key=${1:?}
   1.119 +        ssh -o 'VisualHostKey=no' "${secrethost:?}" "sed -n 's/${key}=\\(.*\\)/\\1/p' \"${secretfile:?}\"" 
   1.120 +    }
   1.121 +
   1.122 +    secret 'firethorn.ssh.keys' >> "${HOME}/.ssh/authorized_keys"
   1.123 +
   1.124 +
   1.125 +
   1.126 +# -----------------------------------------------------
   1.127 +# Set the target branch and builtag
   1.128 +# -----------------------------------------------------
   1.129 +
   1.130 +
   1.131 +    export buildtag=2.1.33
   1.132 +    export branch=default
   1.133 +
   1.134 +
   1.135 +
   1.136 +
   1.137 +# -----------------------------------------------------
   1.138 +# Create our chain.properties file
   1.139 +# -----------------------------------------------------
   1.140 +
   1.141 +cat > "${HOME:?}/chain.properties" << EOF
   1.142 +
   1.143 +metadata=postgres
   1.144 +metauser=$(pwgen 20 1)
   1.145 +metapass=$(pwgen 20 1)
   1.146 +
   1.147 +userhost=$(secret 'firethorn.user.host')
   1.148 +userdata=$(secret 'firethorn.user.data')
   1.149 +useruser=$(secret 'firethorn.user.user')
   1.150 +userpass=$(secret 'firethorn.user.pass')
   1.151 +usertype=mssql
   1.152 +
   1.153 +datahost=$(secret 'firethorn.data.host')
   1.154 +datadata=$(secret 'firethorn.data.data')
   1.155 +datacatalog=$(secret 'firethorn.data.catalog')
   1.156 +datatype=$(secret 'firethorn.data.type')
   1.157 +datauser=$(secret 'firethorn.data.user')
   1.158 +datapass=$(secret 'firethorn.data.pass')
   1.159 +
   1.160 +tapschemadata=$(secret 'firethorn.tapschema.database.name')
   1.161 +tapschemauser=$(secret 'firethorn.tapschema.database.user')
   1.162 +tapschemapass=$(secret 'firethorn.tapschema.database.pass')
   1.163 +tapschemahost=$(secret 'firethorn.tapschema.database.host')
   1.164 +tapschemaport=$(secret 'firethorn.tapschema.database.port')
   1.165 +tapschematype=$(secret 'firethorn.tapschema.database.type')
   1.166 +tapschemajdbc=$(secret 'firethorn.tapschema.jdbc.name')
   1.167 +
   1.168 +tunneluser=$(secret 'ssh.tunnel.user')
   1.169 +tunnelhost=$(secret 'ssh.tunnel.host')
   1.170 +
   1.171 +admingroup=$(pwgen 20 1)	
   1.172 +adminuser=$(pwgen 20 1)
   1.173 +adminpass=$(pwgen 20 1)
   1.174 +
   1.175 +adql_query_delay_first=$(secret 'adql.query.delay.first')
   1.176 + 
   1.177 +firethorn_limits_rows_absolute=$(secret 'firethorn.limits.rows.absolute')
   1.178 +firethorn_limits_rows_default=$(secret 'firethorn.limits.rows.default')
   1.179 +
   1.180 +guestgroup=friends
   1.181 +endpoint=$(secret 'endpoint')
   1.182 +
   1.183 +EOF
   1.184 +
   1.185 +
   1.186 +
   1.187 +# -----------------------------------------------------
   1.188 +# Create our Firethorn properties.
   1.189 +# -----------------------------------------------------
   1.190 +
   1.191 +source "${HOME:?}/chain.properties"
   1.192 +cat > "${HOME:?}/firethorn.properties" << EOF
   1.193 +
   1.194 +firethorn.meta.type=pgsql
   1.195 +firethorn.meta.driver=org.postgresql.Driver
   1.196 +firethorn.meta.host=bethany
   1.197 +firethorn.meta.url=jdbc:postgresql://bethany/${metadata}
   1.198 +firethorn.meta.data=postgres
   1.199 +firethorn.meta.user=${metauser:?}
   1.200 +firethorn.meta.pass=${metapass:?}
   1.201 +
   1.202 +firethorn.user.type=mssql
   1.203 +firethorn.user.url=jdbc:jtds:sqlserver://${userhost:?}/${userdata:?}
   1.204 +firethorn.user.driver=net.sourceforge.jtds.jdbc.Driver
   1.205 +firethorn.user.host=${userhost:?}
   1.206 +firethorn.user.data=${userdata:?}
   1.207 +firethorn.user.user=${useruser:?}
   1.208 +firethorn.user.pass=${userpass:?}
   1.209 +
   1.210 +firethorn.tapschema.resource.name=${tapschemajdbc}
   1.211 +firethorn.tapschema.database.name=${tapschemadata}
   1.212 +firethorn.tapschema.database.host=${tapschemahost}
   1.213 +firethorn.tapschema.database.port=${tapschemaport}
   1.214 +firethorn.tapschema.database.user=${tapschemauser}
   1.215 +firethorn.tapschema.database.pass=${tapschemapass}
   1.216 +
   1.217 +firethorn.admin.community=${admingroup:?}
   1.218 +firethorn.admin.user.name=${adminuser:?}
   1.219 +firethorn.admin.user.pass=${adminpass:?}
   1.220 +
   1.221 +firethorn.guest.community=${guestgroup:?}
   1.222 +
   1.223 +adql.query.delay.first=${adql_query_delay_first:?}
   1.224 +
   1.225 +firethorn.limits.rows.absolute=${firethorn_limits_rows_absolute:?}
   1.226 +firethorn.limits.rows.default=${firethorn_limits_rows_default:?}
   1.227 +	
   1.228 +
   1.229 +EOF
   1.230 +
   1.231 +
   1.232 +
   1.233 +# -----------------------------------------------------
   1.234 +# Create our compose env file.
   1.235 +# -----------------------------------------------------
   1.236 +
   1.237 +source "${HOME:?}/chain.properties"
   1.238 +cat > "${HOME:?}/.env" << EOF
   1.239 +
   1.240 +	buildtag=${branch:?}
   1.241 +
   1.242 +	metadata=postgres
   1.243 +	metauser=${metauser:?}
   1.244 +	metapass=${metapass:?}
   1.245 +
   1.246 +        datadata=${datadata:?}
   1.247 +        datauser=${datauser:?}
   1.248 +        datapass=${datapass:?}
   1.249 +	datahost=${datahost:?}
   1.250 +	datacatalog=${datacatalog:?}
   1.251 +	datatype=mssql
   1.252 +
   1.253 +	tapschemadata=${tapschemadata:?}
   1.254 +	tapschemauser=${tapschemauser:?}
   1.255 +	tapschemapass=${tapschemapass:?}
   1.256 +	tapschemahost=${tapschemahost}
   1.257 +	tapschemaport=${tapschemaport:?}
   1.258 +	tapschemajdbc=${tapschemajdbc:?}
   1.259 +	tapschematype=${tapschematype:?}
   1.260 +
   1.261 +	userhost=${userhost:?}
   1.262 +	userdata=${userdata:?}
   1.263 +	useruser=${useruser:?}
   1.264 +	userpass=${userpass:?}
   1.265 +        usertype=mssql
   1.266 +
   1.267 +	admingroup=${admingroup:?}
   1.268 +	adminuser=${adminuser:?}
   1.269 +	adminpass=${adminpass:?}
   1.270 +	guestgroup=${guestgroup:?}
   1.271 +
   1.272 +	adql_query_delay_first=${adql_query_delay_first:?}
   1.273 +	
   1.274 +	firethorn_limits_rows_absolute=${firethorn_limits_rows_absolute:?}
   1.275 +	firethorn_limits_rows_default=${firethorn_limits_rows_default:?}
   1.276 +
   1.277 +	endpoint=${endpoint:?}
   1.278 +EOF
   1.279 +
   1.280 +
   1.281 +
   1.282 +
   1.283 +# -----------------------------------------------------
   1.284 +# Fetch the TAP Deployer
   1.285 +# -----------------------------------------------------
   1.286 +
   1.287 +
   1.288 + wget http://wfau.metagrid.co.uk/code/firethorn/raw-file/20b8901d807c/docker/compose/deploy/tap-deployer.yml  -O  docker-compose.yml
   1.289 +
   1.290 +
   1.291 +
   1.292 +# -----------------------------------------------------
   1.293 +# Run Docker Compose tap-deployer.yml from firethorn.py
   1.294 +# -----------------------------------------------------
   1.295 +
   1.296 +
   1.297 +source "${HOME:?}/chain.properties"
   1.298 +
   1.299 +docker-compose --file "docker-compose.yml" run firethorn-py
   1.300 +
   1.301 +import firethorn
   1.302 +import firethorn_utils.configurator as configur
   1.303 +ft = firethorn.Firethorn(endpoint="http://gillian:8080/firethorn")
   1.304 +ft.login(firethorn.config.adminuser, firethorn.config.adminpass, firethorn.config.admingroup)
   1.305 +configurator =  configur.Configurator(ft)
   1.306 +configurator.load_resources("/home/firethorn.py/firethorn/data/osa-tap.json")
   1.307 +
   1.308 +Importing JDBC Schema: ATLASDR1
   1.309 +Importing JDBC Schema: ATLASDR2
   1.310 +Importing JDBC Schema: ATLASDR3
   1.311 +Importing JDBC Schema: 2MASS
   1.312 +Importing JDBC Schema: 2XMM
   1.313 +Importing JDBC Schema: WISE
   1.314 +Importing JDBC Schema: VIKINGDR3
   1.315 +Importing JDBC Schema: VHSDR1
   1.316 +Importing JDBC Schema: MGC
   1.317 +Importing JDBC Schema: GLIMPSE
   1.318 +Importing JDBC Schema: FIRST
   1.319 +Importing JDBC Schema: DENIS
   1.320 +TAP Service available at: http://gillian:8080/firethorn/tap/54/
   1.321 +
   1.322 +configurator.load_resources("/home/firethorn.py/firethorn/data/ssa-tap.json")
   1.323 +Importing JDBC Schema: SSA
   1.324 +Importing JDBC Schema: 2MASS
   1.325 +Importing JDBC Schema: 2MPZ
   1.326 +Importing JDBC Schema: WISExSCOSPZ
   1.327 +Importing JDBC Schema: SDSSDR1
   1.328 +Importing JDBC Schema: SDSSDR5
   1.329 +Importing JDBC Schema: SDSSDR7
   1.330 +Importing JDBC Schema: SDSSDR8
   1.331 +Importing JDBC Schema: SDSSDR9
   1.332 +Importing JDBC Schema: 6dF
   1.333 +TAP Service available at: http://gillian:8080/firethorn/tap/57/
   1.334 +
   1.335 +configurator.load_resources("/home/firethorn.py/firethorn/data/vsa-tap.json")
   1.336 +Importing JDBC Schema: VVVDR1
   1.337 +Importing JDBC Schema: VVVDR2
   1.338 +Importing JDBC Schema: VVVDR4
   1.339 +ERROR:root:HTTP Error 404: 
   1.340 +Traceback (most recent call last):
   1.341 +  File "/usr/local/lib/python3.5/dist-packages/firethorn/models/base/base_object.py", line 90, in get_json
   1.342 +    with urllib.request.urlopen( req, data) as response:
   1.343 +  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
   1.344 +    return opener.open(url, data, timeout)
   1.345 +  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
   1.346 +    response = meth(req, response)
   1.347 +  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
   1.348 +    'http', request, response, code, msg, hdrs)
   1.349 +  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
   1.350 +    return self._call_chain(*args)
   1.351 +  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
   1.352 +    result = func(*args)
   1.353 +  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
   1.354 +    raise HTTPError(req.full_url, code, msg, hdrs, fp)
   1.355 +urllib.error.HTTPError: HTTP Error 404: 
   1.356 +ERROR:root:Expecting value: line 1 column 1 (char 0)
   1.357 +Traceback (most recent call last):
   1.358 +  File "/usr/local/lib/python3.5/dist-packages/firethorn/models/adql/adql_resource.py", line 112, in import_jdbc_schema
   1.359 +    response_json_list = json.loads(response.text)
   1.360 +  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
   1.361 +    return _default_decoder.decode(s)
   1.362 +  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
   1.363 +    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
   1.364 +  File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
   1.365 +    raise JSONDecodeError("Expecting value", s, err.value) from None
   1.366 +json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
   1.367 +Importing JDBC Schema: VHSDR1
   1.368 +Importing JDBC Schema: VHSDR2
   1.369 +Importing JDBC Schema: VHSDR3
   1.370 +Importing JDBC Schema: VMCDR1
   1.371 +Importing JDBC Schema: VMCDR2
   1.372 +Importing JDBC Schema: VMCDR3
   1.373 +Importing JDBC Schema: VMCDR4
   1.374 +Importing JDBC Schema: VIKINGDR2
   1.375 +Importing JDBC Schema: VIKINGDR3
   1.376 +Importing JDBC Schema: VIKINGDR4
   1.377 +Importing JDBC Schema: VIDEODR2
   1.378 +Importing JDBC Schema: VIDEODR3
   1.379 +Importing JDBC Schema: VIDEODR4
   1.380 +Importing JDBC Schema: VIDEODR5
   1.381 +Importing JDBC Schema: UKIDSSDR4PLUS
   1.382 +Importing JDBC Schema: UKIDSSDR5PLUS
   1.383 +Importing JDBC Schema: UKIDSSDR6PLUS
   1.384 +Importing JDBC Schema: UKIDSSDR7PLUS
   1.385 +Importing JDBC Schema: UKIDSSDR8PLUS
   1.386 +Importing JDBC Schema: UKIDSSDR9PLUS
   1.387 +Importing JDBC Schema: UKIDSSDR10PLUS
   1.388 +Importing JDBC Schema: SDSSDR1
   1.389 +Importing JDBC Schema: SDSSDR3
   1.390 +Importing JDBC Schema: SDSSDR5
   1.391 +Importing JDBC Schema: SDSSDR7
   1.392 +Importing JDBC Schema: SDSSDR8
   1.393 +Importing JDBC Schema: SDSSDR9
   1.394 +Importing JDBC Schema: 2MASS
   1.395 +Importing JDBC Schema: ROSAT
   1.396 +Importing JDBC Schema: FIRST
   1.397 +Importing JDBC Schema: IRAS
   1.398 +Importing JDBC Schema: SSA
   1.399 +Importing JDBC Schema: GLIMPSE
   1.400 +Importing JDBC Schema: 2XMM
   1.401 +Importing JDBC Schema: MGC
   1.402 +Importing JDBC Schema: Stripe82
   1.403 +Importing JDBC Schema: WISE
   1.404 +TAP Service available at: http://gillian:8080/firethorn/tap/60/
   1.405 +
   1.406 +configurator.load_resources("/home/firethorn.py/firethorn/data/wsa-tap.json")
   1.407 +Importing JDBC Schema: UKIDSSDR1PLUS
   1.408 +Importing JDBC Schema: UKIDSSDR2PLUS
   1.409 +Importing JDBC Schema: UKIDSSDR3PLUS
   1.410 +Importing JDBC Schema: UKIDSSDR4PLUS
   1.411 +Importing JDBC Schema: UKIDSSDR5PLUS
   1.412 +Importing JDBC Schema: UKIDSSDR6PLUS
   1.413 +Importing JDBC Schema: UKIDSSDR7PLUS
   1.414 +Importing JDBC Schema: UKIDSSDR8PLUS
   1.415 +Importing JDBC Schema: UKIDSSDR9PLUS
   1.416 +Importing JDBC Schema: UKIDSSDR10PLUS
   1.417 +Importing JDBC Schema: SDSSDR1
   1.418 +Importing JDBC Schema: SDSSDR3
   1.419 +Importing JDBC Schema: SDSSDR5
   1.420 +Importing JDBC Schema: SDSSDR7
   1.421 +Importing JDBC Schema: SDSSDR8
   1.422 +Importing JDBC Schema: SDSSDR9
   1.423 +Importing JDBC Schema: 2MASS
   1.424 +Importing JDBC Schema: ROSAT
   1.425 +Importing JDBC Schema: FIRST
   1.426 +Importing JDBC Schema: IRAS
   1.427 +Importing JDBC Schema: SSA
   1.428 +Importing JDBC Schema: GLIMPSE
   1.429 +Importing JDBC Schema: 2XMM
   1.430 +Importing JDBC Schema: MGC
   1.431 +Importing JDBC Schema: Stripe82
   1.432 +Importing JDBC Schema: WISE
   1.433 +TAP Service available at: http://gillian:8080/firethorn/tap/63/
   1.434 +
   1.435 +
   1.436 +
   1.437 +# -----------------------------------------------------
   1.438 +# WFAU TAP Service endpoints
   1.439 +# -----------------------------------------------------
   1.440 +
   1.441 +TAP Service available at: http://gillian:8080/firethorn/tap/54/ - OSA
   1.442 +TAP Service available at: http://gillian:8080/firethorn/tap/57/ - SSA
   1.443 +TAP Service available at: http://gillian:8080/firethorn/tap/60/ - VSA
   1.444 +TAP Service available at: http://gillian:8080/firethorn/tap/63/ - WSA
   1.445 +
   1.446 +
   1.447 +
   1.448 +# -----------------------------------------------------
   1.449 +# Update the Proxy Entry
   1.450 +# -----------------------------------------------------
   1.451 +ssh Stevedore@Acilamwen 
   1.452 +
   1.453 +[Stevedore@Acilamwen ~]$ nano tap.roe.ac.uk.conf 
   1.454 +
   1.455 +..
   1.456 +    ## PROXY ENTRIES HERE ##
   1.457 +    ProxyPassMatch    ^/osa\/(.*)$  http://araybwyn:8080/firethorn/tap/54/$1
   1.458 +    ProxyPassReverse  ^/osa\/(.*)$  http://araybwyn:8080/firethorn/tap/54/$1
   1.459 +
   1.460 +    ProxyPassMatch    ^/ssa\/(.*)$  http://araybwyn:8080/firethorn/tap/57/$1
   1.461 +    ProxyPassReverse  ^/ssa\/(.*)$  http://araybwyn:8080/firethorn/tap/57/$1
   1.462 +
   1.463 +    ProxyPassMatch    ^/vsa\/(.*)$  http://araybwyn:8080/firethorn/tap/60/$1
   1.464 +    ProxyPassReverse  ^/vsa\/(.*)$  http://araybwyn:8080/firethorn/tap/60/$1
   1.465 +
   1.466 +    ProxyPassMatch    ^/wsa\/(.*)$  http://araybwyn:8080/firethorn/tap/63/$1
   1.467 +    ProxyPassReverse  ^/wsa\/(.*)$  http://araybwyn:8080/firethorn/tap/63/$1
   1.468 +
   1.469 +    ProxyPassMatch    ^/firethorn\/(.*)$  http://araybwyn:8080/firethorn/$1
   1.470 +    ProxyPassReverse  ^/firethorn\/(.*)$  http://araybwyn:8080/firethorn/$1
   1.471 +
   1.472 +
   1.473 +
   1.474 +...   
   1.475 +
   1.476 +[Stevedore@Acilamwen ~]$ nano tap.roe.ac.uk.conf 
   1.477 +[Stevedore@Acilamwen ~]$ docker exec -it  apache bash
   1.478 +[root@bc8d6979e451 /]# nano /etc/httpd/conf.d/tap.roe.ac.uk.conf
   1.479 +
   1.480 +..
   1.481 +
   1.482 +    ## PROXY ENTRIES HERE ##
   1.483 +    ProxyPassMatch    ^/osa\/(.*)$  http://araybwyn:8080/firethorn/tap/54/$1
   1.484 +    ProxyPassReverse  ^/osa\/(.*)$  http://araybwyn:8080/firethorn/tap/54/$1
   1.485 +
   1.486 +    ProxyPassMatch    ^/ssa\/(.*)$  http://araybwyn:8080/firethorn/tap/57/$1
   1.487 +    ProxyPassReverse  ^/ssa\/(.*)$  http://araybwyn:8080/firethorn/tap/57/$1
   1.488 +
   1.489 +    ProxyPassMatch    ^/vsa\/(.*)$  http://araybwyn:8080/firethorn/tap/60/$1
   1.490 +    ProxyPassReverse  ^/vsa\/(.*)$  http://araybwyn:8080/firethorn/tap/60/$1
   1.491 +
   1.492 +    ProxyPassMatch    ^/wsa\/(.*)$  http://araybwyn:8080/firethorn/tap/63/$1
   1.493 +    ProxyPassReverse  ^/wsa\/(.*)$  http://araybwyn:8080/firethorn/tap/63/$1
   1.494 +
   1.495 +    ProxyPassMatch    ^/firethorn\/(.*)$  http://araybwyn:8080/firethorn/$1
   1.496 +    ProxyPassReverse  ^/firethorn\/(.*)$  http://araybwyn:8080/firethorn/$1
   1.497 +
   1.498 +
   1.499 +
   1.500 +..
   1.501 +[root@bc8d6979e451 /]# exit
   1.502 +exit
   1.503 +
   1.504 +[Stevedore@Acilamwen ~]$ docker kill --signal 'USR1' 'apache'
   1.505 +