Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

LVS Newbie install

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


chris.harner at gmail

Mar 30, 2007, 10:03 AM

Post #1 of 4 (460 views)
Permalink
LVS Newbie install

So, my company is designing a terminal server project that in theory, should
work. Basically, I was to set up a Network Load Balancer using LVS. We are
currently working with VMware.

ipvsadm-1.24-6.src.rpm was downloaded.

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

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

I'm using OpenSUSE 10.1 with kernel...
# rpm -q kernel-source
kernel-source-2.6.16.21-0.25

What am I doing wrong? The docs are hard to read, but I was using the wiki
for guidance. Thanks.


--
Chris Harner [] Server Engineer [] Arnold Transportation Services
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users


tomas.hoger at gmail

Mar 31, 2007, 1:05 AM

Post #2 of 4 (438 views)
Permalink
Re: LVS Newbie install [In reply to]

On 3/30/07, Chris Harner <chris.harner[at]gmail.com> 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[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users


chris.harner at gmail

Apr 2, 2007, 6:00 AM

Post #3 of 4 (440 views)
Permalink
Re: LVS Newbie install [In reply to]

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[at]gmail.com> wrote:
>
> On 3/30/07, Chris Harner <chris.harner[at]gmail.com> 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[at]LinuxVirtualServer.org
> Send requests to lvs-users-request[at]LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>



--
Chris Harner [] Server Engineer [] Arnold Transportation Services
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users


jmack at wm7d

Apr 2, 2007, 6:45 AM

Post #4 of 4 (429 views)
Permalink
Re: LVS Newbie install [In reply to]

On Mon, 2 Apr 2007, Chris Harner wrote:

> chpas-nlb:~ # ipvsadm -D 192.168.18.34
> unexpected argument 192.168.18.34

man ipvsadm

-d -D are like -a -A

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.