public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Gentoo LVS
@ 2009-09-09 22:02 Nick Khamis
  2009-09-09 23:36 ` Xavier Parizet
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Khamis @ 2009-09-09 22:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

Hello everyone I am having problems with using LVS in Gentoo, I needed the
following modules built into the kernel:
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp


How I recompile the kernel is select the module that I need

<M> IP virtual server support
>>             -> [*] TCP load balancing
>>             -> [*] UDP load balancing
>>
> then do a make followed by a make modules_install.

ip_vs is in my list of modules (the only ip_vs*) and does not return an
error when I modprobe it but these are not there:

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp


I am using kernel 2.6.30r5

Thanks for you Help,
Ninus.

[-- Attachment #2: Type: text/html, Size: 1293 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Gentoo LVS
  2009-09-09 22:02 [gentoo-user] Gentoo LVS Nick Khamis
@ 2009-09-09 23:36 ` Xavier Parizet
  2009-09-10  2:44   ` Nick Khamis
  0 siblings, 1 reply; 4+ messages in thread
From: Xavier Parizet @ 2009-09-09 23:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]

Nick Khamis a écrit :
> Hello everyone I am having problems with using LVS in Gentoo, I needed
> the following modules built into the kernel:

<snip><snip>

Hi,

First, you got two requests in the other thread you post about LVS, one from
Albert Hopkins who told you to do a find /lib/modules/$(uname -r) -name
ip_vs*.ko, another ask from walt who told you to do manually a depmod, and it
seems that you ignored these advices.

So, did you ran theses commands and saw what happens after ?

Then if they don't works, please post more information about your problem, for
example, your full kernel .config ?

And then, *very* important point, please do not make double or triple posting,
it's very disturbing, and you will not get an answer quicker in this way.

Thanks a lot for your understanding.

> Thanks for you Help,
> Ninus.

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Gentoo LVS
  2009-09-09 23:36 ` Xavier Parizet
@ 2009-09-10  2:44   ` Nick Khamis
  2009-09-10  6:40     ` Xavier Parizet
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Khamis @ 2009-09-10  2:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

Hey Xavier,

I do appologize for the two messages, it will not happen again. When issuing
a "find /lib/modules/`uname -r` -name ip_vs*.ko" I see only

"/lib/modules/2.6.30-gentoo- r6/kernel/net/netfilter/ip_vs.ko"

I do not see the rest

#lvs
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_lc
ip_vs_wlc
ip_vs_lblc
ip_vs_lblcr
ip_vs_dh
ip_vs_sh
ip_vs_sed
ip_vs_nq
ip_vs_ftp

I build the kernel via:

make menuconfig
make
make modules_install
cp arch/... /boot/...

I did issue a depmod and still just:

/lib/modules/2.6.30-gentoo-r6/kernel/net/netfilter/ip_vs.ko"

when issuing a "find /lib/modules/`uname -r` -name ip_vs*.ko"


Thanks in Advanced,
Ninus

[-- Attachment #2: Type: text/html, Size: 845 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Gentoo LVS
  2009-09-10  2:44   ` Nick Khamis
@ 2009-09-10  6:40     ` Xavier Parizet
  0 siblings, 0 replies; 4+ messages in thread
From: Xavier Parizet @ 2009-09-10  6:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

Nick Khamis a écrit :
> Hey Xavier,
> 
> I do appologize for the two messages, it will not happen again. When
> issuing a "find /lib/modules/`uname -r` -name ip_vs*.ko" I see only
> 

<snip>

Ok so, under Networking support -> Networking options -> Network packet
filtering support (Netfilter), you enabled <M> IP virtual server support, then,
under <M> IP virtual server support, you said earlier that you enabled :

  [*]   TCP load balancing support

  [*]   UDP load balancing support

but, you're looking for ip_vs_* modules, so it seems you did not enabled theses
items :

        *** IPVS scheduler ***
  <M>   round-robin scheduling (which is ip_vs_rr.ko)
  <M>   weighted round-robin scheduling (which is ip_vs_wrr.ko)
  <M>   least-connection scheduling (which is ip_vs_lc.ko)
  <M>   weighted least-connection scheduling (which is ip_vs_wlc.ko)
  <M>   locality-based least-connection scheduling (which is ip_vs_lblc.ko)
  <M>   locality-based least-connection with replication scheduling (which is
ip_vs_lblcr.ko)
  <M>   destination hashing scheduling (which is ip_vs_dh.ko)
  <M>   source hashing scheduling (which is ip_vs_sh.ko)
  <M>   shortest expected delay scheduling (which is ip_vs_sed.ko)
  <M>   never queue scheduling (which is ip_vs_nq.ko)
        *** IPVS application helper ***
  <M>   FTP protocol helper (which is ip_vs_ftp.ko)

did you ? And, yes, next time you are looking for something in the kernel
config, please do a search using menuconfig (simply issue make menuconfig in the
kernel tree, and when the menu shows up, then use the '/' key, and enter the
<name> of the CONFIG_ item you're looking for)

HTH.

> Thanks in Advanced,
> Ninus


-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-10  6:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 22:02 [gentoo-user] Gentoo LVS Nick Khamis
2009-09-09 23:36 ` Xavier Parizet
2009-09-10  2:44   ` Nick Khamis
2009-09-10  6:40     ` Xavier Parizet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox