LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

ldirectord gives a protocol error .. ipvsadm works fine

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: ldirectord gives a protocol error .. ipvsadm works fine
From: Ramprasad A Padmanabhan <ramprasad@xxxxxxxxxxxxx>
Date: Fri, 16 Sep 2005 11:13:08 +0530
Hi,
  I am using LVS DR with ldirectord ( heartbeat 2.0.0 ) 
The problem is when I start ldirectord It gives me an error like this

 ldirectord start
Error [] reading file /etc/ha.d/ldirectord.cf at line 11: protocol must
be fwm if the virtual service is a fwmark (a number)


my ldirectord.cf file looks like this 
-------------------
quiescent=yes
checktimeout=25
checkinterval=30
autoreload=yes
logfile="/var/log/ldirectord.log"

virtual=192.168.2.225
        real=192.168.3.31:25 gate 1
        real=192.168.3.32:25 gate 1
        service=smtp
        protocol=tcp
        scheduler=wlc
-----------------------------


But when I execute ipvsadm on commandline the same thing works fine 
/sbin/ipvsadm -A -t 192.168.2.225:smtp -s wlc
/sbin/ipvsadm -a -t 192.168.2.225:smtp -r 192.168.3.31 -g -w 1
/sbin/ipvsadm -a -t 192.168.2.225:smtp -r 192.168.3.32 -g -w 1

Thanks
Ram


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