Add new comment

Want to support HowtoForge? Become a subscriber!
Submitted by denis_k (registered user) on Wed, 2007-10-31 19:05.

I wonder what's the point in using HAProxy? Whereas everything can be done with Keepalived only!

 

 virtual_server 192.168.0.99 80 {
    delay_loop 10
    lb_algo wlc
    protocol TCP
    lb_kind TUN

    real_server 192.168.0.102 80 {
        weight 1
        TCP_CHECK {
            connect_timeout 5
        }
    }

    real_server 192.168.0.103 80 {
        weight 1
        TCP_CHECK {
            connect_timeout 5
        }
    }

}

 

For sessions can be added 'persistence_timeout' or (which is much better) - sharedance.

 

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.