OllyL Posted November 21, 2013 Share Posted November 21, 2013 Hi There, I have a question. I'm running a simple server stack at the moment for a Prestashop with: Load Balancer Server |_Front-End Web Server |_Database Server and I'm looking to expand it with a second web server. The problem I have is that with replication setup between the web servers I start recieving a lot of "Smarty Cache" errors on the second server because the cache folder is being shadowed over from the first web server and screwing up the second one. My question is - will simply excluding the /cache folder from the replication job fix this problem or are there any other "gotchas" that I should be aware of? Cheers, Olly Link to comment Share on other sites More sharing options...
OllyL Posted January 15, 2014 Author Share Posted January 15, 2014 For anyone reading this, just excluding the cache folders has worked fine for us so far and no problems have been reported. We run our two webservers behind a load balancer but then we have a seperate domain for admin which points directly at the primary web server (the one which is replicated to the others). This means that all images etc. uploaded through admin are replicated correctly to the other webs servers. Admin complains about being on the wrong domain but it seems to work fine regardless. Link to comment Share on other sites More sharing options...
fatyas Posted February 4, 2015 Share Posted February 4, 2015 Hi OllyL, I am trying to do a similar setup. How do you setup the second domain? I guess you do a clean install on a new server, but then which files/database fields do you have to change to get to your setup (i.e. separate domain for admin pointing directly to primary web server)? it would be great if you could help me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now