Thanks Alvaro, I´ll try that out!
On Feb 8, 12:03 pm, Alvaro Lopez Ortega <[email protected]> wrote: > On 08/02/2010, at 08:26, Voltron wrote: > > > Is it possible to load balance 2 domains using the reverse-proxy > > method, if yes, how exactly? > > It is. Let's see.. > > > I have one domain working already, with an information source > > configured to use the Python interpreter. It runs on port 8080. In the > > docs, this is balanced using the generic balancer, but I did not find > > a place to configure the server pool to balance. > > > In short, given 2 domains: > > > 1.www.domain-a.com > > 2.www.domain-b.com > > > A. I would like to have 2 servers forwww.domain-a.comrunning on > > ports 8080 and 8082 > > B.www.domain-b.comwould have 3 servers running on ports 9090, 9092, > > 9094 > > C. Both domains should use the HTTP revers proxy method to be served. > > The first thing you'd have to do is to add the five back-end servers to the > "Information Source" list, so the reverse proxies can access them later on. > > Now, you'd have to create two virtual servers: > > - In the first one,www.doamin-a.com, you would have to configure a single > default rule. It'd use a Reverse HTTP proxy handler. As part of the handler > configuration details you'll configure the first two back-end servers. Since > you added them previously, yhey will appear at the end of the configuration > page. > > - The second one will be basically the same. Once you create the virtual > server, configure the default rule to use the reverse proxy and set it to use > the appropriate Information Sources (backend servers). > > -- > Octalityhttp://www.octality.com/ > > _______________________________________________ > Cherokee mailing list > [email protected]http://lists.octality.com/listinfo/cherokee _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
