On Wed, Jun 11, 2008 at 12:26:19PM +0000, maximatt wrote:
> hi... thanks for your answering.... :)
> 
> and is the name of appears where:
> 
> # ifconfig
> dev20603  Link encap:Ethernet  HWaddr 00:14:2A:9B:63:7F
>           inet addr:192.168.140.1  Bcast:192.168.140.255  Mask:255.255.255.0
>           :
>           :

OK. I just can't recall seeing sth like that before. Though with
udev everything's possible...

> > The node must be what 'uname -n' prints. Typically, it is not the
> > FQDN, but just hostname without domain.
> >
> 
> i put 'uname -n' output :(
> 
> # uname -n
> maximatt.prueba.uy

OK, then your configuration's namewise good. I suppose that the
other node's uname is similar.

> > > respawn hacluster /usr/lib/heartbeat/ipfail
> > > apiauth ipfail gid=haclient uid=hacluster
> > >
> > > ha.cf (backup node):
> > >
> > > debugfile /var/log/ha-debug
> > > logfile /var/log/ha-log
> > > logfacility local0
> > > keepalive 1
> > > deadtime 30

This deadtime is probably to big. Something like 10 should be
more appropriate.

> > > initdead 120
> > > udpport 694
> > > bcast   eth0
> > > auto_failback on
> > > node    maximatt.prueba.uy
> > > node    einstein.prueba.uy
> >
> > The same. Note that your ha.cf should be the same on both nodes.
> 
> 
> sorry... i'm sure, that both file are equals (i use scp from node1 to
> node2), but in node2 i must to change bcast to "eth0"...

OK.

> and these are the
> only diferences. So i keep the following configurations (nodo1):
> 
> logfile    /var/log/ha-log
> logfacility    local0
> keepalive 1
> deadtime 30
> initdead 120
> udpport    694
> bcast   dev20603
> auto_failback on
> node    maximatt.prueba.uy
> node    einstein.prueba.uy
> respawn hacluster /usr/lib/heartbeat/ipfail
> apiauth ipfail gid=haclient uid=hacluster
> 
> 
> But i continue having the same problem :(

This is most probably a communication problem. Please make sure
that the packets are reaching both nodes. You can use "tcpdump
udp port 694" to check that. There is also cl_status with which
you can check the link status. You can also try unicast, i.e.
replace the bcast directive with

ucast eth0 192.168.140.1
ucast eth0 192.168.140.2


Thanks,

Dejan
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to