Hi all,
we are moving to a new server setup and i need some advise.
we have 4 servers and a load balancer.
2 servers for files and 2 for database.
my issue right now is with the file servers....
the way the load balancer work is it sends traffic between the two file servers randomly (based on load and other stuff)
now lets say i am a user and I try to login to upload some files. I end on the slave file server (we have master slave file servers which are synced using lsync master -> slave)
I login to the slave server and I upload a file to the slave server - this means that the file will be uploaded to one server and not both because we sync one way from master to slave.
so this created a problem... how can I make drupal upload the always upload to the master file server (in this case(sites/default/files) whether you are on the master or slave server...???
thanks again and I hope I was clear in my explanation...
Comments
any help, please!
any help, please!
Your webservers should be
Your webservers should be sharing the /var/www or whatever over NFS, or being synchronized with rsync. NFS is generally preferred but it requires more tuning with the http server so as to not make excessive calls "can I read this directory? ok how about ../?"