" /> GAD NLB - Genesys CTI User Forum

Author Topic: GAD NLB  (Read 2252 times)

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
GAD NLB
« on: September 06, 2012, 12:40:34 PM »
Advertisement
We are running GAD on a Windows NLB across 2 servers (primary/primary).

If gad fails we run a script to disable the node for that server (detect code 5064), therefore all traffic is sent to the alternative node.

However we want to to detect that gad has started again, then run a script to enable the node for that server again.
The problem is the detect code (5060) when the application is started is generated twice for gad, once when it is started, then after initialization.  if we enabled the node at initial start up, agents would not be able to connect until after the initialization.  We want to run the enable node script after initialization (or second start up).

is there way round for this?
The status change from initialization to running seems to be 43-20620 - but when i create an alarm condition (in GA), no active alarm is generated.
scs logs below:

12:00:48.759  Standard  {gad host}  gad1  GCTI-00-05064  Application terminated due to internal condition
12:00:48.759 ### LOCAL MESSAGE#=5064, 'Application terminated due to internal condition'

12:01:44.602 #### App{114,gad1} status changed to APP_STATUS_RUNNING mode=PRIMARY, [prev=APP_STATUS_INITIALIZING]
12:01:44.602  Trace  {framework host}  scs  GCTI-43-20620  [Application gad1]: LiveStatus changed to APP_STATUS_RUNNING from APP_STATUS_INITIALIZING
12:01:44.602 ### LOCAL MESSAGE#=20620, '[Application gad1]: LiveStatus changed to APP_STATUS_RUNNING from APP_STATUS_INITIALIZING'

The problem seems to be that the status change is based on the scs application, not gad however can it be restricted to just gad? We dont want the enable script running when any application changes from initializing to running.

Thanks.

Offline Timur Karimov

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: 2
Re: GAD NLB
« Reply #1 on: September 07, 2012, 07:52:10 PM »
Hi there!

It's a old "bug" in GAD. Found In: 7.6.001.11 and no fix for this time. But in latest 7.6.400.11 i'll see an announce about new  application template for GAD what must prevent the SCI to rise the second "fail" alarm. Do you try to upgrade your GAD ? But remeber - for new application type you need to delete in CME or Web Admin your existing application an  create it with new template.

But i should ask you another question. Why you use such difficult scheme to control you GAD ? Why not use standard for JAVA way  - mod_jk with Apache or IIS front-end ?
 
HIH

WBR TIm