Hi there,

I have got a question ip failover when our node is a client in the
network. Some ASCII to get the picture:

           Linux box
+----------------------------------------------+
                           / NIC1 ---------> switch1
    Protocol Logic /
                          \
                           \  NIC2 ---------> switch2
+----------------------------------------------+

The thing is that my process ("protocol logic" above) tries to keep a
TCP session with just one server (which is reachable through
switch1 and switch2) and through this TCP session, several individual
sessions are multiplexed which messages are identified through a
session id (actually the protocol is Diameter). Only one NIC is active
and I am trying to keep the session even if for example the link to
switch1 is down, then my first try is to failover the same ip that
NIC1 owns to NIC2 so the connection and the sessions are kept alive
(if they occur within the protocol timeout).

I think that moving an IP through another NIC does not causes further
problem from the TCP "socket()" perspective but  the main issue I find
is that I do not know how to failover the IP *internally (on the same
machine)*. Any suggestion to start up ?

Thanks !

Best regards,
Raúl



-- 
Security is mostly a superstition. It does not exist in nature nor do
the children of man as a whole experience it. Avoiding danger is no
safer in the long run than outright exposure. Life is either a daring
adventure, or nothing - Helen Keller
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to