Forums / Install & configuration / MySQL-Replication and ViewCaching
Mark Kruse
Tuesday 08 March 2005 12:33:27 am
Hi!
We have two server with eZ publish and MySQL (Linux + Apache) installed.One Server is the Editor-System with the MasterDatabase and the other server is for the surfers. This one has a slave database, which is replicated from the master.
We want to use ViewCaching with this configuration.
Does anyone have experience with this? When new objects are published, how can we achieve, that the corresponding cachefiles on the slave-server are deleted?Or can we replicate the cachefiles from the master to the slave?
It would be great, if anyone could help us out.
Mark
Gabriel Ambuehl
Tuesday 08 March 2005 12:49:26 am
As long as you don't change templates or upload files, everything that changes should reside in the DB and get replicated automatically. If you do either, you need to copy them over manually. I'd suggest looking into rsync as it's perfect for that use.
Visit http://triligon.org
liu spider
Monday 04 April 2005 10:55:08 am
I'd like to setup a mirror for one ezpublish site, could you share your experience of howto setup and sync the slave database? thanks
http://liucougar.scim-im.org SCIM Input Method Platform http://scim.sf.net SJSD Online Editor http://sf.net/projects/sjsd
Monday 04 April 2005 11:01:16 am
That's documented very well in the MySQL docs.