Posted by slayerment on November 19, 2007 at 5:04am
I currently am running about 10 domains all on one server using the multisite.
I am looking to scale out to a new server and was wondering if it is possible to somehow use the same Drupal information on this new server.
The best I have come up with is sharing the database and then copying all the Drupal files to the new server but it still bothers me because I will now have to update modules on both servers.
Is there anyway to sync the 2 servers or have one Drupal install or anything? Perhaps some type of XML-RPC solution?
I am guessing this probably isn't possible but if there was a way that would rule.
Any ideas?
Thanks,
Quinton

Comments
After some research I have
After some research I have found rsync which syncs my servers :).
You can run multisite across
You can run multisite across multiple servers. I run about 50 sites ranging from small to huge. Our current configuration utilizes 10 webheads, 2 database clusters and an nfs mount file server. rsync is extremely important in keeping your webheads together. Sometimes it's a pain to remember to run your sync script when you're pushing new code, so you can set it up as a cron job to run every half hour or so, in case you forget. Also, usually, something like that requires ssh access (at least that's how I do it), and that tends to scare a lot of people.
One thing you want to keep in mind when setting up your rsync script is that you always want to do your code pushes on the same webhead, and sync from there. Let's say you have 10 webheads. If your sync script is set up to copy web1 to web2-10, and you do a push on web5, and run your sync, you're just going to overwrite your own code.
@ixlr8
@ixlr8
Excuse my newbie question, but what are you refering to when you say "webheads"
Are you rotating web requests between multiple servers ?
Marcel
http://www.MarcelPamphile.com
http://www.TrinidadWebmaster.com - My webmaster services
http://www.Motorology.com - My group of business websites and services
http://www.TrinidadAndTobagoFootball.com - Trinidad and Tobago Football
webheads
There are 3 main types of servers that are used:
webheads or webservers that run apache and handle requests from the load balancer- essentially an application server
db servers/ clusters that hold the dbs
file servers that hold static files
Mike