Forum: User and Integrator
Load balancing Webiva
|
|
Ronald Cotoni 14.Jul.2010 11:24am
I am wondering what, if any directories need to be replicated to have a HA/LoadBalanced solution for webiva. I am also wondering if memcached needs to be replicated between the two nodes for everything to work correctly. What I experienced is we update something on server a and then try to view the content in server b, it isn’t updated there. Do I need to sync the Public/system/storage directory over perhaps?
|
|
|
Administrative User 14.Jul.2010 12:13pm
Hi Roland,
The primary issue is the /system/storage directory, but there are a number of other things that need to be set up and pointing to the correct ip address: DB Starling Workling Memcached We have a version that handles almost all of this for you, as well as automatically syncing files between the various systems, but it’s not pushed out yet. The code is still very much in a beta state, but should be released to the development branch this week. |
|
|
Pascal Rettig 3.Aug.2010 4:03pm
Hi Roland,
This is all pushed to the development branch and should be working and reasonably thoroughly tested. You’re best bet is to use a fresh development copy to run the quick_install wizard on the machines you are trying to setup – run the first one as the master and subsequent ones as slaves. This will get you the proper set up with multiple boxes. The machines need to be able to talk to each other to exchange locally stored files, but provided you run the setup correctly this should be handled automatically. Another module you might want to take a look at is the S3 module – just install it, activate it on a domain and put in your S3 credentials (you can turn on cloudfront support as well) Then go to Options → Website Configuration → Files. Check the “S3” file support box and optionally set s3 to be the default. Any file you upload will automatically get pushed to S3 and served via either S3 or the cloudfront CDN. |


