Version 7 (modified by 8 years ago) ( diff ) | ,
---|
Installation of a Sahana Eden Cluster
Table of Contents
Scalable 3-tier architecture:
- Database server (which could be Amazon RDS, and maybe a warm standby)
- Middleware servers (Web2Py & hence Eden)
- Web servers (e.g. Apache or Cherokee)
NB This is NOT a supported architecture currently. We have no knowledge of anyone succesfully deploying like this, although it should be theoretically possible.
We do have experience (IBM/DRK) of the DB server (PostgreSQL) running separately, which gives good performance, although when a query takes too long then mod_WSGI w3asn't able to close that process.
Middleware
Some folders will need to be on a shared filesystem (e.g. NFS):
/uploads
(or they could be synced across e.g. using rsync)/errors
{if these are to be viewed using Web UI)/static/img/markers
(unless markers don't need to be customised via Web UI)/sessions
(A better option is to use memcache for this - see000_settings.py
)/databases
(if using dynamic tables, such as gis_layer_shapefile, otherwise these can simply be synced together, e.g. using rsync. Or we can now store these in the DB using dal.py's DatabaseStoredFile)
Installation
Installation can be automated using these Fabric scripts:
See Also
Note:
See TracWiki
for help on using the wiki.