hi,
i am trying to use heardbeat with 2 asterisk
my configuration is 10.0.0.11 for asteriskmaster on eth0 10.0.0.12 for
asterisklocal on eth0
addreses 192.168.1.1 (2) are on eth1 for backup over drbd
everything look os, if master is down, on slave are all services started
and interface eth0:0 is active
interface looks like
[asteriskmaster.local ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:17:17:0E:A8
inet addr:10.0.0.11 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe17:ea8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4861 errors:0 dropped:0 overruns:0 frame:0
TX packets:3371 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:428509 (418.4 KiB) TX bytes:1321844 (1.2 MiB)
Base address:0x2020 Memory:b8820000-b8840000
eth0:0 Link encap:Ethernet HWaddr 00:15:17:17:0E:A8
inet addr:10.0.0.13 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Base address:0x2020 Memory:b8820000-b8840000
eth1 Link encap:Ethernet HWaddr 00:15:17:17:0E:A9
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe17:ea9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1121 errors:0 dropped:0 overruns:0 frame:0
TX packets:2159 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:273070 (266.6 KiB) TX bytes:253841 (247.8 KiB)
Base address:0x2000 Memory:b8800000-b8820000
this is what i think is ok, but on 10.0.0.254
after ping 10.0.0.11 and ping 10.0.0.13
cat /proc/net/arp
IP address HW type Flags HW address Mask Device
10.0.0.11 0x1 0x2 00:15:17:17:0E:A8 * eth0
10.0.0.13 0x1 0x2 00:15:17:17:0E:A8 * eth0
and after short time arp looks like this
cat /proc/net/arp
IP address HW type Flags HW address Mask Device
10.0.0.11 0x1 0x2 00:15:17:17:0E:A8 * eth0
10.0.0.13 0x1 0x2 00:15:17:17:18:3A * eth0
second mac is send by same source as first, is this how it should be ?
this mac address 00:15:17:17:18:3A looks fake, it isn't nowhere on network
a have tried many configurations but result is allways same
if it can help i may send dump of comunication
my version of heardbeat is 2.1.3
/etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 asteriskmaster.local
192.168.2.1 asteriskslave.local
/etc/ha.d/ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 20
warntime 10
initdead 70
udpport 694
bcast eth1
auto_failback on
node asteriskmaster.local asteriskslave.local
/etc/ha.d/haresources
asteriskmaster.local 10.0.0.13/24/eth0 drbddisk::store
Filesystem::/dev/drbd0::/store::ext3 drbdlinks mysqld sendmail
asterisk httpd vsftpd ircd amportal xinetd
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems