Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: smile on September 17, 2013, 09:08:00 AM
-
Hi All
ORS can interact with UCS/CS and OCS only via http interface. Inside SCXML we have to use fetch tag and point them into context services url. But if we have primary+backup UCS, what is the right way to know to which node should i connect?
-
I do not have UCS in HA in my lab yet but how do you configure cview section on both UCS within HA pair? Context services are accesible on IP address which is configured in cview section, so if both UCS has same ip-address option, the URI for context services will be always same.
-
Kubig, how both UCS can has same ip-address option? I guess if we have ucs_p and ucs_b nodes with ip addresses 10.0.0.1 and 10.0.0.2, each has configured url 10.0.0.1/cv/ and 10.0.0.2/cv/. If scxml is written with fixed url 10.0.0.1/cv/ we can't failover to second node in case of first node failure, doesn't it? the one solution that i see - exception handling in scxml to track that first url is down and switch to second one. Probably it is possible to do same thing with DNS having two A-records, but i thing it's less reliable way.
-
Yes, you are right. I only asked if is possible to set both ip-address to same value. I guess it can, cause the WS for context services can run on one server instead two server (primary and backup), but it does not make a sense :-). DNS record with two A-records may be the right way or try to ask Genesys how to achieve it.
Second way , you can send keep-alive HTTP packet to the primary UCS, if UCS send a response, you know he is alive. In other case, you have to use second/backup URL.