I have it set up similar to that but I only have one network. Two LVS
machines, one primary and a backup. The idea is to provide failover for
those two using heartbeat so that both can load balance my two http
realservers using LVS-NAT.
haresources:
primary 10.10.10.1
VIP=10.10.10.1
If I set my Realservers default gw to 10.10.10.1 it does not work. Should
it?
-----Original Message-----
From: Alex Kramarov [mailto:alex@xxxxxxxxxxxxxxx]
Sent: Wednesday, November 27, 2002 11:05 AM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: One Network LVS-NAT with HA
No, i am definitely not saying that you should switch, I am just saying that
the documentation of keepalived described very well the principals that you
should configure heartbeat with .
a sample of redundant active-active lvs directors setup with heartbeat :
on f1 :
external interface 200.200.200.1
internal interface 10.0.0.1
on f2 :
external interface 200.200.200.2
internal interface 10.0.0.2
haresources on both machines :
f1 10.0.0.253 200.200.200.3
f2 10.0.0.254 200.200.200.4
half of real servers have default gateway point to 10.0.0.253 , and the
other half to 10.0.0.254
half of the clients access the real servers with ip address 200.200.200.3,
and half with 200.200.200.4
if you don't need active active setup , just (in this config) i would have
in haresources :
f1 10.0.0.253 200.200.200.3
all real servers have as default gateway 10.0.0.253, and all clients would
access the cluster at 200.200.200.3
CONFIDENTIALITY NOTICE: The information in this e-mail is privileged and
confidential. Any use, copying or dissemination of any portion of this
e-mail by or to anyone other than the intended recipient(s) is unauthorized.
If you have received this e-mail in error, please reply to sender and delete
it from your system immediately.
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
.
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
CONFIDENTIALITY NOTICE: The information in this e-mail is privileged and
confidential. Any use, copying or dissemination of any portion of this
e-mail by or to anyone other than the intended recipient(s) is unauthorized.
If you have received this e-mail in error, please reply to sender and delete
it from your system immediately.
|