PASOE load balancing by apache 2.4 with apsv transport

Posted by Roel de Wildt on 17-Feb-2019 20:21

Hi,

I'm trying to setup a load balancing environment for my PASOE environment with Apache 2.4 but somehow it does not work as expected. The following program failed to execute the program on the PASOE apsv transport:

DEF VAR hApp AS HANDLE NO-UNDO.

CREATE SERVER hApp.
hApp:CONNECT("-URL http://localhost/apsv").
RUN test.p ON hApp.

I get the following error when executing the RUN test.p ON hApp command.

Failure reading response from Application Server. (14810)
SERVER CCCF6596A10C3AFEDC20DEFD4FCA085E6756A65DBE10.prodemo is not connected. (5451)

I have the following in the apache httpd.conf:

<Proxy "balancer://mycluster-apsv">
  BalancerMember "http://host1:15000/apsv"
  BalancerMember "http://host2:15000/apsv"
</Proxy>

ProxyPass "/apsv" "balancer://mycluster-apsv"

If I connect to the url directly it works. But it must be load balanced by the Apache proxy I have set up. Does anyone have a working example or can show me how to implement this with OpenEdge 11.7.4?

Kind regards,

Roel de Wildt

Posted by Roel de Wildt on 18-Feb-2019 11:32

The problem is being solved with:

documentation.progress.com/.../index.html

Posted by Michael Jacobs on 18-Feb-2019 11:16

Look at K-Base article: 000080307

All Replies

Posted by Ruben Dröge on 18-Feb-2019 07:31

Hi Roel, did you enable AJP on the PASOE instance?

Please check this knowledge base article if you are using mod_proxy, otherwise check this document for Apache load balancing for PASOE using mod_jk.

Posted by Roel de Wildt on 18-Feb-2019 08:20

Hi Ruben,

I have the AJP protocol enabled on all the instances but if I load balance by this protocol I get the same error as with http.

Posted by Ruben Dröge on 18-Feb-2019 08:28

I expect you adjusted port numbers for AJP and potentially added these (and http/https) port numbers to the firewall exceptions too?

(considering your running your Apache server on a different server than you PASOE instance(s))

Posted by Roel de Wildt on 18-Feb-2019 08:43

Yes, those port numbers are adjusted and there is no firewall between the apache and PASOE instances.

After all I think that the apsv transport must not switch between the PASOE instances. I don't know how to solve this. The web transport works just fine while load balancing, only the apsv transport does not work.

Posted by Ruben Dröge on 18-Feb-2019 09:01
Posted by Michael Jacobs on 18-Feb-2019 11:16

Look at K-Base article: 000080307

Posted by Roel de Wildt on 18-Feb-2019 11:32

The problem is being solved with:

documentation.progress.com/.../index.html

This thread is closed