Configuration Problem

Roman Gelfand <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAJbW+r=zzKFX819gqbf16nYK9WYqdq0jnG6+3fbshYrQc757MA@mail.gmail.com>
I am trying to setup load balancing for smtp servers.  Seemingly, the
configuration file is ok.

ipvsadm -l doesn't return anything

My keepalive.conf is

global_defs  {
lvs_id  LVS_1
}
vrrp_instance  VI_1  {
       interface  eth1
       state  MASTER
       virtual_router_id  51
       priority  101                     # 101 on master, 100 on backup
       advert_int  1
       smtp_alert
authentication  {
auth_type  PASS
auth_pass  pass

}

       virtual_ipaddress  {
           192.168.0.249/24  brd  192.168.0.255  dev  eth0
}

 VIRTUAL_SERVER  192.168.0.249  25  {
   delay_loop  60
   lb_algo  rr
   lb_kind  DR
   protocol  TCP
   persistence_timeout  360

   real_server 192.168.0.245 25 {
   weight 1
       TCP_CHECK {
               connect_timeout 3
       connect_port 25
       nb_get_retry 3
       delay_before_retry 3
       }
   }
   real_server 192.168.0.244 25 {
       weight 1
       TCP_CHECK {
               connect_timeout 3
       connect_port 25
       nb_get_retry 3
       delay_before_retry 3
       }
   }
}

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
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.