LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-21-2006, 01:52 PM   #1
The00Dustin
Member
 
Registered: Jan 2006
Posts: 68

Rep: Reputation: 15
Ultra Monkey HC,HA,LB (LVS, HA-Linux), Layer3 Switch, No-Go?


I have four servers in a configuration similar to http://www.ultramonkey.org/3/topolog...-ha-lb-eg.html set up, and I believe all is set right. However, when I go to the virtual IP instead of getting the site I expect to see I eventually get a "Cannot find server" (IE) or a neverending "Connecting..." with FireFox. I disabled all firewalls to make sure they weren't the problem, and it was still a no-go. It seems to me like this is what should happen, as requests to the virtual IP are directed to the master server by the switch, and they aren't sent anywhere else. I think that theory is backed up by the fact that arptables prevents the virtual IP from being advertised on the actual servers. My question is, is that theory correct, or is something wrong with my configuration? I will admit that I haven't fully researched the way this configuration is meant to function, but my theory makes sense to me, and I don't understand how it could possibly be advantageous to run this configuration if I had to substitute hubbing for switching. Assuming that my theory is correct, is there anything I can do about it (Cisco 3750G)? Assuming that it is possible to run this configuration, what might I be doing wrong? (arptables -nLv, ip addr sh eth0, ipvsadm -nL, /etc/ha.d/resource.d/LVSSyncDaemonSwap master status, and ip addr sh lo0 all show the expected output on their relative servers). Any help appreciated.
 
Old 07-21-2006, 05:34 PM   #2
The00Dustin
Member
 
Registered: Jan 2006
Posts: 68

Original Poster
Rep: Reputation: 15
update

Well, I kept reading and now I understand why my theory is wrong. However, I still don't understand why the site I have configured isn't coming up. I tested failover between Linux Directors and Real Serers as well. Everything functioned as expected except the site doesn't load. The site loads fine when I point directly at one of the Real Servers by name or IP. I'm going to shout down iptables again and scour the config again, but I'm getting nowhere thus far.
 
Old 11-13-2006, 08:48 AM   #3
VincentB
Member
 
Registered: Jun 2003
Location: Brussels, Belgium
Distribution: Ubuntu 6.10
Posts: 139

Rep: Reputation: 15
Hi,

we have had a problem (but this was for a pool of DNS servers instead of a pool of web server).
Have you configured the http server so that the IP address for the answer (route back to the client) is the routeur?
 
Old 11-13-2006, 06:36 PM   #4
The00Dustin
Member
 
Registered: Jan 2006
Posts: 68

Original Poster
Rep: Reputation: 15
Hey Vincent,
Actually, I got it working. This was some time ago & I don't remebber how. Those server have since been reused for something else,and I don't currently have anything runnig LVS. However, I had a couple other problems I don't think sI ever posted anythere. One was that I couldn't make one LVS server primary for one cluster & another LVS server primary for another cluster, (so one server handeled all the load & the other was only standby). I should think that would be doable, but I don't know, and I can't provide any configs to exemplify my attempts that didn't lead to succes. I would like to know, though, whether or not I should be able to do that. It might be important to note that restarting the servers 0ead to perfect failover every time, but once the primary server kernel panicked, and the other didn't take over, ever again (I didn't really do much to troubleshoot this, since it was testing & I had begun to fucos on other things).
Dustin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ultra-2 and ultra-3 SCSI drives on the same bus? PsychosisNode Linux - Hardware 3 12-25-2004 12:52 AM
Which LVS graphical configuration tool is available for Linux kernel 2.6.7? puzzledapple Linux - Networking 1 08-09-2004 07:48 PM
MA311 layer3 connectivity problems Sometimes Linux - Hardware 23 10-19-2003 09:48 PM
Kill the monkey! weblion LQ Suggestions & Feedback 21 04-28-2003 03:10 PM
Monkey Linux don't start Xwindow Manuel Tejada Linux - General 4 10-11-2002 05:48 AM


All times are GMT -5. The time now is 05:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration