HI,
I experimented with the LVS DR and it did work perfectly for me. My
smtp connections were working on round robin balancing system between
2 real servers.
But this was my test case in the single network in my office .. where
all the machines were in same physical segment.
Now i wish to implement this on our realservers which are on internet
in differnet physical segements using LVS-TUN. But i am all confused
as to what VIP and DIP i should be giving to the machines. I know,
this would be a simple and silly question for most of you geeks .. but
right now i m very much confused and would appreaciate some help and
pointers in solving my confusions.
Based upon the following mentioned configuration can someone please
tell me what VIP and DIP i should give to my director and real
servers.
1. Intended Director machine -
Static Public IP - 202.88.178.203 (MX pointed to this
address .. so i want all the clients to connect to this ip address,
so i feel this needs to be my VIP ) - iface eth1.
eth0 IP - 192.168.2.134
2. Realserver one -
to handle the LVS'ed smtp connections -
iface - eth1 - 202.162.228.10 eth0 192.168.1.10
situated at a diff location all together than the intended director machine
3. Realserver two -
to handle the LVS'ed smtp connections -
iface - eth1 - 202.162.228.11 eth0 192.168.3.50
situated at a diff location all together than the intended director
machine, and realserver one
Eagerly awaiting some reply
Thanks in Advance
|