1. Install Apache webserver
2. Install mod_jk
3. Edit /etc/httpd/conf/httpd.conf add below context
LoadModule jk_module /etc/httpd/modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
JkShmFile /etc/httpd/logs/mod_jk.shm
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel debug
JkMount /jkstatus jkstatus
JkMount /* jklb
Or create new conf file. Example: pasoelb.conf with the same context above and edit /etc/httpd/conf/httpd.conf to include this conf file
4. Create PASOE instances
Example:
4.1 Create PASOE instance with the name lb
4.2 Create PASOE instance with the name status
4.3 Create PASOE instance with the name node1
4.4 Create PASOE instance with the name node2
Note:
Load balancer PASOE instance needs to have the name as "lb" and the status instance needs to have the name "status"
Each nodes can have any names
5. Create workers.properties file.
Example:
<instance_path>/bin/tcman.sh workers
Note:
workers.properties file for the lb instance is attached to this article as the name workers.properties.node
6. Create workers.properties file for Apache webserver
workers.properties file for the lb instance is attached to this article as the name workers.properties.PASOELB
7. Enable AJP13 for all instances.
As default AJP13 binds to localhost IPv6 IP only.
To enable it follow article:
PAS does not start after enabling AJP138. Start all instances and restart Apache webserver