Beginner's question about tcp mode/transparent

From: Robert Prince <>
Date: Wed, 05 Nov 2008 16:55:51 -0800

Hey folks, here's what I'm trying to accomplish: I have two server applications (database servers, not that it matters), on two different systems. I would like HAProxy to do the following:

The way I'm trying to test my configuration is the following:

Of course this is all on one system, but I have no reason to think it wouldn't at least show me that it works ... ? Anyway obviously it's not working, and any advice would be welcome.

 From reading the config docs, I think I'm close - but not quite there. Here's my configuration:


    log local0
    maxconn 1000
    user haproxy
    group haproxy
    # daemon forks into the background
    # debug dumps everything to stdout and disables daemon     debug
    pidfile /var/run/haproxy.pids


    log global
    timeout connect 5s
    timeout client 10s
    timeout server 10s

listen tcp_proxy

    mode tcp
    server hot
    server warm backup

Robert Prince Received on 2008/11/06 01:55

This archive was generated by hypermail 2.2.0 : 2008/11/06 02:01 CET