This is my haresources file:
SBLB-Master.localdomain IPaddr2::10.10.1.115/24/eth0:0/10.10.1.255
ldirectord::ldirectord.cf squid
All on one line.
The problem with IPaddr2 is talked about here but didn't seem to get
fixed:
http://www.mail-archive.com/linux-ha-dev@xxxxxxxxxxxxxxxxxx/msg00837.htm
l
Any ideas on how I could get this to work?
In article
<ECB273EEB21CC8449E62CC1F974D37C44ED329@xxxxxxxxxxxxxxxxxxxxxx> you
wrote:
> When starting up heartbeat (service heartbeat start) on FC5 system I
> get:
>
> [root@SBLB-Master ~]# service heartbeat start
> logd is already running
> Starting High-Availability services:
> eth0:0: warning: name may be invalid
> 2006/06/29_09:54:22 INFO: IPaddr2 Resource is stopped
> [FAILED]
> heartbeat[7642]: 2006/06/29_09:54:22 ERROR: glib: Get broadcast for
> interface eth1 failed: Cannot assign requested address
> heartbeat[7642]: 2006/06/29_09:54:22 ERROR: glib: IP interface [eth1]
> does not exist
> heartbeat[7642]: 2006/06/29_09:54:22 ERROR: Illegal bcast [UDP/IP
> broadcast] in config file [eth1]
> heartbeat[7642]: 2006/06/29_09:54:22 ERROR: Heartbeat not started:
> configuration error.
> heartbeat[7642]: 2006/06/29_09:54:22 ERROR: Configuration error,
> heartbeat not started.
>
> What am I missing?
IPaddr tries to work out the broadcast address (and other information)
based on existing interface configurations on your system (not a good
idea IMHO). I suspect that what is happening is that you do not
have an interface set up on the same network (for some value of network)
as the VIP, and thus this error.
This is easy to get around by just fully specifying the address which
you want to use (which I strongly recommend doing always).
Something like this should work:
IPaddr2::192.168.6.240/24/eth0/192.168.6.255
The format is:
IPaddr2::VIP/PREFIX/INTERFACE/BROADCAST
Where prefix is the number of bits in the netmask, 24 is 255.255.255.0
--
Horms
H: http://www.vergenet.net/~horms/ W:
http://www.valinux.co.jp/en/
|