Re: [lvs-users] ipvsadm commands

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] ipvsadm commands
From: "Gary W. Smith" <gary@xxxxxxxxxxxxxxx>
Date: Wed, 25 Jul 2007 07:41:23 -0700
You are missing the protocol (-t)
ipvsadm -d -t
[ipvsadm command proto ip:[port] other_options]

From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx on behalf of Gerry Reno
Sent: Wed 7/25/2007 7:39 AM
To: users mailing list.
Subject: [lvs-users] ipvsadm commands

I have tried removing some real servers from LVS using ipvsadm but the
command does not work:

Here's my test LVS:
[root@grp-01-00-50 keepalived]# ipvsadm -l
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP wlc persistent 600
TCP rr persistent 600
  ->           Route   1      0          0       
  ->           Route   1      0          0       

Now to try to delete:
[root@grp-01-00-50 keepalived]# ipvsadm --delete-server
unexpected argument

[root@grp-01-00-50 keepalived]# ipvsadm -d
unexpected argument

And afterwards LVS table is unmodified and 'ipvsadm -l' works in
slowmo.  It takes 10 secs between each line to display all the entries.

How do you remove and add real servers using ipvsadm?


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