Hi Sameer
I am using 32 bit Centos Release 5. For adding services to ipvsadm ,
i am using weighted round robin scheduler.
Here is My configuration file format which'll be read by a daemon
and then through that daemon it'll be added to ipvs table.
<|groupinfo 1>
<groupname vods>
<status on>
<group_ip 220.223.227.245>
<group_port 5000>
<groupinfo|>
<|group 1>
<|server 1>
<hostname vods1>
<status on>
<server_ip 192.168.10.10>
<weight 2>
<server|>
<group|>
The above configuration will be converted into the following format :
ipvsadm -A -t 220.223.227.245:5000 -s wrr
ipvsadm -a -t 220.223.227.245:5000 -r 192.168.10.10 -w 2
Here i am getting the desired results but dmesg and ipvsadm commands
gives the warnings that i have described earlier
Ganesh
Sameer Garg wrote:
> Ganesh,
>
> Are you using 64bit or 32bit Centos? Because this could be the issue.
>
> ipvsadm-1.24-8.1.i386.rpm
>
> Sameer
>
> On Jan 25, 2008 1:15 PM, Sameer Garg <sameer.garg@xxxxxxxxx> wrote:
>
>> Update from Ganesh
>>
>> Hi
>> This is the Query which i am trying to put into lvs-users mailing
>> list but it's not going (Error :"The message's content type was
>> explicitly disallowed" )
>>
>> I have installed the ipvsadm package in a AMD 64 bit machine having
>> Centos 5 as operating system. But when i am adding real servers into
>> ipvsadm or typing ipvsadm to see the status , i am getting the
>> following error (can we assume it as a warning?)
>>
>> Installation Details :
>> IPVS Package Name : ipvsadm-1.24-8.1.i386.rpm
>> System Details :
>> Processor : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
>> Operating system : CentOS release 5 (Final)
>> Kernel Version : 2.6.18-8.el5 i686
>>
>> Result of command -> ipvsadm
>> IP Virtual Server version 1.2.1 (size=4096)
>> Module is Wrong Version
>> Prot LocalAddress:Port Scheduler Flags
>> -> RemoteAddress:Port Forward Weight ActiveConn InActConn
>> (Here it is not priniting the Server Table)
>>
>> Result of command -> ipvsadm -L -c -n
>> IPVS connection entries
>> pro expire state source virtual
>> destination
>> TCP 00:18 SYN_RECV x.x.x.x:54913 x.x.x.x:80 192.168.100.20:80
>>
>> Result of command -> dmesg
>> IPVS : length : 4 < 8
>> IPVS : length : 292 != 320
>>
>> But still LVS is forwarding load to the real servers. I am not sure
>> whether this will cause problems in future. Please help me to solve
>> this problem.
>>
>> Regards
>> Ganesh
>>
>>
|