[Linux-HA] Autofailback problem
alanr at unix.sh
Tue Jun 15 01:09:35 MDT 2004
Colin Bruce wrote:
> Dear Alan,
> I'm afraid the only accounts on these two machines are root. I can't login
> as anything else so when I ran iptables -L I was logged in as root. I
> think the output I sent you is saying there are no iptables defined and no
> firewalls on the machines.
> Remember I can ping each machine from the other. I am running apache on
> each machine and I can access each web page from the other using the
> machines' IP addresses (192.168.255.26 and 192.168.255.28). If I run
> IPaddr by hand and raise the service address for each machine on each
> machine (192.168.255.7 and 192.168.255.22) I can also access the web pages
> on both machines. The problem only arises if I run heartbeat which seems
> to put both addresses on both machines.
It communicates by the given port (694) by udp. Iptables will certainly do
this, but if you ran this as root, I'm at a loss as to how this is happening...
Your symptoms are definitely of some kind of asymmetric communication
failure - most commonly (and BY FAR most commonly) caused by iptables.
If you have other communication software modules loaded into the kernel,
they could be causing it by a bug or whatever...
Why don't you try setting the port number to something like 30000 or so
just for grins...
> If I manually try to remove one of
> the addresses, both addresses stop.
This latter weirdness is probably some kind of ifconfig bug, or other
kernel bug. I've seen them before - but not for several years. A sh -x of
IPaddr would confirm this...
What kernel exactly are you running? Where did you get it from? How did
you build it? What non-standard modules does it have loaded?
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA