Re: ipvs connection synchronization

Vincent Bernat <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
 ❦  4 février 2016 12:03 GMT, Sudheer Vinukonda <[email protected]> :

> Umm..Without sync'ing the states, what happens when one of the LVS
> instances goes down and the requests get routed to another LVS
> instance within the cluster. (I suppose, it is also relavant to
> mention that I plan to use ECMP to balance the incoming requests
> amongs the LVS instances), 

LVS is quite basic in the way it works. If your request is not present
in the table, it will be scheduled to some real server. Otherwise, the
request is forwarded to the real server recorded in the table. The TCP
state of the connection is unimportant.

What you want to do will just work without syncing states (you need to
use DR as the load balancing kind) and this is a documented
setup:
 http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.localnode.html

Syncing states will break the setup as 127.0.0.1 on server A is not the
same than 127.0.0.1 on server B, so a state on server A cannot be used
by server B.
-- 
Use free-form input when possible.
            - The Elements of Programming Style (Kernighan & Plauger)

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.