Cannot use remote controller on host with multiple IP addresses
---------------------------------------------------------------

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

  Components: Core  
    Versions: Sequoia 2.10.9    
 Environment: Linux Debian Etch, JDK SUN 1.5.0_12-b04
    Reporter: sébastien gautrias
    Priority: Blocker


On host with Controller :
- @IP # 1 : 192.168.1.23 (XDXDBP1TEST)
- @IP # 2 : 192.168.1.24 (XDXDBP1TESTA) --> INFO  controller.core.Controller 
Controller XDXDBP1TESTA:25323 ready, listening to requests ..

On host with Controller (with original version) :
- netstat -an| grep 25323
tcp        0      0     192.168.1.24:25323            0.0.0.0:*               
LISTEN
udp       0     0      0.0.0.0:25323                       0.0.0.0:*
==> Listen UDP from 0.0.0.0

On host with JDBC Driver :
ERROR: Unknown controller XDXDBP1TEST/192.168.1.23:25323 responded to ping! 
(list={XDXDBP1TESTA/192.168.1.24:[EMAIL PROTECTED])

I have change 2 classes into the core (adding @IP into the constructor 
PingResponder), in order to listen UDP from 192.168.1.24  :
- org.continuent.sequoia.controller.core.ControllerServerThread
# 157
pingResponder = new PingResponder(controller.getPortNumber(), 
controller.getIPAddress());
- org.continuent.sequoia.controller.core.PingResponder
# 67
 public PingResponder(int port, String ipAddress) throws SocketException, 
UnknownHostException
  {
    super("PingResponder");
    socket = new DatagramSocket(port,InetAddress.getByName(ipAddress));
  }

On host with Controller with patching version :
- netstat -an| grep 25323
tcp        0      0     192.168.1.24:25323            0.0.0.0:*               
LISTEN
udp       0     0      192.168.1.24:25323           0.0.0.0:*
==> Listen UDP from 192.168.1.24

On host with JDBC Driver : all is OK

-- 
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