Reading this thread makes me feel that Vladimir is doing something akward. I just cant shake off impression that what You desire is hot standby(if service disruption is acceptable) - , not IP take over,just thinking out loud.
DHCP is not desired mechanism to manage FT(unless Im missing something, had not paid attention to AS administration trends) DHCP only gives IP address based on MAC.
IIRC general trend is to use DNS hot standby - if node dies, another one takes over DNS name - hence name is resolved to different IP. jsip default router makes routing deicsion based on DNS, doesnt it?
Lets say we have two tomcat nodes, with two NICs.
- T_N1, T_N2
- T2_N1,T2_N2
(I think it should be done like that)
T_N2 and T2_N2 are used for replication of state data.
T_N1 and T2_N1 are used for SIP traffic - based on DNS resolution.
Now - node T fails. DNS server resolves
xxx.yyy.com to T2, it takes over all operations.
Am I missing something? Vladimir?
--
Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.