Dobrica Pavlinušić's random unstructured stuff
Seaside cluster: Revision 17
monitrc

nginx.sh

seaside.sh



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


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/

Startup

Seaside.sh - use something like this script to start headless squeak.

Actual -headless option didn't seem to work for me

Front-end HTTP proxy



Links

Compilation and packaging

dpavlin@llin:/rest/unix/www$ wget http://sysoev.ru/nginx/nginx-0.7.31.tar.gz

dpavlin@llin:/rest/unix/www$ tar tvfz nginx-0.7.31.tar.gz

dpavlin@llin:/rest/unix/www/nginx-0.7.31$ ./configure --with-http_ssl_module --prefix=/srv/nginx

make

sudo checkinstall


Installation

root@seaside:~# dpkg -i nginx_0.7.31-1_i386.deb 
Selecting previously deselected package nginx.
(Reading database ... 8333 files and directories currently installed.)
Unpacking nginx (from nginx_0.7.31-1_i386.deb) ...
Setting up nginx (0.7.31-1) ...
root@seaside:~# cd /srv/nginx/

Changes

  • fix extension

    fix extension
    
    • [DH] nginx_upstream_hash/NginxHttpUpstreamRequestHashModule,html
    • [DH] nginx_upstream_hash/NginxHttpUpstreamRequestHashModule.html

  • http://wiki.codemongers.com/NginxHttpUpstreamRequestHashModule

    wiki.codemongers.com/NginxHttpUpstreamRequestHashModule
    
    • [DH] nginx_upstream_hash/NginxHttpUpstreamRequestHashModule,html

  • patch -p0 < ../nginx_upstream_hash/nginx.patch

    patch -p0 < ../nginx_upstream_hash/nginx.patch
    
    • [DH] nginx/src/http/ngx_http_upstream.h

  • nginx_upstream_hash-0.3.tar.gz http://wiki.codemongers.com/NginxHttpUpstreamRequestHa...

    nginx_upstream_hash-0.3.tar.gz wiki.codemongers.com/NginxHttpUpstreamRequestHashModule
    
    • [DH] nginx_upstream_hash/CHANGES
    • [DH] nginx_upstream_hash/CREDITS
    • [DH] nginx_upstream_hash/README
    • [DH] nginx_upstream_hash/config
    • [DH] nginx_upstream_hash/nginx.patch
    • [DH] nginx_upstream_hash/ngx_http_upstream_hash_module.c
    • [DH] nginx_upstream_hash/t/clean.sh
    • [DH] nginx_upstream_hash/t/hashtest.php
    • [DH] nginx_upstream_hash/t/nginx.conf
    • [DH] nginx_upstream_hash/t/nginx/conf/nginx.conf
    • [DH] nginx_upstream_hash/t/restart.sh

  • upstream nginx-0.7.31

    upstream nginx-0.7.31
    
    • [DH] nginx/CHANGES
    • [DH] nginx/CHANGES.ru
    • [DH] nginx/LICENSE
    • [DH] nginx/README
    • [DH] nginx/auto/cc/acc
    • [DH] nginx/auto/cc/bcc
    • [DH] nginx/auto/cc/ccc
    • [DH] nginx/auto/cc/conf
    • [DH] nginx/auto/cc/gcc
    • [DH] nginx/auto/cc/icc
    • [DH] nginx/auto/cc/msvc
    • [DH] nginx/auto/cc/name
    • [DH] nginx/auto/cc/owc
    • [DH] nginx/auto/cc/sunc
    • [DH] nginx/auto/define
    • [DH] nginx/auto/endianess
    • [DH] nginx/auto/feature
    • [DH] nginx/auto/have
    • [DH] nginx/auto/have_headers
    • [DH] nginx/auto/headers
    • [DH] nginx/auto/include
    • [DH] nginx/auto/init
    • [DH] nginx/auto/install
    • [DH] nginx/auto/lib/conf
    • [DH] nginx/auto/lib/google-perftools/conf
    • [DH] nginx/auto/lib/libxslt/conf
    • [DH] nginx/auto/lib/make
    • [DH] nginx/auto/lib/md5/conf
    • [DH] nginx/auto/lib/md5/make
    • [DH] nginx/auto/lib/md5/makefile.bcc
    • [DH] nginx/auto/lib/md5/makefile.msvc
    • [DH] nginx/auto/lib/md5/makefile.owc
    • [DH] nginx/auto/lib/openssl/conf
    • [DH] nginx/auto/lib/openssl/make
    • [DH] nginx/auto/lib/pcre/conf
    • [DH] nginx/auto/lib/pcre/make
    • [DH] nginx/auto/lib/pcre/makefile.bcc
    • [DH] nginx/auto/lib/pcre/makefile.msvc
    • [DH] nginx/auto/lib/pcre/makefile.owc
    • [DH] nginx/auto/lib/pcre/patch.config.in
    • [DH] nginx/auto/lib/pcre/patch.pcre.c
    • [DH] nginx/auto/lib/pcre/patch.pcre.in
    • [DH] nginx/auto/lib/pcre/patch.pcre.in.owc
    • [DH] nginx/auto/lib/perl/conf
    • [DH] nginx/auto/lib/perl/make
    • [DH] nginx/auto/lib/sha1/conf
    • [DH] nginx/auto/lib/sha1/make
    • [DH] nginx/auto/lib/sha1/makefile.bcc
    • [DH] nginx/auto/lib/sha1/makefile.msvc
    • [DH] nginx/auto/lib/sha1/makefile.owc
    • [DH] nginx/auto/lib/test
    • [DH] nginx/auto/lib/zlib/conf
    • [DH] nginx/auto/lib/zlib/make
    • [DH] nginx/auto/lib/zlib/makefile.bcc
    • [DH] nginx/auto/lib/zlib/makefile.msvc
    • [DH] nginx/auto/lib/zlib/makefile.owc
    • [DH] nginx/auto/lib/zlib/patch.zlib.h
    • [DH] nginx/auto/make
    • [DH] nginx/auto/modules
    • [DH] nginx/auto/nohave
    • [DH] nginx/auto/options
    • [DH] nginx/auto/os/conf
    • [DH] nginx/auto/os/darwin
    • [DH] nginx/auto/os/features
    • [DH] nginx/auto/os/freebsd
    • [DH] nginx/auto/os/linux
    • [DH] nginx/auto/os/solaris
    • [DH] nginx/auto/os/win32
    • [DH] nginx/auto/sources
    • [DH] nginx/auto/stubs
    • [DH] nginx/auto/summary
    • [DH] nginx/auto/threads
    • [DH] nginx/auto/types/sizeof
    • [DH] nginx/auto/types/typedef
    • [DH] nginx/auto/types/uintptr_t
    • [DH] nginx/auto/types/value
    • [DH] nginx/auto/unix
    • [DH] nginx/conf/fastcgi_params
    • [DH] nginx/conf/koi-utf
    • [DH] nginx/conf/koi-win
    • [DH] nginx/conf/mime.types
    • [DH] nginx/conf/nginx.conf
    • [DH] nginx/conf/win-utf
    • [DH] nginx/configure
    • [DH] nginx/contrib/README
    • [DH] nginx/contrib/geo2nginx.pl
    • [DH] nginx/contrib/unicode2nginx/koi-utf
    • [DH] nginx/contrib/unicode2nginx/unicode-to-nginx.pl
    • [DH] nginx/contrib/unicode2nginx/win-utf
    • [DH] nginx/html/50x.html
    • [DH] nginx/html/index.html
    • [DH] nginx/src/core/nginx.c
    • [DH] nginx/src/core/nginx.h
    • [DH] nginx/src/core/ngx_array.c
    • [DH] nginx/src/core/ngx_array.h
    • [DH] nginx/src/core/ngx_buf.c
    • [DH] nginx/src/core/ngx_buf.h
    • [DH] nginx/src/core/ngx_conf_file.c
    • [DH] nginx/src/core/ngx_conf_file.h
    • [DH] nginx/src/core/ngx_config.h
    • [DH] nginx/src/core/ngx_connection.c
    • [DH] nginx/src/core/ngx_connection.h
    • [DH] nginx/src/core/ngx_core.h
    • [DH] nginx/src/core/ngx_cpuinfo.c
    • [DH] nginx/src/core/ngx_crc.h
    • [DH] nginx/src/core/ngx_crc32.c
    • [DH] nginx/src/core/ngx_crc32.h
    • [DH] nginx/src/core/ngx_cycle.c
    • [DH] nginx/src/core/ngx_cycle.h
    • [DH] nginx/src/core/ngx_file.c
    • [DH] nginx/src/core/ngx_file.h
    • [DH] nginx/src/core/ngx_garbage_collector.c
    • [DH] nginx/src/core/ngx_garbage_collector.h
    • [DH] nginx/src/core/ngx_hash.c
    • [DH] nginx/src/core/ngx_hash.h
    • [DH] nginx/src/core/ngx_inet.c
    • [DH] nginx/src/core/ngx_inet.h
    • [DH] nginx/src/core/ngx_list.c
    • [DH] nginx/src/core/ngx_list.h
    • [DH] nginx/src/core/ngx_log.c
    • [DH] nginx/src/core/ngx_log.h
    • [DH] nginx/src/core/ngx_md5.h
    • [DH] nginx/src/core/ngx_open_file_cache.c
    • [DH] nginx/src/core/ngx_open_file_cache.h
    • [DH] nginx/src/core/ngx_output_chain.c
    • [DH] nginx/src/core/ngx_palloc.c
    • [DH] nginx/src/core/ngx_palloc.h
    • [DH] nginx/src/core/ngx_parse.c
    • [DH] nginx/src/core/ngx_parse.h
    • [DH] nginx/src/core/ngx_queue.c
    • [DH] nginx/src/core/ngx_queue.h
    • [DH] nginx/src/core/ngx_radix_tree.c
    • [DH] nginx/src/core/ngx_radix_tree.h
    • [DH] nginx/src/core/ngx_rbtree.c
    • [DH] nginx/src/core/ngx_rbtree.h
    • [DH] nginx/src/core/ngx_regex.c
    • [DH] nginx/src/core/ngx_regex.h
    • [DH] nginx/src/core/ngx_resolver.c
    • [DH] nginx/src/core/ngx_resolver.h
    • [DH] nginx/src/core/ngx_sha1.h
    • [DH] nginx/src/core/ngx_shmtx.c
    • [DH] nginx/src/core/ngx_shmtx.h
    • [DH] nginx/src/core/ngx_slab.c
    • [DH] nginx/src/core/ngx_slab.h
    • [DH] nginx/src/core/ngx_spinlock.c
    • [DH] nginx/src/core/ngx_string.c
    • [DH] nginx/src/core/ngx_string.h
    • [DH] nginx/src/core/ngx_times.c
    • [DH] nginx/src/core/ngx_times.h
    • [DH] nginx/src/event/modules/ngx_aio_module.c
    • [DH] nginx/src/event/modules/ngx_devpoll_module.c
    • [DH] nginx/src/event/modules/ngx_epoll_module.c
    • [DH] nginx/src/event/modules/ngx_eventport_module.c
    • [DH] nginx/src/event/modules/ngx_kqueue_module.c
    • [DH] nginx/src/event/modules/ngx_kqueue_module.h
    • [DH] nginx/src/event/modules/ngx_poll_module.c
    • [DH] nginx/src/event/modules/ngx_rtsig_module.c
    • [DH] nginx/src/event/modules/ngx_select_module.c
    • [DH] nginx/src/event/ngx_event.c
    • [DH] nginx/src/event/ngx_event.h
    • [DH] nginx/src/event/ngx_event_accept.c
    • [DH] nginx/src/event/ngx_event_busy_lock.c
    • [DH] nginx/src/event/ngx_event_busy_lock.h
    • [DH] nginx/src/event/ngx_event_connect.c
    • [DH] nginx/src/event/ngx_event_connect.h
    • [DH] nginx/src/event/ngx_event_mutex.c
    • [DH] nginx/src/event/ngx_event_openssl.c
    • [DH] nginx/src/event/ngx_event_openssl.h
    • [DH] nginx/src/event/ngx_event_pipe.c
    • [DH] nginx/src/event/ngx_event_pipe.h
    • [DH] nginx/src/event/ngx_event_posted.c
    • [DH] nginx/src/event/ngx_event_posted.h
    • [DH] nginx/src/event/ngx_event_timer.c
    • [DH] nginx/src/event/ngx_event_timer.h
    • [DH] nginx/src/http/modules/ngx_http_access_module.c
    • [DH] nginx/src/http/modules/ngx_http_addition_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_auth_basic_module.c
    • [DH] nginx/src/http/modules/ngx_http_autoindex_module.c
    • [DH] nginx/src/http/modules/ngx_http_browser_module.c
    • [DH] nginx/src/http/modules/ngx_http_charset_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_chunked_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_dav_module.c
    • [DH] nginx/src/http/modules/ngx_http_empty_gif_module.c
    • [DH] nginx/src/http/modules/ngx_http_fastcgi_module.c
    • [DH] nginx/src/http/modules/ngx_http_flv_module.c
    • [DH] nginx/src/http/modules/ngx_http_geo_module.c
    • [DH] nginx/src/http/modules/ngx_http_gzip_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_gzip_static_module.c
    • [DH] nginx/src/http/modules/ngx_http_headers_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_index_module.c
    • [DH] nginx/src/http/modules/ngx_http_limit_req_module.c
    • [DH] nginx/src/http/modules/ngx_http_limit_zone_module.c
    • [DH] nginx/src/http/modules/ngx_http_log_module.c
    • [DH] nginx/src/http/modules/ngx_http_map_module.c
    • [DH] nginx/src/http/modules/ngx_http_memcached_module.c
    • [DH] nginx/src/http/modules/ngx_http_not_modified_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_proxy_module.c
    • [DH] nginx/src/http/modules/ngx_http_random_index_module.c
    • [DH] nginx/src/http/modules/ngx_http_range_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_realip_module.c
    • [DH] nginx/src/http/modules/ngx_http_referer_module.c
    • [DH] nginx/src/http/modules/ngx_http_rewrite_module.c
    • [DH] nginx/src/http/modules/ngx_http_secure_link_module.c
    • [DH] nginx/src/http/modules/ngx_http_ssi_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_ssi_filter_module.h
    • [DH] nginx/src/http/modules/ngx_http_ssl_module.c
    • [DH] nginx/src/http/modules/ngx_http_ssl_module.h
    • [DH] nginx/src/http/modules/ngx_http_static_module.c
    • [DH] nginx/src/http/modules/ngx_http_stub_status_module.c
    • [DH] nginx/src/http/modules/ngx_http_sub_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_upstream_ip_hash_module.c
    • [DH] nginx/src/http/modules/ngx_http_userid_filter_module.c
    • [DH] nginx/src/http/modules/ngx_http_xslt_filter_module.c
    • [DH] nginx/src/http/modules/perl/Makefile.PL
    • [DH] nginx/src/http/modules/perl/nginx.pm
    • [DH] nginx/src/http/modules/perl/nginx.xs
    • [DH] nginx/src/http/modules/perl/ngx_http_perl_module.c
    • [DH] nginx/src/http/modules/perl/ngx_http_perl_module.h
    • [DH] nginx/src/http/modules/perl/typemap
    • [DH] nginx/src/http/ngx_http.c
    • [DH] nginx/src/http/ngx_http.h
    • [DH] nginx/src/http/ngx_http_busy_lock.c
    • [DH] nginx/src/http/ngx_http_busy_lock.h
    • [DH] nginx/src/http/ngx_http_cache.c
    • [DH] nginx/src/http/ngx_http_cache.h
    • [DH] nginx/src/http/ngx_http_config.h
    • [DH] nginx/src/http/ngx_http_copy_filter_module.c
    • [DH] nginx/src/http/ngx_http_core_module.c
    • [DH] nginx/src/http/ngx_http_core_module.h
    • [DH] nginx/src/http/ngx_http_file_cache.c
    • [DH] nginx/src/http/ngx_http_header_filter_module.c
    • [DH] nginx/src/http/ngx_http_parse.c
    • [DH] nginx/src/http/ngx_http_parse_time.c
    • [DH] nginx/src/http/ngx_http_postpone_filter_module.c
    • [DH] nginx/src/http/ngx_http_request.c
    • [DH] nginx/src/http/ngx_http_request.h
    • [DH] nginx/src/http/ngx_http_request_body.c
    • [DH] nginx/src/http/ngx_http_script.c
    • [DH] nginx/src/http/ngx_http_script.h
    • [DH] nginx/src/http/ngx_http_special_response.c
    • [DH] nginx/src/http/ngx_http_upstream.c
    • [DH] nginx/src/http/ngx_http_upstream.h
    • [DH] nginx/src/http/ngx_http_upstream_round_robin.c
    • [DH] nginx/src/http/ngx_http_upstream_round_robin.h
    • [DH] nginx/src/http/ngx_http_variables.c
    • [DH] nginx/src/http/ngx_http_variables.h
    • [DH] nginx/src/http/ngx_http_write_filter_module.c
    • [DH] nginx/src/mail/ngx_mail.c
    • [DH] nginx/src/mail/ngx_mail.h
    • [DH] nginx/src/mail/ngx_mail_auth_http_module.c
    • [DH] nginx/src/mail/ngx_mail_core_module.c
    • [DH] nginx/src/mail/ngx_mail_handler.c
    • [DH] nginx/src/mail/ngx_mail_imap_handler.c
    • [DH] nginx/src/mail/ngx_mail_imap_module.c
    • [DH] nginx/src/mail/ngx_mail_imap_module.h
    • [DH] nginx/src/mail/ngx_mail_parse.c
    • [DH] nginx/src/mail/ngx_mail_pop3_handler.c
    • [DH] nginx/src/mail/ngx_mail_pop3_module.c
    • [DH] nginx/src/mail/ngx_mail_pop3_module.h
    • [DH] nginx/src/mail/ngx_mail_proxy_module.c
    • [DH] nginx/src/mail/ngx_mail_smtp_handler.c
    • [DH] nginx/src/mail/ngx_mail_smtp_module.c
    • [DH] nginx/src/mail/ngx_mail_smtp_module.h
    • [DH] nginx/src/mail/ngx_mail_ssl_module.c
    • [DH] nginx/src/mail/ngx_mail_ssl_module.h
    • [DH] nginx/src/misc/ngx_cpp_test_module.cpp
    • [DH] nginx/src/misc/ngx_google_perftools_module.c
    • [DH] nginx/src/os/unix/ngx_aio.h
    • [DH] nginx/src/os/unix/ngx_aio_read.c
    • [DH] nginx/src/os/unix/ngx_aio_read_chain.c
    • [DH] nginx/src/os/unix/ngx_aio_write.c
    • [DH] nginx/src/os/unix/ngx_aio_write_chain.c
    • [DH] nginx/src/os/unix/ngx_alloc.c
    • [DH] nginx/src/os/unix/ngx_alloc.h
    • [DH] nginx/src/os/unix/ngx_atomic.h
    • [DH] nginx/src/os/unix/ngx_channel.c
    • [DH] nginx/src/os/unix/ngx_channel.h
    • [DH] nginx/src/os/unix/ngx_daemon.c
    • [DH] nginx/src/os/unix/ngx_darwin.h
    • [DH] nginx/src/os/unix/ngx_darwin_config.h
    • [DH] nginx/src/os/unix/ngx_darwin_init.c
    • [DH] nginx/src/os/unix/ngx_darwin_sendfile_chain.c
    • [DH] nginx/src/os/unix/ngx_errno.c
    • [DH] nginx/src/os/unix/ngx_errno.h
    • [DH] nginx/src/os/unix/ngx_files.c
    • [DH] nginx/src/os/unix/ngx_files.h
    • [DH] nginx/src/os/unix/ngx_freebsd.h
    • [DH] nginx/src/os/unix/ngx_freebsd_config.h
    • [DH] nginx/src/os/unix/ngx_freebsd_init.c
    • [DH] nginx/src/os/unix/ngx_freebsd_rfork_thread.c
    • [DH] nginx/src/os/unix/ngx_freebsd_rfork_thread.h
    • [DH] nginx/src/os/unix/ngx_freebsd_sendfile_chain.c
    • [DH] nginx/src/os/unix/ngx_gcc_atomic_amd64.h
    • [DH] nginx/src/os/unix/ngx_gcc_atomic_ppc.h
    • [DH] nginx/src/os/unix/ngx_gcc_atomic_sparc64.h
    • [DH] nginx/src/os/unix/ngx_gcc_atomic_x86.h
    • [DH] nginx/src/os/unix/ngx_linux.h
    • [DH] nginx/src/os/unix/ngx_linux_config.h
    • [DH] nginx/src/os/unix/ngx_linux_init.c
    • [DH] nginx/src/os/unix/ngx_linux_sendfile_chain.c
    • [DH] nginx/src/os/unix/ngx_os.h
    • [DH] nginx/src/os/unix/ngx_posix_config.h
    • [DH] nginx/src/os/unix/ngx_posix_init.c
    • [DH] nginx/src/os/unix/ngx_process.c
    • [DH] nginx/src/os/unix/ngx_process.h
    • [DH] nginx/src/os/unix/ngx_process_cycle.c
    • [DH] nginx/src/os/unix/ngx_process_cycle.h
    • [DH] nginx/src/os/unix/ngx_pthread_thread.c
    • [DH] nginx/src/os/unix/ngx_readv_chain.c
    • [DH] nginx/src/os/unix/ngx_recv.c
    • [DH] nginx/src/os/unix/ngx_send.c
    • [DH] nginx/src/os/unix/ngx_setproctitle.c
    • [DH] nginx/src/os/unix/ngx_setproctitle.h
    • [DH] nginx/src/os/unix/ngx_shmem.c
    • [DH] nginx/src/os/unix/ngx_shmem.h
    • [DH] nginx/src/os/unix/ngx_socket.c
    • [DH] nginx/src/os/unix/ngx_socket.h
    • [DH] nginx/src/os/unix/ngx_solaris.h
    • [DH] nginx/src/os/unix/ngx_solaris_config.h
    • [DH] nginx/src/os/unix/ngx_solaris_init.c
    • [DH] nginx/src/os/unix/ngx_solaris_sendfilev_chain.c
    • [DH] nginx/src/os/unix/ngx_sunpro_amd64.il
    • [DH] nginx/src/os/unix/ngx_sunpro_atomic_sparc64.h
    • [DH] nginx/src/os/unix/ngx_sunpro_sparc64.il
    • [DH] nginx/src/os/unix/ngx_sunpro_x86.il
    • [DH] nginx/src/os/unix/ngx_sunpro_x86.map
    • [DH] nginx/src/os/unix/ngx_thread.h
    • [DH] nginx/src/os/unix/ngx_time.c
    • [DH] nginx/src/os/unix/ngx_time.h
    • [DH] nginx/src/os/unix/ngx_udp_recv.c
    • [DH] nginx/src/os/unix/ngx_user.c
    • [DH] nginx/src/os/unix/ngx_user.h
    • [DH] nginx/src/os/unix/ngx_writev_chain.c
    • [DH] nginx/src/os/unix/rfork_thread.S




Monitoring

We 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.

Use following configuration:

  1. check syntax

root@seaside:~# /etc/init.d/monit syntax
Control file syntax OK

* "monit@squeak1"<http://seaside.rot13.org:2812/> to view current server status

^^ Test

open "http://hostname:8080/seaside/"<http://seaside.rot13.org:8080/seaside/> to test seaside

^ More info

* http://onsmalltalk.com/scaling-seaside-more-advanced-load-balancing-and-publishing
* http://blog.blobworks.com/2008/12/16/squeak-in-jail/

* https://bytesmith.seework.com