httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nino martinez wael <nino.martinez.w...@gmail.com>
Subject [users@httpd] Re: mod_jk balancing two balancer lists?
Date Tue, 14 Sep 2010 17:01:48 GMT
Im wondering if doing this would be ok:

  # We only use one load balancer
  worker.list=lb
  # Let's define some defaults
  worker.basic.port=8009
  worker.basic.type=ajp13
  worker.basic.socket_keepalive=true
  worker.basic.connect_timeout=10000
  worker.basic.recovery_options=7
  # And we use them in two groups
  worker.lb1.domain=dom1
  worker.lb1.distance=0
  worker.lb1.reference=worker.basic
  worker.lb2.domain=dom2
  worker.lb2.distance=1
  worker.lb2.reference=worker.basic
  # Now we configure the load balancer
  worker.lb.type=lb
  worker.lb.method=B
  worker.lb.balanced_workers=w11,w12,w21,w22
  worker.w11.host=myhost11
  worker.w11.reference=worker.lb1
  worker.w12.host=myhost12
  worker.w12.reference=worker.lb1
  worker.w21.host=myhost21
  worker.w21.reference=worker.lb2
  worker.w22.host=myhost22
  worker.w22.reference=worker.lb2


2010/9/14 nino martinez wael <nino.martinez.wael@gmail.com>:
> Hi
>
> Im not sure if this is the correct user list. But here goes.
>
> I have to separate sites, with 3 servers on each site. On site A I'd
> like to have a balancer which goes through server A1,A2 and A3 and if
> A1,A2,A3 were down it would go cross site to B1,B2 and B3..
>
> What we have configured now are if A1's down then the balancer goes to B1 etc..
>
> Is it possible todo what I want and if so, do you have some hints or
> links on howto do it?
>
> regards Nino
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message