12-02-2003 05:56 AM
I have a LD 417. I need to load balance 2 web sites(Real servers) with 1 virtual IP. So, I followed the book "Configuring HTTP redirection on Local Director". It says "To use HTTP redirection to load balance between real machines..."
I setup the DNS.
So, When I open a browser to access the virtual site
I get this page is not avail. I can access the indivual server/sites though...
The config:
virtual 195.100.100.191:80:0:tcp is
real 195.100.100.195:80:0:tcp is
real 195.100.100.196:80:0:tcp is
direct-ip 195.100.100.195:80:0:tcp 195.100.100.195:80:0:tcp is
direct-ip 195.100.100.196:80:0:tcp 195.100.100.196:80:0:tcp is
url abdul http://abdul.tony.com/%p 302
url m300 http://m300.tony.com/%p 302
backup 195.100.100.195:80:0:tcp 195.100.100.191:80:0:tcp
backup 195.100.100.196:80:0:tcp 195.100.100.191:80:0:tcp
name 195.100.100.195 abdul.tony.com
name 195.100.100.196 m300.tony.com
bind 195.100.100.195:80:0:tcp 195.100.100.195:80:0:tcp
bind 195.100.100.196:80:0:tcp 195.100.100.196:80:0:tcp
Right out of the book (With my test domain IP's)
What am I missing/doing wrong?
12-02-2003 09:17 AM
if you don't need redirection (which is being used to achieve some sort of sitckyness), you can remove the direct-ip,url,backup and name commands.
Just keep the virtual, real and bind.
Also, make sure the next-hop for the real server is a gateway that is accessible through the localdirector
(try to ping a remote ip address from the real server)
Try to ping the virtual from a client PC.
Also capture command to show the status of the virtual and reals.
Capture commands to check arp entries.
Finally capture a sniffer trace to see what is going on.
Gilles.
12-02-2003 11:49 AM
ok..
-I cannot ping the virtual IP from a PC (I was able to on Friday)
-I can ping the LD 417 IP Address
-I cannot ping an outside addr fron the LD 417
-I can ping the same addr successfully from a PC
I am not sure on the capture commands....sorry...
Thanks...
12-03-2003 07:58 AM
Giles
an Update:
I now can ping the VIP and web site..
I still cannot ping an outside addr off the LD.
If I use the HTTP redirection (1 vip 2 real) this should load balance the servers...correct?
Tony
01-26-2004 11:18 AM
Have you setup the ROUTE in your LD yet?
I had a similar problem. I was told to set the ROUTE to my default gateway on that subnet and after doing this, my problem was resolved.
01-26-2004 11:44 AM
yes i did.
i resolved the issue. i discovered that the addresses were non-routeable. when i used addresses in our dmz, it worked great.
thanks for the feedback!
tony
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide