Hi ALL
I am a new user with HA-Proxy, using it for RDP with persistence. I have
pasted my config file which is being used for rdp connections.
defaults
clitimeout 1h
srvtimeout 1h
listen VIP1 192.1.119.254:3389
log 127.0.0.1 local0
mode tcp
tcp-request inspect-delay 5s
tcp-request content accept if RDP_COOKIE
persist rdp-cookie
balance rdp-cookie
option tcpka
option tcplog
server node1 192.1.117.22:3389 weight 1 check inter 2000 rise
2 fall 3
server node2 192.1.117.24:3389 weight 1 check inter 2000 rise
2 fall 3
server node3 192.1.117.34:3389 weight 1 check inter 2000 rise
2 fall 3
option redispatch
The proxy works well. When i connect to an RDP session using
192.1.119.254 it connects to any one of the 3 ips mentioned above. I
tested it with 3 of my colleagues and they were able to connect to one
of the ips. But the problem is if a 4th guy connects, it gets connected
to an already existing connection and also terminating the existing one.
Also we have been testing this for persistence which doesnot happen in
our case. If i disconnect and try again, it takes me to a different ip
than the earlier one.
The machines used are Win Xp nodes.
Please help and let me know where i am making the mistake or do i really
need to add anything else.
Regards
Shyam Kumar KV
This email is sent for and on behalf of Ivy Comptech Private Limited. Ivy
Comptech Private Limited is a limited liability company.
This email and any attachments are confidential, and may be legally privileged
and protected by copyright. If you are not the intended recipient dissemination
or copying of this email is prohibited. If you have received this in error,
please notify the sender by replying by email and then delete the email
completely from your system.
Any views or opinions are solely those of the sender. This communication is
not intended to form a binding contract on behalf of Ivy Comptech Private
Limited unless expressly indicated to the contrary and properly authorised. Any
actions taken on the basis of this email are at the recipient's own risk.
Registered office:
Ivy Comptech Private Limited, Cyber Spazio, Road No. 2, Banjara Hills,
Hyderabad 500 033, Andhra Pradesh, India. Registered number: 37994. Registered
in India. A list of members' names is available for inspection at the
registered office.