--- Alan Murrell <silkbc@xxxxxxxxx> wrote:
> So if I wanted to use NAT, all the real servers in
> the three different clusters would have to be on the
You are confusing me a little by your use of the word
"clusters". Do you mean "virtual server" (ie. the
directors and real servers), or just the group of
"real servers"? For the purpose of my answers below,
cluster = virtual server = director(s) + real servers.
> same
> private IP subnet (192.168.1.0/24, for example),
Correct, all the real servers behind the same director
need to be on the same private network or network
segment. The same private network that your NAT Router
VIP is on if you're using NAT.
> but
> the public IP's (the VIP's) for each cluster can
> belong to different networks/subnets?
Usually you only have one NIC (one physical ethernet
device) on the public side, with an IP assigned.
All your public-side VIP's are virtual ethernet
devices, so would be on the same network segment, but
different VIP numbers.
Example:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PUBLIC SIDE PRIVATE SIDE REAL SRVRS
192.168.2.1 192.168.1.1 192.168.1.3
pubeth0 | load | prveth1 rs1eth0
lvseth0:1 | balancer | prveth1:1
192.168.2.2 192.168.1.2 192.168.1.4
rs2eth0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I assume if I were to use LVS/TUN or LVS/DR (which I
> undertand is quicker), then this isn't really much
> of
> an issue?
Actually, what I heard is NAT has now improved so you
won't see a difference compared to TUN/DR. And NAT
works on stock kernels w/o patches.
Good luck with your project.
Peter
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
|