Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Power TCP SSL Sockets doesn't work on Load-Balancing under Windows Server 2003
Schipa
jlee@ecwebworks.com

From: Burlington, ON Canada
Posts: 4
Member Since: 01/15/04
posted January 15, 2004 10:13 AM

We have an application server installed in two different boxes and lisetn to request from clients. We have setup a virtual load-balancing IP addresses on both machines so that if one of the server is down, the other one will pick up the work load.

However, it seems like PowerTCP Sockets SSL isn't recognizing the virtual load-balancing IP addresses from the Windows 2003 Server. Our team is wondering if this can be fixed easily or actually this situation is not supported by Dart yet. Thanks.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 15, 2004 10:31 AM

What do you mean by "isn't recognizing the virtual load-balancing IP addresses?"

What's the error message that we give when you call connect?

What happens if you try to connect to the same IP using Windows Telnet?
Schipa
jlee@ecwebworks.com

From: Burlington, ON Canada
Posts: 4
Member Since: 01/15/04
posted January 15, 2004 10:40 AM

E.g.
Application Server named AppServer1 with IP address 10.0.0.1

Application Server named AppServer2 with IP address 10.0.0.2

Virtual load-balancing server AppServer with IP address 10.0.0.3.

The PowerTCP Sockets only recognized the 10.0.0.1 - the phyical IP address of the specific machine but not the virtual load-balancing IP address 10.0.0.3.

We tried binding to different IP and also left it blank to test it but it just doesn't work on the virtual IP address.

Both telnet and ping can recognize the virtual IP address 10.0.0.3
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 15, 2004 10:46 AM

What did you call to connect look like?
What was the error?
Schipa
jlee@ecwebworks.com

From: Burlington, ON Canada
Posts: 4
Member Since: 01/15/04
posted January 15, 2004 11:21 AM

We have got web IIS setup in the exact same load-balancing manmer as the Application server that I have mentioned. It is listening on 0.0.0.0 port 80 and it works under all fail-over and connection scenario situation. With our application, we started both application servers and the application is listening to 0.0.0.0 port 9600, which is the way I believe it should. 

We launched two clients at the time to connect to the load-balancing virtual IP address. According to the load-balancing, we believe one client should hit one server and the other one hits the other. However, only one client went through to the second Applicaiton server and the other one received "Conneciton error" message.

App1 server is still listening to 0.0.0.0 port 9600 however, App2 is reversed and binding to a specific IP address (the wrong one. E.g. 192.168.100.204:9600)

Is there any other specific information you need to help us with the problem? Thanks.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 15, 2004 11:35 AM

I need the specific line of code that use with the Tcp.Connect method.

I also need the exact exception that is generated when the Tcp.Connect method is called.

Schipa
jlee@ecwebworks.com

From: Burlington, ON Canada
Posts: 4
Member Since: 01/15/04
posted January 20, 2004 8:55 AM

Problem solved! I went through my code and realized I have used System.Net.Dns.GetHostName() to assign IP address after a transaction is completed. For now, I am only using Server.Listener(int port) and it works fine under the load-balancing environment.
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX