Proxy modules set up the Apache Web server as a proxy to handle requests to multiple PAS for OpenEdge instances. The modules are loaded by un-commenting LoadModule directives in the Apache Web server's httpd.conf file. The LoadModule directives include:
Note: Depending on which version of the Apache server you are using, there may be additional modules required. See the Apache Web site (http://httpd.apache.org/) for documentation on your version of the Apache server.
Referencing instances and configuring session types
Update Apache’s httpd.conf file to include a load balancer section that lists the PASOE instances in the load balancing group. This can be configured two different ways:
Session free — any request can be sent to any PAS for OpenEdge instance.
Sticky session — once a session is started all requests return to the same PAS for OpenEdge instance until the session is terminated
If there is no need for client requests to return the the same PAS for OpenEdge instance (i.e. maintaining server-side context is not required), your entries in httpd.conf should resemble the following example:
Notice that, in the example above, the instances where Apache can refer requests are grouped as //mylbgroup and the URL of these instances (the BalancerMember properties) are specified.
If it is necessary for sequential requests to go to the same instance, you enable sticky sessions by adding a route property to BalancerMember and by enabling JSESSIONID cookies. For example:
The route property must match the jvmroute value in the instance's server.xml file.
The stickysession property enables the JSESSIONID cookie, which is the mechanism used to identify the session.
Note: For more information about session configurations in the httpd.conf file, see the Apache Web site (http://httpd.apache.org/) for documentation on your version of the Apache server,