Date: Fri, 29 Mar 2024 12:48:48 +0000 (UTC) Message-ID: <1609340448.11061.1711716528628@911f0a1bad02> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_11060_269429821.1711716528627" ------=_Part_11060_269429821.1711716528627 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Once the Apache HTTP Server is installed, it can be configured t= o operate as Load Balancer.
{ApacheHTTPServerDir}/modu=
les_
and rename it to 'mod_jk.so'. The name might be slightly differ=
ent depending on OS, see instructions on downloa=
d pageAdd the lines below into {ApacheHTTPServerDir}/conf/httpd.conf=
after all other LoadModule lines:
LoadModule= jk_module modules/mod_jk.so # JK/Worker configuration # Where to find workers.properties JkWorkersFile conf/workers.properties # Where to put jk logs JkLogFile logs/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info JkMount /* loadbalancer # In case you want to be able to monitor JK status # <Location /jkmanager/> # JkMount jkstatus # Order deny,allow # Deny from all # Allow from 127.0.0.1 # </Location>=20
For more info on available options, see http://tomcat.apache.org/connectors-doc/webserver_howto= /apache.html
{servoyInstall}/application_serv=
er/terracotta
directory to {ApacheHTTPServerDir}/conf
. =
The default worker.properties file contains the configuration to load balan=
ce two Servoy application Servers, running on 2 different machines, both us=
ing port 8009.It's possibility to monitor and control worker activity by uncommenting =
the 'jkstatus' related comments in worker.properties and <=
strong>httpd.conf and accessing {loadBalancerUrl}/jkmanager/=
. This page will also allow to activate/disable workers. A worker sh=
ould be added for each Servoy Application Server that will possibly be star=
ted in the cluster, even when not planning to have them started all at once=
. There is no problem if only a part of those Servoy Application Servers ar=
e started. Load-balancing will work on servers defined in the worke=
r.properties file that are also available. If workers are defined =
for Servoy Application Servers that are not started, disable them from the =
jkmanager page in order to avoid delays caused by load-balancer trying to c=
heck the availability of these workers.