LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2007, 05:53 AM   #1
gurl4sh25
Member
 
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Rep: Reputation: 15
Regarding HA and LVS


Hi Guys,

Just want to ask if it is possible to setup LVS and HA with only two box and both has 1 lan card? I'm planning to setup webserver with load balancing and high availability.

Example:

LinuxBOX1-------------Virtual IP-------------LinuxBOX2

Regards,
gurl4sh25
 
Old 06-09-2007, 09:13 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You "could" but "shouldn't". If you can setup multiple virtual IPs on your NIC you "could" satisfy the requirements for different NICs for LAN access to the cluster and heartbeats and/or other interconnects between the nodes. However, the traffic from the LAN can (and probably will at some point) interfere with the traffic on the heartbeat at which point your cluster is likely to see it as a failure of some sort and start failing over.

If you truly want "high availability" it doesn't really make much sense to go cheap on the network side of things. NICs are relatively cheap and having your heartbeat/interconnects on dedicated NICs helps to to insure they are not impacted by other traffic. (e.g. What happens to your NIC when you kick off a backup over the main LAN?)
 
Old 06-09-2007, 10:04 AM   #3
gurl4sh25
Member
 
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Original Poster
Rep: Reputation: 15
Thanks jlightner, you have a good point on that. Actually the second box is running on a virtual machine. This box is running in RedHat Ent 4 installed with vmware server, the virtual machines here are my web, dns and tomcat server. this serve as a backup for my 3 main server (not a VM).

I was wondering what would be the best way to make this automated, let say my main web server was crashed i want my backup virtual machine would take over the connection while my main webserver is down.

Do you have any recommendation or suggestion for this kind of setup that will automate the switching? or HA-Heartbeat would be the best option for this?
 
  


Reply



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
LVS and HA on two servers? gurl4sh25 Linux - Software 0 06-08-2007 04:34 AM
Help Moving LVs to New VG hektor Debian 0 06-17-2006 04:07 PM
squid with LVS-------------------- pal Linux - Networking 8 02-13-2005 04:32 AM
Routing and LVS Mikhail_16 Linux - Networking 3 07-22-2004 02:00 PM
LVS Question ? Viper Slackware 4 11-04-2002 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration