01-26-2017 04:22 PM
Hello,
We connect to the Finesse server using XMPP as a Server application to receive agent state and dialog notifications. We are using Smack Libs to manage connection retry attempts. If we are to handle failover scenarios wherein the primary finesse server fails, should our code be handling the connection to the secondary or the other server in the cluster? Or can we still try connecting to the Finesse primary server and it can automatically direct the connection to an active server.
Would you please advice on how this should be approached?
Thanks,
Param
Solved! Go to Solution.
01-26-2017 04:30 PM
Hi Param,
The out of the box Finesse desktop has a failover detection where if it is connected to the primary and it goes down, it will check to see if the secondary is IN_SERVICE before attempting to connect to it. It checks by using the SystemInfo API.
So, if the primary server fails, it should make sure the secondary is up. If so, connect to the secondary server. If not, continue to ping each of the finesse servers until one is IN_SERVICE and connect to that. The primary server will not automatically direct the connection to an active server.
I hope that helps!
Thanx,
Denise
01-26-2017 04:30 PM
Hi Param,
The out of the box Finesse desktop has a failover detection where if it is connected to the primary and it goes down, it will check to see if the secondary is IN_SERVICE before attempting to connect to it. It checks by using the SystemInfo API.
So, if the primary server fails, it should make sure the secondary is up. If so, connect to the secondary server. If not, continue to ping each of the finesse servers until one is IN_SERVICE and connect to that. The primary server will not automatically direct the connection to an active server.
I hope that helps!
Thanx,
Denise
01-26-2017 04:41 PM
Thank you Denise, that does answer my question.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide