Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] heartbeat bug? Can't add second network...

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


danb at zu

Oct 24, 2007, 1:38 PM

Post #1 of 2 (264 views)
Permalink
[lvs-users] heartbeat bug? Can't add second network...

I have two network blocks I am (wanting to) run LVS on. I am using
ultramonkey 3 using heartbeat and ldirectord in a HA-LB setup. Up until
relatively recently I have not used the second network since it's a
relatively small 64 IP block.

My haresources looks something like this (I wont include the entire thing):

ectype.zu.com \
ldirectord \
LVSSyncDaemonSwap::master \
IPaddr2::216.94.150.11/32/eth0/216.94.150.127 \
IPaddr2::216.94.150.15/32/eth0/216.94.150.127 \
IPaddr2::216.94.150.18/32/eth0/216.94.150.127 \
IPaddr2::216.94.150.19/32/eth0/216.94.150.127 \
IPaddr2::216.94.150.20/32/eth0/216.94.150.127 \
. . .
IPaddr2::216.94.150.124/32/eth0/216.94.150.127 \
IPaddr2::216.94.150.125/32/eth0/216.94.150.127 \
IPaddr2::216.94.150.126/32/eth0/216.94.150.127 \
IPaddr2::216.94.145.14/32/eth0/216.94.145.64

It's been this way for probably a couple of months with the single IP from
the second block of IPs. Today I added a second IP from that block:

IPaddr2::216.94.145.14/32/eth0/216.94.145.64

last line changed from ^ to v

IPaddr2::216.94.145.14/32/eth0/216.94.145.64 \
IPaddr2::216.94.145.21/32/eth0/216.94.145.64

and am suddenly getting the following when I attempt to start heartbeat.

heartbeat: 2007/10/24_14:10:09 info: **************************
heartbeat: 2007/10/24_14:10:09 info: Configuration validated. Starting
heartbeat 1.2.3.cvs.20050927
heartbeat: 2007/10/24_14:10:09 ERROR: Bad nodename in /etc/ha.d/haresources
[IPaddr2::216.94.145.21/32/eth0/216.94.145.64]
heartbeat: 2007/10/24_14:10:09 ERROR: Configuration error, heartbeat not
started.
heartbeat: 2007/10/24_14:10:09 debug: Exiting from pid 22386 [rc=6]

Do my directors need an IP on that network as well for it to work? Why will
it work with the first, but not more than the first IP I put in from the
second network block?

___________________________________________________
Dan Brown
danb [at] zu


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jkrzyszt at tis

Oct 25, 2007, 5:18 AM

Post #2 of 2 (236 views)
Permalink
Re: [lvs-users] heartbeat bug? Can't add second network... [In reply to]

Dan Brown wrote:
> IPaddr2::216.94.145.14/32/eth0/216.94.145.64
>
> last line changed from ^ to v
>
> IPaddr2::216.94.145.14/32/eth0/216.94.145.64 \
> IPaddr2::216.94.145.21/32/eth0/216.94.145.64
>
> and am suddenly getting the following when I attempt to start heartbeat.
> ...
> heartbeat: 2007/10/24_14:10:09 ERROR: Bad nodename in /etc/ha.d/haresources
> [IPaddr2::216.94.145.21/32/eth0/216.94.145.64]


I guess it's quite simple, you probably have some whitespace garbage
after backslash.

Janusz

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.