Page 1 of 1

Use serendipity with a web pool

Posted: Wed Apr 19, 2006 5:09 pm
by steinkopf
Hi
We have a multiple server web pool. It shares a common database server. Can we install and use serendipity without using a kluge like a ntfs mount?
Fred Steinkopf
steinkopf@northjersey.com

Posted: Fri Apr 21, 2006 1:58 am
by judebert
I'm sorry you haven't gotten any answer yet.

I think the problem is, we don't know. I'm not even sure what the question means. I think you're talking about multiple servers handling webhosting (each with Apache or some other webserver) and a single server handling the MySQL database.

How do other applications install and work? I wouldn't think the common database server would be a problem, since multiple authors can work concurrently on a single server. But I would expect that applications (including Serendipity) would need separate, identical installs on each webserver.

If you try it and run into trouble, I'd be thrilled to learn more and help out from the development side.

Posted: Fri Apr 21, 2006 10:57 am
by garvinhicking
You can install s9y on as many hosts as you like and you can just point each installation to the same database server, so that they would be identical.

The only things that are stored in filesystem are uploaded files and template cache files. Templat caches can be handled on each installation without a problem. But to synchronize uploaded files you'll need some kind of rsync job to synchronize the file pool of every installation.

Did I answer your original question? :-D

Regards,
Garvin

Posted: Mon Apr 24, 2006 1:40 pm
by steinkopf
That does answer my question. As to our other apps, they have all been built in-house and using a web pool is not an issue. I was hoping to get away without using rsync.

Posted: Mon Apr 24, 2006 1:44 pm
by garvinhicking
Hi!

If you want to use the file upload facility, you do need to store the files somewhere - so the only way to work it is:

- Use rsync
- Use an NFS mount
- Something fancy like a mounted SQL file system storage which transparently handles read/write operations to a directory into a central SQL installation. Would be interesting to know if that works better than NFS. :)

HTH,
Garvin