Hi,
My answers inline.
> ##start
> listen tcp 0.0.0.0:225
> mode tcp
> option tcplog
> balance leastconn
> maxconn 1
> server smtp1 192.168.25.1:25 maxconn 10
> server smtp2 192.168.25.2:25 maxconn 10
> ##end
>
> So when I have more then
On 5/2/2013 6:14 AM, Godbach wrote:
Hi, Eliezer
It seems that smtp1 and smpt2 have the same IP:Port
> server smtp1 192.168.25.1:25 maxconn 10
> server smtp2 192.168.25.1:25 maxconn 10
Indeed.
I noticed that but forgot to fix it while quoting from the new mail
##start
liste
On 5/2/2013 5:46 AM, Godbach wrote:
On 5/1/2013 8:39 AM, Bryan Talbot wrote:
Looks like you've listed the same IP address twice.
-Bryan
Typo, Thanks.
How have I missed that??
Eliezer
Hi, Elizer
You can use roundrobin instead of leastconn as below:
listen tcp 0.0.0.0:225
mode
On 5/2/2013 5:46 AM, Godbach wrote:
On 5/1/2013 8:39 AM, Bryan Talbot wrote:
Looks like you've listed the same IP address twice.
-Bryan
Typo, Thanks.
How have I missed that??
Eliezer
Hi, Elizer
You can use roundrobin instead of leastconn as below:
listen tcp 0.0.0.0:225
mode
On 5/1/2013 8:39 AM, Bryan Talbot wrote:
Looks like you've listed the same IP address twice.
-Bryan
Typo, Thanks.
How have I missed that??
Eliezer
Hi, Elizer
You can use roundrobin instead of leastconn as below:
listen tcp 0.0.0.0:225
mode tcp
option tcplog
bala
On 5/1/2013 8:39 AM, Bryan Talbot wrote:
Looks like you've listed the same IP address twice.
-Bryan
Typo, Thanks.
How have I missed that??
Eliezer
On Tue, Apr 30, 2013 at 6:52 PM, Eliezer Croitoru wrote:
> server smtp1 192.168.25.1:25 maxconn 10
> server smtp2 192.168.25.1:25 maxconn 10
> ##conf end
>
> when I run the connection from other machine I get all the load on one
> machine..
>
>
Looks like you've listed the same IP
hey I have tried to build a small load balancer to a smtp service.
my haproxy.conf is:
##conf start
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
#chroot /usr/share/haproxy
uid 99
gid 99
8 matches
Mail list logo