Hello,
I have gone and tried to set up a LVS-DR
Following the steps in http://www.linuxvirtualserver.org/VS-DRouting.html
I am doing Step 3 "Real servers having different network routes"
On my director I have
Eth0 66.208.187.25
Eth0:0 66.208.187.27
Eth1 192.168.0.205
ipvsadm -L -n
IP Virtual Server version 1.0.10 (size=65536)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 66.208.187.27:80 wlc
-> 192.168.0.203:80 Route 1 0 0
On my realserver I have
Eth0 192.168.0.203
Eth1 66.208.187.30
lo:0 Link encap:Local Loopback
inet addr:66.208.187.27 Mask:255.255.255.255
So things seem to be working.
The one question I have at this time is when I set up my apache server
(yes I realize this is a little out of LVS scope and hopefully someone
knows)
And I set up the virtual host
Do I create the virtual host as www.mydomain.com, or do I put in the local
ip like 192.168.0.203
Thanks for all the help and insight
Randy
|