Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

Chinese

概观

Thai

ภาพรวม

English
This document is intended to describe the steps required to deploy Joget Large Enterprise Edition (LEE) in a clustered environment for scalability and redundancy.
Chinese

本文旨在描述在集群环境中部署Joget Workflow Large Enterprise Edition(LEE)以实现可伸缩性和冗余性所需的步骤。

...

Thai

มีหลายวิธีในการออกแบบสถาปัตยกรรมคลัสเตอร์ แต่แนวคิดหลักคล้ายกัน ในเอกสารนี้สถาปัตยกรรมที่ใช้มีดังนี้:


Image Modified

Deployment and Configuration Guide

...

  1. Deploy the WAR file jw.war from the LEE bundle to each of the application servers e.g. for Apache Tomcat, copy the files into the webapps directory

    Chinese

    将WAR文件jw.warjwdesigner.war从LEE包中部署到每个应用服务器,例如Apache Tomcat,将这些文件复制到tomcat webapps目录

    Thai

    ปรับใช้ไฟล์ WAR jw.war และ jwdesigner.war จากแพ็คเกจ LEE ไปยังแต่ละเซิร์ฟเวอร์แอปพลิเคชันเช่น Apache Tomcat และคัดลอกไฟล์เหล่านี้ไปยังไดเรกทอรี tomcat webapps

  2. Add the following Java options in the application server startup e.g. for Apache Tomcat, modify the JAVA_OPTS line.

    Chinese

    在应用程序服务器启动中添加Java -wflow.home = shared_directory_path选项,例如,对于Apache Tomcat,请修改JAVA_OPTS行

    Thai

    เพิ่มตัวเลือก Java ต่อไปนี้ในแอปพลิเคชันเซิร์ฟเวอร์เริ่มต้นเช่น สำหรับ Apache Tomcat ให้แก้ไขบรรทัด JAVA_OPTS



    Note: You can download the wflow-cluster.jar from here. The "wflow-cluster.jar" option must be added before any other "-javaagent" option.

Code Block
export JAVA_OPTS="-Xmx1024M -Dwflow.home=/shared_directory_path -javaagent:/shared_directory_path/wflow-cluster.jar -javaagent:/path_to/lib/aspectjweaver-1.8.5.jar -javaagent:/shared_directory_path/glowroot/glowroot.jar"
Note

Please note that -Dwflow.name= is optional, but it is required if your nodes are in the same server. -Dwflow.name= must be placed before -javaagent:/shared_directory_path/wflow-cluster.jar.

Example: -Dwflow.name=node1


License Activation

Chinese

许可证激活

...

Activate license for each server. Each server has a unique system key and requires a separate license activation.

For more info about license activation, see Activate your Joget DX Enterprise License.

Chinese

激活每个服务器的许可证。每台服务器都有一个唯一的系统密钥,需要单独的许可证激活。

...

  1. For each of the application servers, use the browser to directly access the Joget web console bypassing the load balancer e.g. http://server1:8080/jw/web/console/home

    Chinese

    对于每个应用程序服务器,使用浏览器直接访问Joget Web控制台,绕过负载平衡器,例如 {+} http:// server1:8080 / jw / web / console / home +

    Thai

    สำหรับแต่ละแอปพลิเคชันเซิร์ฟเวอร์ให้ใช้เบราว์เซอร์เพื่อเข้าถึง Joget เว็บคอนโซลโดยตรงผ่านตัวโหลดบาลานซ์เช่น http://server1:8080/jw/web/console/home

  2. Request for license and activate it using the link in the web console footer.

    Chinese

    请求许可证并使用的Web控制台页脚中的链接激活它。

    Thai

    ร้องขอใบอนุญาตและเปิดใช้งานโดยใช้ลิงก์ในส่วนท้ายของคอนโซลเว็บ


    Image Added

Post-Deployment Testing

Chinese

部署后测试

...

Code Block
NameVirtualHost *
<VirtualHost *>
	DocumentRoot "/var/www/jwsite" 
	ServerName localhost
	ServerAdmin support@example.com
 	ErrorLog /var/log/wwwapache2/jwsite/logs/-error.log
    CustomLog /var/log/wwwapache2/jwsite/logs/-access.log combined
	DirectoryIndex index.html index.htm 
	<Proxy balancer://wscluster>
		BalancerMember ws://server1:8080 route=node01
		BalancerMember ws://server2:8080 route=node02
		Order deny,allow
		Allow from all
	</Proxy>
	ProxyPass /jw/web/applog balancer://wscluster/jw/web/applog stickysession=JSESSIONID|jsessionid
	ProxyPassReverse /jw/web/applog balancer://wscluster/jw/web/applog
	<Proxy balancer://cluster>
		BalancerMember http://server1:8080 route=node01
		BalancerMember http://server2:8080 route=node02
		Order deny,allow
		Allow from all
	</Proxy> 
	ProxyPass /jw balancer://cluster/jw stickysession=JSESSIONID|jsessionid
	ProxyPassReverse /jw balancer://cluster/jw
	ProxyPreserveHost On
</VirtualHost>

...