Dobrica Pavlinušić's random unstructured stuff
Seaside cluster: Revision 13
This page documents my attempt to install Seaside as loadbalanced configuration with multiple squeak images under OpenVZ Create VE# download template root@mljac:~# cd /var/lib/vz/template/cache root@mljac:~# wget http://download.openvz.org/template/precreated/contrib/debian-5.0-i386-minimal.tar.gz root@mljac:~# vzctl create 1001 --ostemplate debian-5.0-i386-minimal --ipadd 10.0.0.1 --hostname gw.rot13.org # configure root@mljac:~# vzctl set 1011 --nameserver 192.168.1.2 --save Use something like vz-nat.sh to configure NAT on your OpenVZ machine. Seaside# dependencies root@seaside:/srv# apt-get install unzip root@seaside:/srv# wget -nd -nH http://www.seaside.st/distributions/Seaside-2.8.3.app.zip root@seaside:/srv# unzip Seaside-2.8.3.app.zip Archive: Seaside-2.8.3.app.zip root@seaside:/srv# ln -s Seaside-2.8-578.app seaside # create user root@seaside:/srv# adduser --no-create-home --disabled-login squeak Adding user `squeak' ... Adding new group `squeak' (1000) ... Adding new user `squeak' (1000) with group `squeak' ... Not creating home directory `/home/squeak'. root@seaside:/srv# chown -R squeak:squeak Seaside-2.8-578.app/ StartupSeaside.sh - use something like this script to start headless squeak. Actual -headless option didn't seem to work for me MonitoringWe will be using monit, light-weight process monitor written in C to monitor servers on our virtual machine. It will do startup of our services, monitor load and report alerts. For it to work, we need to have a script which will start/stop squeak. Testopen http://hostname:8080/seaside/ More info |