joagmv
12 years agoLevel 4
Online config LLT interface
Recently I realized that a llt interface in a cluster is not working because the nodes are in different vlans (the interface uses broadcast conf):
Node 0:
NODE0:~ # cat /etc/llttab
set-node NODE0
set-cluster 1047
set-timer peerinact:3200
link eth2 eth-00:10:18:0b:7e:12 - ether - -
link eth3 eth-00:10:18:0b:7e:13 - ether - -
link-lowpri eth0 eth-00:14:5e:7b:08:1a - ether - -
NODE0:~ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:14:5E:7B:08:1A
inet addr:10.92.5.134 Bcast:10.92.5.255 Mask:255.255.254.0
Node 1:
NODE1:~ # cat /etc/llttab
set-node NODE1
set-cluster 1047
set-timer peerinact:3200
link eth2 eth-00:0e:0c:ba:3e:ae - ether - -
link eth3 eth-00:0e:0c:ba:41:96 - ether - -
link-lowpri eth0 eth-00:14:5e:7a:aa:3c - ether - -
NODE1:~ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:14:5E:7A:AA:3C
inet addr:10.93.146.123 Bcast:10.93.147.255 Mask:255.255.254.0
I think I should configure eth0 as an UDP interface, shouldn't I?? I tried somethink like that and It seemed to work:
Node 0:
//Specifying the other node IP as the broadcast address
lltconfig -t eth0 -d eth0 -b udp -I 10.92.5.134 -B 10.93.146.124
Node 1:
//Specifying the other node IP as the broadcast address
lltconfig -t eth0 -d eth0 -b udp -I 10.93.146.123 -B 10.92.5.134
Is this correct?? What should I define in the llttab file??
Regards,
joagmv
There is a sample llttab file for LLT over UDP at https://www-secure.symantec.com/connect/forums/if-llt-could-be-configured-over-udp-nat#comment-7542471.
Note also, you can't mix LLT over UDP and LLT over Ethernet - see https://www-secure.symantec.com/connect/forums/how-configure-llt-over-udp-when-you-have-more-1-node-each-site#comment-7189341
So your config will look something like:set-node NODE0set-cluster 1047link hb-eth2-nat /dev/udp - udp 50100 - IP-on-eth2-on-node0 -link hb-eth3-nat /dev/udp - udp 50101 - IP-on-eth3-on-node0 -link-lowpri hb-eth0 /dev/udp - udp 50102 - 10.92.5.134 -set-addr 1 hb-eth2 IP-on-eth2-on-node1set-addr 1 hb-eth2 IP-on-eth3-on-node1
set-addr 1 hb-eth0 10.93.146.123#disable LLT broadcastsset-bcasthb 0set-arp 0I have just chosen 3 UDP ports at random - 50100, 50101, 50102.
Mike