Hi,
I'm struggling with defining a "manual" external lsapi definition so that I can load balance between my local lsapi and a lsws installation on my other server.
1) Basically, the only reason I need to make a manual one is to give it a "name" so I can included it in the load balance list. Is there any name given to the rails context definition that I could just use? It seems like internally it should just emulate the standard configuration - I checked to see if it showed the expanded config in the .xml file, but no luck.
2) Otherwise, what command do I put? The config walkthrough (which is otherwise great) still references myapp/public/dispatch.lsapi, when this has been moved into the lsws directory instead now. http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:ruby_rails
3) How can I configure how much traffic goes to each of the load balanced servers? I'd like to have 60% on the local server, and 40% on the second one - is that possible? I don't think it's smart enough to find out how bad the load is on each machine and proxy accordingly...
I know I could just run two lsws on my main host and load balance to the rails context that way, but I'm worried I'll need the speed and hate the idea of that much indirection.
Thanks for a great service!
-Kevin
I'm struggling with defining a "manual" external lsapi definition so that I can load balance between my local lsapi and a lsws installation on my other server.
1) Basically, the only reason I need to make a manual one is to give it a "name" so I can included it in the load balance list. Is there any name given to the rails context definition that I could just use? It seems like internally it should just emulate the standard configuration - I checked to see if it showed the expanded config in the .xml file, but no luck.
2) Otherwise, what command do I put? The config walkthrough (which is otherwise great) still references myapp/public/dispatch.lsapi, when this has been moved into the lsws directory instead now. http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:ruby_rails
3) How can I configure how much traffic goes to each of the load balanced servers? I'd like to have 60% on the local server, and 40% on the second one - is that possible? I don't think it's smart enough to find out how bad the load is on each machine and proxy accordingly...
I know I could just run two lsws on my main host and load balance to the rails context that way, but I'm worried I'll need the speed and hate the idea of that much indirection.
Thanks for a great service!
-Kevin