loadbalancer ping and SFS2X

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

ernivan
Posts: 59
Joined: 11 Aug 2010, 14:53

loadbalancer ping and SFS2X

Postby ernivan » 17 May 2011, 13:47

hi

we have Fail-over Cluster configuration with one loadbalancer (www.radware.com) and two SFS2X , the loadbalancer ping SFS to see if it is alive.
this is the log of SFS :
-----------------------------------------------------------------
17 May 2011 15:00:03,183 INFO [SocketReader] bitswarm.core.SocketAcceptor - Session created: { Id: 5, Type: DEFAULT, Logged: No, IP: 10.6.189.130:64510 } on Server port: 1955 <---> 64510
17 May 2011 15:00:03,188 INFO [SocketReader] bitswarm.sessions.DefaultSessionManager - Session removed: { Id: 5, Type: DEFAULT, Logged: No, IP: 10.6.189.130:64510 }
17 May 2011 15:00:04,691 INFO [SocketReader] bitswarm.core.SocketAcceptor - Session created: { Id: 6, Type: DEFAULT, Logged: No, IP: 10.6.189.131:60213 } on Server port: 1955 <---> 60213
17 May 2011 15:00:04,691 INFO [SocketReader] bitswarm.sessions.DefaultSessionManager - Session removed: { Id: 6, Type: DEFAULT, Logged: No, IP: 10.6.189.131:60213 }
17 May 2011 15:00:09,183 INFO [SocketReader] bitswarm.core.SocketAcceptor - Session created: { Id: 7, Type: DEFAULT, Logged: No, IP: 10.6.189.130:64476 } on Server port: 1955 <---> 64476
17 May 2011 15:00:09,184 INFO [SocketReader] bitswarm.sessions.DefaultSessionManager - Session removed: { Id: 7, Type: DEFAULT, Logged: No, IP: 10.6.189.130:64476 }
--------------------------------------------------------------------

are the message logs correct ?
can the ping process disturb SFS2X activity ?
if something is wrong, what is the right way ?

thanks
User avatar
Bax
Site Admin
Posts: 4507
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 17 May 2011, 14:25

No problems: the load balancer establishes a connection towards SFS, which simply logs this.
Paolo Bax
The SmartFoxServer Team
ernivan
Posts: 59
Joined: 11 Aug 2010, 14:53

Postby ernivan » 17 May 2011, 14:57

thanks :)
itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

query about loadbalancing sfs2x

Postby itsmylifesoham » 18 Oct 2011, 04:38

Hi enirvan,

I have been thinking of having the same setup as you. One with a loadbalancer in front of two sfs servers(server A, server B).

I have a few questions :

1. Did you have to buy two separate sfs licenses to run these two sfs instances?

2. Lets say i have a zone defined called lobby which contains a lobby room.
Now what i would have liked is that all users who join the lobby room in the lobby zone are able to see each other, no matter on which of the two servers they are on. Also are you using sticky session with load balancer? Because my guess is if you joined the lobby zone on server A, then all your further messages should be handled by server A only.
So how are you doing this?

Thanks
:D

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Google [Bot] and 11 guests