maximum Number of IPs in haresources

Trevor Astrope astrope at e-corp.net
Mon Apr 10 10:00:55 MDT 2000


Hello,

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.
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
started.
Heartbeat did not start [rc=1]                             [FAILED]

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

server1.e-corp.net 216.95.221.101 216.95.221.102 ... 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:

server1.e-corp.net 216.95.221.101 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
server1.e-corp.net.

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.

Regards,

Trevor Astrope
astrope at e-corp.net




More information about the Linux-HA mailing list