Controller Ping may fail on host with multiple ip addresses
-----------------------------------------------------------

         Key: SEQUOIA-1101
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-1101
     Project: Sequoia
        Type: Bug

  Components: JDBC Driver  
    Versions: Sequoia 2.10.8    
 Environment: I have sequoia installed on a host h1 with two ip addresses ip1 
and ip2.
On this host its address is ip1 (pint h1 returns ip1)
I installed a client on another host h2. On h2 if I make ping h1 it  returns 
ip2.
    Reporter: xavier roques


I can connect to sequoia without any problem but all the ping failed 
with the following error:
I got the following
 - ERROR: Unknown controller /10.1.19.5:9001 responded to ping!
 (list={vinvmdbserver/10.1.13.170:9001=org.continuent.sequoia.driver.Wa
 tc
 [EMAIL PROTECTED])

 So after controllerTimeoutInMs=25S, I'm disconnected from the host h1.

 If I connect by using the ip address ip1 instead of the hostname all 
 is ok.

=======================
A possible solution
=======================
I checked the code and the identification of the responding controller is made 
thanks to its ip address.
Unfortunately, on some networks configuration with NAT ... this protocol will 
not work.

 A solution is that the ControllerPingSender sends the  version and a randomly 
generated  UUID to the controller.
The controller will respond by sending back the version and the UUID.
So the controller will be identified thanks to its UUID and no more thanks to 
its ip address.






-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to