...
Agregar los workers en el archivo "conf/workers.properties", definirlo en worker.list y luego agregar el puerto (se obtiene de /jboss/standalone/configuration/o3bi.xml(<socket-binding name="ajp" port="8009"/>) se le suma o resta el offset) y el servidor.
Code Block |
---|
worker.list=worker-o3web,worker-eportalworker1,worker2 worker.worker-o3webworker1.port=puerto (por defecto es el 8009) worker.worker-o3webworker1.host=Nombre de servidor o ip worker.worker-o3webworker1.type=ajp13 worker.worker-o3webworker1.lbfactor=1 worker.worker-eportalworker2.port=puerto (por defecto es el 8309) worker.worker-eportalworker2.host=Nombre de servidor o ip worker.worker-eportalworker2.type=ajp13 worker.worker-eportalworker2.lbfactor=1 |
(Luego de agregar los workers en el archivo "conf/workers.properties" agregar el host virtual en "conf.d/virtualhost.conf", se requiere tener instalado en apache el mod_proxy)
Code Block |
---|
<VirtualHost *:80> ServerName example.xxx.org ServerAdmin webmaster@xxx.org # o3web JkMount JKMount /o3web worker-o3webworker1 JkMount JKMount /o3web/* worker-o3webworker1 JkMount JKMount /o3reportexist worker-o3webworker1 JKMountJkMount /o3reportexist/* worker-o3webworker1 JkMount /o3report JKMountworker1 /cas worker-o3web JkMount /o3report/* worker1 JKMount JkMount /cas/* worker-o3webworker1 JKMountJkMount /o3-rest worker-o3webworker1 JkMount JKMount /o3-rest/* worker-o3webworker1 JkMount JKMount /rbac-rest worker-o3webworker1 JkMount JKMount /rbac-rest/* worker-o3webworker1 JkMount JKMount /o3-parts-blaze-web worker-o3webworker1 JKMountJkMount /o3-parts-blaze-web/* worker-o3web worker1 JKMount /o3bi-admin worker1 worker-o3web JKMount /o3bi-admin/* worker-o3webworker1 # eportal JKMountJkMount /eportal worker-eportalworker2 JKMountJkMount /eportal/* worker-eportalworker2 JKMountJkMount /eportalthemes worker-eportalworker2 JKMountJkMount /eportalthemes/* worker-eportalworker2 JKMountJkMount /o3-liferay-theme worker-eportalworker2 JKMountJkMount /o3-liferay-theme/* worker-eportalworker2 JKMountJkMount /geoserver worker-eportalworker2 JKMountJkMount /geoserver/* worker-eportalworker2 JKMountJkMount /o3-parts-web worker-eportalworker2 JKMountJkMount /o3-parts-web/* worker-eportalworker2 JKMountJkMount /o3portal worker-eportalworker2 JKMountJkMount /o3portal/* worker-eportalworker2 JKMount /notifications-portlet worker-eportalworker2 JKMount /notifications-portlet/* worker-eportalworker2 JKMount /welcome-theme worker-eportalworker2 JKMount /welcome-theme/* worker-eportalworker2 JKMount /j2ep worker-eportalworker2 JKMount /j2ep/* worker-eportal worker2 JKMount /o3bpa-dashlets=worker2 JKMount /o3bpa-dashlets/*=worker2 #exist ProxyPass /exist http://servidor:8088/exist ProxyPassReverse /exist http://servidor:8088/exist </VirtualHost> |
...