Re: Patch kernel with Piranha
Sébastien Bonnet <[email protected]> Wed, 20 Aug 2003 10:06:56 +0200
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
> [...] However now I need to include piranha within the linux kernel > either in the form of module or patch. Piranha is not kernel related. It's a piece of software, just as vi, apache or whatever. > Thus when the custom kernel is shipped to the client, it comes > with built-in Piranha. I think you're misunderstand the way it works. The load balancing of incoming requests is handled by IPVS (from linuxvirtualserver), which is a kernel module (or kernel built-in feature, your choice). IPVS is *enough* to do load balacing. But you might (actually, in a serious setup, must) need a user-space program that configures IPVS and checks the availability of the real servers. This can be acheived using piranha (amongst others). If you're talking high availability (and not load balancing), then IPVS is not involved, and piranha can do it, but it's still a user-space program, unrelated to the kernel. > I wanted to know if this is possible and if yes which would be > the easiest way. The short answer is no. But you can still ship a distro containing an IPVS enabled kernel plus a recent piranha package. -- Sébastien Bonnet Centre de contacts - Experian France