Need help on server cluster for WordPress
-
I need advice on how to configure a cluster for WordPress. I’m the website maintenance person, and I’m working with a network admin who doesn’t seem to be sure what to do.
The cluster was set up when the blog we service suddenly saw a huge upswing in traffic. Here’s how the network guy describes it:
The cluster was configured on the fly, when it was setup we literally needed it online in 2-3 hours.
Physically we have 3 webservers behind a load balancer that sends traffic to the server serving the fewest clients.
We do NOT serve the static content separately – this is something I had talked to the user about moving to but it was not something I really wanted to experiment on. I could do it from a webserver level but if we went with a separate static content webserver I would prefer if we did it off a subdomain that was also load balanced.
Physically the dynamic files are being synced every 1 minute between servers. The advantage to this method is we do not have a single point of failure that a fileshare (like nfs) would create. Since we were initially dealing with very high load I did not think this was a good option. Even now I am not very comfortable with an NFS share simply because it would be a lot of load when something like a static subdomain would do what we want perfectly.
Right now we have a single MySQL powering the entire cluster with no failover setup right now.
The problem is that the WordPress Admin panel doesn’t work well for the user: whenever she tries to upload images or make changes to her theme, it bounces around between the three servers and often returns an error message because it can’t find one (“theme doesn’t exist” or “file doesn’t exist”).
I’ve asked the network admin to re-config the cluster or cache so this won’t happen, but he doesn’t seem to know how. He suggests using FTP for file changes – which is completely unacceptable to the user, who just wants her WP Admin panel – or creating a separate subdomain for administration. The latter is not something I’ve ever seen, since the cluster-powered WordPress blogs I’ve worked on are already seamless.
Other options he suggests are an NFS mount, which seems vulnerable, or a sticky session in the load balancer, which he doesn’t want to do because he says it’s inefficient.
I don’t know what to tell him. The sites I maintain already have seamless clusters behind them. What I want is for the Wpadmin panel to work the way it’s supposed to for the user.
What do we do?
Thanks.
The topic ‘Need help on server cluster for WordPress’ is closed to new replies.