Mailing List Archive

Inerface primary node is block
Dear team linux-ha,



I setup 2 server : primary and secondary. I install heartbeat on both server
, primary take over Virtual IP eth0:0 (192.168.2.10) , file ha.cf on both
server:



debugfile /var/log/ha-debug

logfile /var/log/ha-log

logfacility local0

### set time between 2 server

keepalive 2

### node is pronounced dead after 30s

deadtime 30

###With some configurations, the network takes some time to start working
after a reboot.

##This is a separate "deadtime" to handle that case. It should be at least
twice the normal deadtime.

initdead 60

udpport 694

ucast eth1 192.168.1.3(192.168.1.4 on secondary)

auto_failback on

##node primary

node web1

###node secondary

node web2



Everthing works very well, but sometimes interface eth0 on primary is block
, I cannot ping primary , I have to run command ifdown eth0 && ifup eth0 on
primary, it works again well.





I check log ha-log, ha-debug , /var/log/message but I don't find suspencious
anything .



what's happend, can you help me? Thanks





Big thanks!



_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Re: Inerface primary node is block [ In reply to ]
If this is a new installation, please switch to corosync + pacemaker.
Heartbeat has not been actively developed in some time, and there are no
plans to restart development. It is deprecated.

digimer

On 01/03/14 08:53 AM, Nguyen Quoc Viet wrote:
> Dear team linux-ha,
>
>
>
> I setup 2 server : primary and secondary. I install heartbeat on both server
> , primary take over Virtual IP eth0:0 (192.168.2.10) , file ha.cf on both
> server:
>
>
>
> debugfile /var/log/ha-debug
>
> logfile /var/log/ha-log
>
> logfacility local0
>
> ### set time between 2 server
>
> keepalive 2
>
> ### node is pronounced dead after 30s
>
> deadtime 30
>
> ###With some configurations, the network takes some time to start working
> after a reboot.
>
> ##This is a separate "deadtime" to handle that case. It should be at least
> twice the normal deadtime.
>
> initdead 60
>
> udpport 694
>
> ucast eth1 192.168.1.3(192.168.1.4 on secondary)
>
> auto_failback on
>
> ##node primary
>
> node web1
>
> ###node secondary
>
> node web2
>
>
>
> Everthing works very well, but sometimes interface eth0 on primary is block
> , I cannot ping primary , I have to run command ifdown eth0 && ifup eth0 on
> primary, it works again well.
>
>
>
>
>
> I check log ha-log, ha-debug , /var/log/message but I don't find suspencious
> anything .
>
>
>
> what's happend, can you help me? Thanks
>
>
>
>
>
> Big thanks!
>
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems