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?
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)
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.
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.