https://bugzilla.wikimedia.org/show_bug.cgi?id=50453
Tim Landscheidt changed:
What|Removed |Added
CC||benap...@gmail.com,
||m...@uberbox.org,
||t...@tim-landscheidt.de
--- Comment #1 from Tim Landscheidt ---
This should be possible now if you don't mind getting your hands dirty and
don't overload the instance :-). Cc'ing Coren to give his administrative okay;
the rest are directions for green lights:
1. Log into tools-webgrid-01.pmtpa.wmflabs and take a look at
/usr/local/bin/tool-lighttpd (that is called by "webservice start"). It
basically starts /usr/local/bin/portgrabber with "$tool" (the name of the tool
a webserver should be started for), "/usr/local/bin/lighttpd-starter" (the
program to start) and "$tool" (again; this time arguments for
lighttpd-starter).
2. portgrabber takes to the portgranter on the local host, sends it "$tool" and
gets a free port number in return.
3. portgranter sets up tools-webproxy to relay requests to
"tools.wmflabs.org/$tool/ to a webserver on that port number.
4. portgrabber then calls lighttpd-starter with the argument "$tool" and the
added port number which starts a webserver on that port number.
To braid in Netty there (or any other thing that speaks http) you need to make
a wrapper script that takes the port number as its command line argument and
starts up a Netty instance on that given port. Then you submit a job to the
queue "webgrid" with the command "portgrabber wrapper-script". This will start
portgrabber on webgrid, that will start your wrapper script with a free port,
and this can then start Netty.
--
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l