LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Keepalived & IPVSADM

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Keepalived & IPVSADM
From: "Miguel A. Felipe" <michel@xxxxxxxxxxxxxxxxx>
Date: Tue, 29 Jun 2004 10:32:16 +0200
Hi,
        I´m planning a design of a network with two machines that also are the
director, I´ll balance the ldap port on both, but when I run ipvsadm -ln
nothing appears.
I´m using kernel 2.6.6 with ipvsadm modules as modules :)
Does anyone know what is happening, other problem I have is when I try to
insert ipvsadm commands I get the following error:
Module is wrong version

Here is my keepalived.conf file:

! Configuration File for keepalived

global_defs {
   notification_email {
   operaciones@xxxxxxxxxxxxxxxxxx
   }
   notification_email_from ldap_directory@xxxxxxxxxxxxxxxxxx
   smtp_server 192.168.200.1
   smtp_connect_timeout 30
   lvs_id sd01nmldap02
}

vrrp_instance VI_1 {
   state SLAVE
   interface eth0
   garp_master_delay 0
   virtual_router_id 51
   priority 95
   advert_int 1
   authentication {
       auth_type PASS
       auth_pass 1111
   }
   virtual_ipaddress {
       10.12.12.13
   }
   notify_master /util/keepalived/master
   notify_backup /util/keepalived/backup
   notify_fault /util/keepalived/master
}
virtual_server 10.12.12.13 389 {
    delay_loop 6
    lb_algo wlc
    persistence_timeout 50
    protocol TCP

    real_server 10.12.12.11 389 {
       weight 1
       TCP_CHECK {
         connect_timeout 3
       }
    }
    real_server 10.12.12.12 389 {
       weight 1
       TCP_CHECK {
         connect_timeout 3
       }
    }
}

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