Re: Dynamic configuration of workers

2010-05-09 Thread Mark Thomas
On 07/05/2010 23:20, Smith, Mark wrote: -Original Message- From: Pid [mailto:p...@pidster.com] There are a couple of linux load balancer projects that might work, if you can ditch HTTPD. E.g. www.linuxvirtualserver.org We use LVS to balance load across our Apache layers already, so

Re: Dynamic configuration of workers

2010-05-09 Thread André Warnier
Mark Thomas wrote: On 07/05/2010 23:20, Smith, Mark wrote: -Original Message- From: Pid [mailto:p...@pidster.com] There are a couple of linux load balancer projects that might work, if you can ditch HTTPD. E.g. www.linuxvirtualserver.org We use LVS to balance load across our Apache

Re: Dynamic configuration of workers

2010-05-09 Thread Smith, Mark
You are my hero. The first feature on mod_cluster's webpage I exactly what I'm looking for. Thank you. I'll report here after I've had some time to check it out. -Mark On May 9, 2010, at 2:53 AM, Mark Thomas ma...@apache.org wrote: On 07/05/2010 23:20, Smith, Mark wrote: -Original

Dynamic configuration of workers

2010-05-07 Thread Smith, Mark
I'm trying to re-architect our websites to work in EC2. One of the biggest problems I'm running into is the dynamic nature of hostnames and IPs. Is there a way to tell mod_jk that it has a new worker on a new hostname without having to reload Apache? Similarly, to remove an existing worker

Re: Dynamic configuration of workers

2010-05-07 Thread Jon Brisbin
On May 7, 2010, at 1:16 PM, Smith, Mark wrote: I'm trying to re-architect our websites to work in EC2. One of the biggest problems I'm running into is the dynamic nature of hostnames and IPs. I have the same problem on a VMware vSphere-based virtual private cloud... Is there a way to tell

Re: Dynamic configuration of workers

2010-05-07 Thread Pid
On 07/05/2010 21:28, Smith, Mark wrote: -Original Message- From: Jon Brisbin [mailto:jon.bris...@npcinternational.com] On May 7, 2010, at 1:16 PM, Smith, Mark wrote: Is there a way to tell mod_jk that it has a new worker on a new hostname without having to reload Apache? Similarly,

RE: Dynamic configuration of workers

2010-05-07 Thread Smith, Mark
-Original Message- From: Pid [mailto:p...@pidster.com] Another option is to configure mod_jk for static hostnames then use either /etc/hosts or an actual DNS cluster to change the mappings. This relies on the application in question honoring DNS TTLs (hint: Java doesn't by

Re: Dynamic configuration of workers

2010-05-07 Thread Pid
On 07/05/2010 22:58, Smith, Mark wrote: -Original Message- From: Pid [mailto:p...@pidster.com] ...isn't that what I just described? Or is there a part to your suggestion I missed? It is. :) I hadn't grokked the whole thread before I started writing the answer and missed the last

RE: Dynamic configuration of workers

2010-05-07 Thread Smith, Mark
-Original Message- From: Pid [mailto:p...@pidster.com] There are a couple of linux load balancer projects that might work, if you can ditch HTTPD. E.g. www.linuxvirtualserver.org We use LVS to balance load across our Apache layers already, so I'm quite familiar with it. It does do