Re: Install Ultrmonkey 3 on Debian Sarge

Horms <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
[email protected] wrote:
> [-- text/plain, encoding 7bit, charset: US-ASCII, 25 lines --]
> 
> Hi,
> 
> I am having the same problem that another poster had regarding an error 
> when using apt-get to install ultramonkey. I added the ip_vs_core to 
> /etc/modules, but the module doesn't seem to exist. Shouldn't there be a 
> ip_vs_core.o in /lib/modules/... somewhere? I installed the debian sarge 
> release from cdrom. Any help would be much appreciated.
> 
> Would it be better to just build a vanilla kernel from kernel.org? I've 
> also noticed that there have been issues with both redhat and debian. What 
> is the officially recommened approach?

Everything you need should be present in sarge. And you should not
need to play with /etc/modules. If you do, add ip_vs to there, 
not ip_vs_core or ip_vs_core.c.

There seems to be confusion surrounding LVS support in Sarge,
and it seems to centre around a warning given by the ipvsadm init
script on boot. For the record, here is the situation.


* Both Sarge's 2.4.27 and 2.6.8 kernels come with ip_vs as modules.
  I prepared the kernels for inclusion in Sarge by Debian and
  I can assure you that it is there.

* Sarge's ipvsadm init scripts includes a check for a proc value
  that will be present if ipvs is in the kernel. If not it prints
  a warning, which says something like "IPVS not in your kernel".

  Unfortunately this check is bogus, because it doesn't take into
  account that IPVS can be a module. This check has been removed
  from the most recent version of ipvsadm in Debian, but the change
  was too late for Sarge.

  *** Please ignore that warning ***

* If the warning really bothers you, adding ip_vs to /etc/modules
  should make it go away.

  echo ip_vs >> /etc/modules

* No part of the ultramonkey setup is effected by the presance of that
  warning.

* You can test if your system has IPVS by running the following command
  as root. It will automatically insert the ip_vs, and other modules,
  if needed. If it gives you a result something like this, then your
  kernel supports LVS.

  # ipvsadm -L
  Password:
  IP Virtual Server version 1.2.1 (size=4096)
  Prot LocalAddress:Port Scheduler Flags
    -> RemoteAddress:Port           Forward Wei

  If it gives you an error, and you are sure you ran it as root,
  then you have problems.

  This is the behaviour of ipvsadm on all distributions,
  not just Debian. Again, the init script check is bogus.
  Please ignore it.





-- 
Horms


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.