--- Alan Murrell <silkbc@xxxxxxxxx> wrote:
> 1. Cluster 1 = Linux web
> 2. Cluster 2 = NT web with databse
> 3. Cluster 3 = NT web without database
> So, I was wondering if one "director" can be in
> front
> of all three clusters, and be able to direct the
> traffic to the appropriate cluster based on the VIP,
> or if each unique cluster requires it's own
> "director".
Yes, one LVS load balancer (director) could load
balance independently to each of your three groups of
real servers. You could setup 3 public VIP's (not 3
NICs), one for each load balanced real server group,
such as web.foobar.com, ntdbweb.foobar.com,
ntweb.foobar.com. However load balancing is based on
SERVICE, such as HTTP(80), LDAP(389), SENDMAIL(25).
So, you can also just use 1 public VIP, and your load
balancing is based on the port/service to the
distinguished groups of real servers.
In some pseudo-code, like this:
http_group {
Port 80
IP 192.168.2.2 eth0:1
real_server1 { 192.168.1.3
}
real_server2 { 192.168.1.4
}
}
ldap_group {
# you can fill in
}
sendmail_group {
# you can fill in
}
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
|