Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: lekie on February 17, 2010, 04:48:55 AM

Title: Email Server Java
Post by: lekie on February 17, 2010, 04:48:55 AM
Dear all,

    There are email_server_a is primary, email_server_b is backup and a webapi server. Has anyone know why in connection tab of webapi must to connect to both of email_server a and b? I have tested a case,If in connection tab of webapi its connect only email_server_a when email_server_a is fail and email_server_b is changed to be primary then I couldn't send email via web form?

Thanks you inadvance.
cheers,
Lekie
Title: Re: Email Server Java
Post by: Timur Karimov on February 17, 2010, 05:36:07 AM
Hmm, did you use ADDP on this connection ?

WBR
Title: Re: Email Server Java
Post by: lekie on February 17, 2010, 06:04:04 AM
no addp
error in webapi log showed as below

14:09:42.531 Std 20103 LB: exception during inguiry inqSrvcByType: service not found in thread SvcDispatcher
14:14:32.551 Trc 20200 LB: method initializeDispatcher invoked, thread SvcDispatcher
14:14:32.551 Trc 20200 LB: initializeDispatcher: SVC dispatcher has been initialized already, thread SvcDispatcher
14:14:32.551 Trc 20501 LB: received service inquiry by type 'CFGEmailServer', tenant='Resources' in thread SvcDispatcher
14:14:32.973 Trc 20200 LB: ServiceDescr.getSrvcByType: Tenant=Resources(DBID=101)

cheers,
Lekie
Title: Re: Email Server Java
Post by: René on February 17, 2010, 04:04:39 PM
Hi Lekie,

I haven't tried such configuration but I think it's a conflict between supported HA modes. WebAPI server does support HA by using load-balancing mechanism. That means that it can load-balance between multiple applications of the same type that are connected to it (listed on Connection tab). Email Server Java itself support warm-standby HA. If you combine these two modes then it won't work as WebAPI doesn't care about ESJ warm-standby - it simply load-balances traffic between connected applications only. So when primary ESJ goes down WebAPI doesn't care about backup ESJ as WebAPI is not connected to this application.

R.
Title: Re: Email Server Java
Post by: YevgeniyP on February 17, 2010, 08:58:54 PM
You have to specify both in WebAPI Server connections, but it will use only "current" primary based on information from SCS and switch to another if switchover happened.

YP
Title: Re: Email Server Java
Post by: lekie on February 19, 2010, 08:01:10 AM
Thank you for all comment