LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] heartbeat bug? Can't add second network...
From: "Dan Brown" <danb@xxxxxx>
Date: Wed, 24 Oct 2007 14:38:55 -0600
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@xxxxxx



<Prev in Thread] Current Thread [Next in Thread>