" /> Identify Tserver application bounce scenario - Genesys CTI User Forum

Author Topic: Identify Tserver application bounce scenario  (Read 3827 times)

Offline Mahe

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Identify Tserver application bounce scenario
« on: January 13, 2015, 02:19:57 PM »
Advertisement
hi
I am new to genesys. right now in our application we are establshing tcp/ip connection to a tserver using Tserver protocol. and we register some set of DNs. the registration of Dns happens successfully and our application also starts receiving events for those Dns. at one point of time some application in the Tserver side goes down ie bounce occurs.. there after we do not recieve any events for the DNs. we hav to restart our application to register the Dns again and listen for the events
now we need to identify when the Tserver app went down  and based on this we need to register the Dns again to start receiving the events
we are using genesys 7.x voice protocols TserverProtocol and we tried to set Addp configuratins for the protocol and tested in genesys Tserver simulator. but we could nt implement it properly
does the Tserver also be configured with Addp settings. if so can u please let us know how to set those settings in the Tserver simulator side (we use Tserver simulator and PBX simulator)
configurin Addp may not help the above problem (not getting events aftr some Tserver app bounce) but still we were tryin to configure and test
Sorry if i m not clear in asking the question since i have no much idea about genesys

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Identify Tserver application bounce scenario
« Reply #1 on: January 13, 2015, 02:44:21 PM »
Try to read about ADDP in documentation. ADDP is just a proprietary Genesys protocol for advanced detection of local/remote failure.

if the T-Server goes down and there is no HA, you have to re-register requested DNs from your application again. That is expected and right behavior.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Identify Tserver application bounce scenario
« Reply #2 on: January 13, 2015, 04:45:21 PM »
just do it on the TEvent LinkDisconnected

Offline Mahe

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Identify Tserver application bounce scenario
« Reply #3 on: January 14, 2015, 05:30:53 AM »
there is an event com.genesyslab.platform.voice.protocol.tserver.events.EventLinkDisconnected.. the api tells it is disconnection between the tserver and the switch and we do not recieve this event when the application bounce occurs
Any other alternate to find the Tserver down and re-register the Dns

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Identify Tserver application bounce scenario
« Reply #4 on: January 14, 2015, 09:42:24 AM »
When the HA-pair switch roles, the event EventPrimaryChanged or something like that (I am not at my PC to approve it). Just try to make a switchover and find out what events are generated.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Identify Tserver application bounce scenario
« Reply #5 on: January 14, 2015, 11:27:34 AM »
Wait but if he has HA then no need to re-register DNS...something else is wrong. HA should fire immediately without magic.


Offline zafzef.mourad

  • Newbie
  • *
  • Posts: 33
  • Karma: 2
Re: Identify Tserver application bounce scenario
« Reply #6 on: March 04, 2015, 04:57:48 PM »
Why u don't just send a mail to the support service if TServer or switch is down....so they can reboot ur application

I had developed a application to monitoring some DN and if TServer is down I send mail and I switch to the TServer backup
« Last Edit: March 04, 2015, 04:59:59 PM by zafzef.mourad »

Offline zafzef.mourad

  • Newbie
  • *
  • Posts: 33
  • Karma: 2
Re: Identify Tserver application bounce scenario
« Reply #7 on: March 04, 2015, 05:09:17 PM »
Use EventServerDisconnected to check if TServer down or not

Offline mduran22

  • Full Member
  • ***
  • Posts: 108
  • Karma: 5
Re: Identify Tserver application bounce scenario
« Reply #8 on: March 06, 2015, 11:29:10 PM »
I don't think rebooting or restarting the TServer each time is a good long term solution. You need to find why TServer is going down, especially if it is consistent. You should be able to use some out of the box alarms that send alerts when TServer goes down. Since TServer is a central part of Genesys all of the other applications connected should be complaining. Do you see anything in the logs that would indicate why TServer stops or do the logging lines just stop?