Re: Configuration Problem

Roman Gelfand <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAJbW+rkgeCxADBY9jTh8uOFRZE6+2XLXccnO3vLLGrnm7hCLVA@mail.gmail.com>
yep... that was it.

Thanks

On Wed, Nov 20, 2013 at 9:22 AM, Ryan O'Hara <[email protected]> wrote:
> On Tue, Nov 19, 2013 at 09:47:36PM -0500, Roman Gelfand wrote:
>> I am trying to setup load balancing for smtp servers.  Seemingly, the
>> configuration file is ok.
>>
>> ipvsadm -l doesn't return anything
>
> Try lowercase "virtual_server". I don't think the config parser will
> recognize uppercase.
>
> Ryan
>
>
>> 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
>> _______________________________________________
>> Keepalived-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel

------------------------------------------------------------------------------
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.