Heartbeat Error

Horms horms at verge.net.au
Fri Jun 30 08:15:29 BST 2006


In article <ECB273EEB21CC8449E62CC1F974D37C44ED329 at CHURCHILL.Autotask.com> you wrote:
> When starting up heartbeat (service heartbeat start) on FC5 system I
> get:
> 
> [root at 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/


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list