You are missing the protocol (-t) ipvsadm -d -t 192.168.1.201:80 [ipvsadm command proto ip:[port] other_options] ________________________________
From: [EMAIL PROTECTED] on behalf of Gerry Reno Sent: Wed 7/25/2007 7:39 AM To: LinuxVirtualServer.org 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: [EMAIL PROTECTED] keepalived]# ipvsadm -l IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn TCP 10.3.0.3:http wlc persistent 600 TCP 192.168.1.240:http rr persistent 600 -> 192.168.1.201:http Route 1 0 0 -> 192.168.1.200:http Route 1 0 0 Now to try to delete: [EMAIL PROTECTED] keepalived]# ipvsadm --delete-server 192.168.1.201:http unexpected argument 192.168.1.201:http [EMAIL PROTECTED] keepalived]# ipvsadm -d 192.168.1.201 unexpected argument 192.168.1.201 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? Gerry _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users _______________________________________________ LinuxVirtualServer.org mailing list - [email protected] Send requests to [EMAIL PROTECTED] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
