The MU forums have moved to WordPress.org

mu wordpress on two servers with load balancer (3 posts)

  1. dynamic
    Member
    Posted 14 years ago #

    hello all,
    i have two web servers (portal1,portal2) with load balancer, i'v installed wordpress mu 2.8 on both servers and everything goes well except the upload file because when user upload file wp will create folders in blogs.dir directory on one of two servers (portal1,portal2),
    when the user wants to get files he uploaded before its not going to to work always because maybe he is connect to portal1 and his files is uploaded on portal2.
    so anyone has idea how can i solve this with plugins or something else?
    any help is appreciated.
    thanks

  2. re5et
    Member
    Posted 14 years ago #

    i have a similar situation.

    our solution to this problem is to store / serve the images out of the single database that the two machines are hooked to, this however does not allow us to use wordpress's built in upload / media library functionality.

    another solution would be to script a synchronization of the upload directories, which could be triggered at will once something has been uploaded.

    i am not aware of any plugins that do this, best of luck in your search for a solution.

  3. Klark123
    Member
    Posted 14 years ago #

About this Topic

  • Started 14 years ago by dynamic
  • Latest reply from Klark123