LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS Newbie install

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS Newbie install
From: "Chris Harner" <chris.harner@xxxxxxxxx>
Date: Mon, 2 Apr 2007 09:00:30 -0400
I was able to get it installed.  The RPM exported a tarball, which is a
little weird.  I entered a real server and some "virtual" servers via port
3389.  I don't think I entered some right, though.  I want to delete one or
two, but the ipvsadm -d and ipvsadm -D doesn't work.

Here's an example:
chpas-nlb:~ # ipvsadm -D 192.168.18.34
unexpected argument 192.168.18.34

I tried with the port number attached, and also a -d instead of -D.  Are
these entries held in a file somewhere or is there another way?  Or am I
just doing it wrong altogether?  Thanks!
On 3/31/07, Tomas Hoger <tomas.hoger@xxxxxxxxx> wrote:

On 3/30/07, Chris Harner <chris.harner@xxxxxxxxx> wrote:
> ipvsadm-1.24-6.src.rpm was downloaded.

You should probably try to find binary, not source, package on install
CDs or in package repositories for your distro.

> I ran this:
> # cat /proc/net/ip_vs
>
> And got this:
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port Forward Weight ActiveConn InActConn

What did you expect?  ipvsadm is just tool used to feed IP_VS
component of kernel with proper configuration.  Very similar to
iptables + netfilter.

> I also tried this:
> # rpmbuild --rebuild ipvsadm-1.24-6.src.rpm
>
> But got this:
> Installing ipvsadm-1.24-6.src.rpm
> error: Legacy syntax is unsupported: copyright
> error: line 7: Unknown tag: Copyright: GNU General Public Licence

Edit .spec file and replace Copyright in header with License.  Or try
asking google, it surely knows the right answer. ;)

th.
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users




--
Chris Harner  []  Server Engineer  []  Arnold Transportation Services

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