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: Christian Bronk <chbr@xxxxxxxxxxx>
Date: Fri, 16 Sep 2005 07:54:13 +0200
Hi,

Ramprasad A Padmanabhan wrote:
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
this line must be:
virtual=192.168.2.225:25

        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

Chris

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