LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: ldirectord gives a protocol error .. ipvsadm works fine

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: ldirectord gives a protocol error .. ipvsadm works fine
From: "Vijay K" <vijay_k@xxxxxxxxxxxxx>
Date: Fri, 16 Sep 2005 11:22:31 +0530
the spacing before real should be two tabs(or eight spaces)
Pl do that
regds
Vijay

-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ramprasad
A Padmanabhan
Sent: Friday, September 16, 2005 11:13 AM
To: LinuxVirtualServer.org users mailing list.
Subject: ldirectord gives a protocol error .. ipvsadm works fine


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>