[Linux-HA] Newbie's resources not flying
Helmut Wollmersdorfer
helmut.wollmersdorfer at gmx.at
Thu Mar 17 08:35:48 MST 2005
J. B. Schatz wrote:
> Helmut Wollmersdorfer wrote:
>> Does your service-IP 201.225.35.18 exist, is created by HA?
> No, it is not created by HA. Also, it does not exist before I run HA:
> there is no IP on eth0, the IFACE I want to use for the service address.
> Only IFACEs eth1 and eth2 are active during my tests.
On both nodes?
Hmm, from a quick reading of /etc/ha.d/resource.d/IPaddr I understand,
that it tries to set up an _alias_ IP, and the main interface/IP must be
up as precondition.
Just to exclude problems in your network try it manually like this:
xp2400:# ifconfig eth0 201.225.35.18
xp2400:# ifconfig eth0:0 201.225.35.19
xp2400:# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:BD:6B:D6:8F
inet addr:201.225.35.18 Bcast:201.225.35.255 Mask:255.255.255.0
[...]
eth0:0 Link encap:Ethernet HWaddr 00:30:BD:6B:D6:8F
inet addr:201.225.35.19 Bcast:201.225.35.255 Mask:255.255.255.0
[...]
Then configure some IP on eth0 permanently. Something like "ifconfig
eth0:0 201.225.35.19" (setup an alias) will _not_ work, if eth0 is not up.
Helmut Wollmersdorfer
More information about the Linux-HA
mailing list