Forum OpenACS Q&A: same partitioning question, new angle

Collapse
Posted by kevin long on
I'll be doing virtual hosting on openacs. After having read the install docs several times, my basic question is this: given the three partitions: /usr/local/aolserver/servers, /usr/local/pgsql/data and /web, which one grows the most as sites are added - and which one contains the mixed in static content?

Also, is /web going away to be replaced by /var/lib/aolserver? as the docs indicate?

Collapse
Posted by Joel Aufrecht on
Answers for OpenACS 5.0.0 standard install:

No volatile data goes into /usr/local/aolserver/servers.

On (some) debian systems, /usr/local/pgsql/data is now /var/lib/postgres/data.  Installing pgsql from source puts data in /var/lib/pgsql.

On OpenACS.org, the database is 4 million records, the text backup dump is 450Mb uncompressed, 370Mb in the data directory.  The biggest growth on the file system is the logs, then the content repository (if you have much blob data).  The code base is 10-100 mb.  OpenACS.org has 252M in the content repository, 80M of package code, and 80M of www content, and the access log + error log totals 20Mb per day.

/web is going away, to be replaced by /var/lib/aolserver, as the docs indicate.  However I've gotten sick of typing /var/lib/aolserver and tend to symlink /web back in.

The next step, for 5.2 or 5.3, will be to partition the static code from the volatile data, for better security and for easier backup/deployment/clustering.  This should just be a matter of adjusting config.tcl and the instructions.

Collapse
Posted by kevin long on
So, to see if I get this right - when you add another virtual host, the static html goes in /usr/local/aolserver/servers/newvirtualhost, the dynamic content is in /var/lib/pgsql, and "packages" go in /web (/var/lib/aolserver - why didn't you go with /var/lib/openacs ?). Why are logs not in /usr/local/aolserver/servers/newvirtualhost/modules/nslog/*.log or are they, but symlinked across to /var/log/ ?
Collapse
Posted by Joel Aufrecht on
All of the static and dynamic data for an OpenACS installation is in /var/lib/aolserver/service0, where service0 is your service name, with the exception of the database's native files.  The default install doesn't put anything at all in /usr/local/aolserver.