DolphinDB在节点之间默认使用UDP广播包进行心跳。对没配置默认网关的电脑,UDP广播会发包失败。
解决方法1:agent.cfg和controller所在机器的cluster.cfg文件中加上配置项lanCluster=0
解决方法2:配置相关电脑的默认网关,比如route add default gw 192.168.246.1
我在linux上部署DolphinDB database集群,发现代理节点agent连不上控制节点,日志中有满屏如下错误信息:
2020-05-11 13:02:41.034392 <ERROR> :UdpSocket::send error code 101 2020-05-11 13:02:42.137235 <ERROR> :UdpSocket::send error code 101 2020-05-11 13:02:43.240156 <ERROR> :UdpSocket::send error code 101 ...
请问怎么解决?
DolphinDB在节点之间默认使用UDP广播包进行心跳。对没配置默认网关的电脑,UDP广播会发包失败。
解决方法1:agent.cfg和controller所在机器的cluster.cfg文件中加上配置项lanCluster=0
解决方法2:配置相关电脑的默认网关,比如route add default gw 192.168.246.1