maximum Number of IPs in haresources

Trevor Astrope astrope at
Mon Apr 10 10:00:55 MDT 2000


I have a haresources file that contains 100 ip addresses for a node, each
specified separately. When I attempt to start heartbeat I get the
following error:

[root at server1 /root]# /etc/rc.d/init.d/heartbeat start
Starting High-Availability services: heartbeat: 2000/04/10_11:53:53 info:
heartbeat: 2000/04/10_11:53:53 info: Configuration validated. Starting
heartbeat: 2000/04/10_11:53:53 error: Bad nodename in
/etc/ha.d/haresources [7]
heartbeat: 2000/04/10_11:53:53 error: Configuration error, heartbeat not
Heartbeat did not start [rc=1]                             [FAILED]

My /etc/ha.d/haresources file looks like this: ... httpd

There are 100 separate ip addressses specified together on the same line.

If I replace the haresources file with one that looks like this: httpd

Then all works fine.

Is there a limit to the amount of ip addresses you can specify on a single
line in the haresources file? If so, is there a work around for this?

Btw, I'm using heartbeat 0.47 and `uname -n` does output

One other thing, if I change the ip address in haresources and type
`/usr/lib/heartbeat/heartbeat -r` the old ip doesn't get taken down, nor
does heartbeat bring the new one up. And if I restart suing the rc script,
heartbeat can't get the serial port back.

Any help is most appreciated.


Trevor Astrope
astrope at

More information about the Linux-HA mailing list