[Beowulf] Beowulf and apahce2

Christopher Samuel samuel at unimelb.edu.au
Wed Apr 3 21:57:00 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/04/13 08:26, Afonso Bione wrote:

> Hi,

Hi Afonso,

> Please, I know apache2 can do Load Balancer, but, I'm doing a 
> research cluster with low cost and if possible, I'dlike that, if
> someone would have a tip for using httpd only on node0 and
> depending on the need mpi would run automatically on node1, node2,
> node3, using their memorys and cpus.

By that do you mean the Apache processes themselves would be MPI
processes?

If that's the case I doubt if anyone has done that, serving web pages
is very much an embarrassingly parallel type application so it's
likely to be far more efficient to run the head node of the cluster as
a reverse proxy/load balancer and use the compute nodes as individual
web servers to service those requests.

There was a similar query on the Apache users list back in 2010 which
was answered along the same vein:

http://www.gossamer-threads.com/lists/apache/users/389857

If you wanted to get this going as a toy project yourself then you may
find it better to instead try and run the cluster as a single system
image (SSI) using something like OpenMOSIX, OpenSSI or Kerrighed
instead.    That way you won't need to modify Apache and they (should)
try and migrate the prefork processes around to load balance.

Note that I have no idea if any of those 3 projects are still actively
developed..

Best of luck!
Chris
- -- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFdCBwACgkQO2KABBYQAh8UeQCfRhXJA5Te7aj3hOf8gGPM88AE
GYIAn3PTXfZFAgVkH3+qm1j1UPeT87zU
=tr9h
-----END PGP SIGNATURE-----



More information about the Beowulf mailing list