LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvs-0.9.5 single patch against kernel 2.4.12

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ipvs-0.9.5 single patch against kernel 2.4.12
From: Roberto Nibali <ratz@xxxxxx>
Date: Sat, 20 Oct 2001 17:28:07 +0200
Hello Wensong,

> The single patch of ipvs 0.9.5 against kernel 2.4.12 is available at
> http://linux-vs.org/software/kernel/linux-2.4.12-ipvs-0.9.5.patch.gz

s/kernel/kernel-2.4/
 
> Julian's ipvs-0.9.6pre1.diff (the fix of copying stats lockup) is already
> included in the patch, because it is very urgent. Thank Julian.

Looks good, smells tasty, works like a charm ...
 
> If you don't have the latest ipvsadm, you need new ipvsadm rpms as
> follows:
> http://linux-vs.org/software/kernel/ipvsadm-1.20-2.src.rpm

s/kernel/kernel-2.4/
 
> As always, bugreports, fixes, comments and suggestions are welcome.

How about the ipvsadm -h for systems that have no ipvs built and/or
loaded? As a cheatsheet or reference.

--- ipvs-0.9.4/ipvs/ipvsadm/ipvsadm.c   Tue Sep 18 17:42:54 2001
+++ ipvs-0.9.4-ratz/ipvs/ipvsadm/ipvsadm.c      Thu Oct 18 08:02:18 2001
@@ -281,6 +281,14 @@
 {
        int result;
 
+       /* allow print help even if ipvs modules are not compiled or loadable */
+       if (argc == 2) {
+               if ( strncmp(argv[1], "-h", strlen(argv[1])) == 0 || \
+                    strncmp(argv[1], "--help", strlen(argv[1])) == 0 ){
+                       usage_exit(argv[0], 0);
+               }
+       }
+
        if (ipvs_init()) {
                /* try to insmod the ip_vs module if ipvs_init failed */
                if (modprobe_ipvs() || ipvs_init())


Best regards,
Roberto Nibali, ratz

-- 
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc


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