Hi guys,
my ldirectord now works with the new heartbeat 2.1.3-3 :)
I'm using LVS in Direct Routing mode on 2 nodes and this
is the situation after starting heartbeat:
Host1: Active Linux-Director + Real-Server (VIP on eth0:0)
Host2: Stand-by Linux-Director + Real-Server (VIP on lo:0)
Heartbeat only manages one resource group including the
ldirectord and the IPaddr.
The start of the IPaddr works fine:
IPaddr[31731]: [31768]: INFO: Using calculated netmask for
172.30.4.170: 255.255.0.0
IPaddr[31731]: [31794]: INFO: Removing conflicting loopback lo:0.
IPaddr[31731]: [31795]: INFO: ifconfig lo:0 down
IPaddr[31731]: [31798]: INFO: eval ifconfig eth0:0 172.30.4.170
netmask 255.255.0.0 broadcast 172.30.255.255
But if I want to mirgrate the resource group to the other node,
I'm getting following error:
IPaddr[2533]: [2550]: INFO: ifconfig eth0:0 down
IPaddr[2533]: [2553]: INFO: Restoring loopback IP Address
172.30.4.170 on lo:0.
lrmd: [31647]: info: RA output: (IPaddr_172_30_4_170:stop:stderr)
lo:0: warning: name may be invalid
IPaddr[2533]: [2562]: ERROR: Insufficient arguments to add_interface:
172.30.4.170 lo:0 lo:0 255.255.255.255 broadcast 172.30.4.170
crmd: [31650]: ERROR: process_lrm_event: LRM operation
IPaddr_172_30_4_170_stop_0 (call=9, rc=2)
Error invalid parameter
And I have this config in the cib.xml:
<primitive class="ocf" provider="heartbeat" type="IPaddr"
id="IPaddr_172_30_4_170">
<operations>
<op id="IPaddr_172_30_4_170_mon" interval="5s"
name="monitor" timeout="5s"/>
</operations>
<instance_attributes id="IPaddr_172_30_4_170_inst_attr">
<attributes>
<nvpair id="IPaddr_172_30_4_170_attr_0"
name="ip" value="172.30.4.170"/>
<nvpair id="IPaddr_172_30_4_170_attr_1"
name="cidr_netmask" value="16"/>
<nvpair id="IPaddr_172_30_4_170_attr_2"
name="nic" value="eth0"/>
<nvpair id="IPaddr_172_30_4_170_attr_3"
name="lvs_support" value="true"/>
</attributes>
</instance_attributes>
</primitive>
And the lo:0 looks like this:
# cat /etc/sysconfig/network-scripts/ifcfg-lo:0
DEVICE=lo:0
IPADDR=172.30.4.170
NETMASK=255.255.255.255
NETWORK=172.30.0.0
BROADCAST=172.30.0.255
ONBOOT=yes
NAME=loopback
Is this a bug, like Dejan Muhamedagic wrote there??
http://www.gossamer-threads.com/lists/linuxha/users/44206#44206
Do someone knows an advice?
Best regards
Stephan
HELPING HEADS for Hard- and Software
-------------------------------------------------------------------------
Für Ihre Projekte entwickeln wir maßgeschneiderte Lösungen - schnell,
flexibel und direkt vor Ort. Unser eingespieltes Team an erfahrenen Hard-
und Software-Spezialisten unterstützt Sie dort, wo Sie uns brauchen.
--------------------------------------------------------------------------
SysDesign GmbH
Säntisstrasse 25
D-88079 Kressbronn am Bodensee
Geschäftsführer: Franz Kleiner, Achim Solle
Handelsregister: Ulm 632138
--------------------------------------------------------------------------
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems