title: Haproxy Samba failover
body: <p>Im' trying to configure Haproxy to failover samba tcp traffic </p>
  
  <p>Now I have this config:</p>
  
  <pre><code>frontend rserve_frontend445
      bind *:445
      mode tcp
      option tcplog
      timeout client  15s
      default_backend rserve_backend445
  
  backend rserve_backend445
      mode tcp
      #option tcplog
     #option log-health-checks
      #option redispatch
      log global
      #balance roundrobin
      timeout connect 5s
      timeout server 10s   
      server cf-m 192.168.1.2:445 
      server cf-l 192.168.2.2:445 backup
  </code></pre>
  
  <p>When I open share \haproxy\ I see SMB share on server 192.168.1.2</p>
  
  <p>When I start copy big file and then I disconnect network on primary backend server 192.168.1.2</p>
  
  <p>After that file coping freeze and haproxy cant redirect me to backup node 192.168.2.2</p>
  
  <p>I want to create auto samba failover proxy via HAproxy. What I do wrong? </p>
  
  <p>I'm new in it, thanks in advance! </p>