LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] install ipvsadm

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] install ipvsadm
From: "Charlie Williams" <cwilliams.work@xxxxxxxxx>
Date: Tue, 12 Feb 2008 14:42:19 -0500
just as a follow up I managed to get it to work. In partial thanks to
activating a new subscription :)  Turns out it needs to be specially build
for the 64 bit system...

I followed the instructions here
http://kb.linuxvirtualserver.org/wiki/Compiling_ipvsadm_on_different_Linux_distributions

I only had to slightly change the instructions

# up2date redhat-rpm-config rpm-build kernel-utils

# up2date --get-source kernel

# rpm -ivh /var/spool/up2date/kernel*.src.rpm

# cd /usr/src/redhat/SPECS

( target removed )
<b># rpmbuild -bp  kernel-2.6.spec</b>

# cp -a /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 /usr/src

# ln -s /usr/src/linux-2.6.9 /usr/src/linux


Then, we can build the ipvsadm-1.24 rpm in the following command:

rpmbuild --rebuild ipvsadm-1.24-6.src.rpm

And install using: rpm -ivh /usr/src/redhat/RPMS/x86_64/ipvsadm-
1.24-6.x86_64.rpm

to update the kernel and rebuild the rpm. I had to change the instructions
slightly, removing the target=i686 from the kernel build and then was able
to rebuild the ipvsadm-1.24-6.src.rpm into ipvsadm-1.24-6.x86_64.rpm I was
then able to install this rpm and everything seems to be working.

Thanks for the help

-Charlie

On Feb 12, 2008 2:20 PM, Charlie Williams <cwilliams.work@xxxxxxxxx> wrote:

> wish I had known that before I activated the subscription :-/
>
>
> On Feb 12, 2008 2:16 PM, Graeme Fowler <graeme@xxxxxxxxxxx> wrote:
>
> > On Tue, 2008-02-12 at 13:57 -0500, Charlie Williams wrote:
> > > Fetching Obsoletes list for channel: rhel-x86_64-ws-4...
> >
> > Ah.
> >
> > > any other ideas?
> >
> > Yes. Your workstation subscription precludes you from installing much of
> > the stuff RH define in their server product.
> >
> > If I were you, I'd just download the corresponding CentOS RPM and
> > install that. RHEL5 and CentOS5 are all but identical.
> >
> > Graeme
> >
> >
> > _______________________________________________
> > LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> > Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> >
>
>

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