Installation on multiple servers

Prev Next

Configuring Zetaly Module Addresses for the FrontalWeb Component in a Distributed Deployment

By default all the Zetaly modules (except the ZAC module) are installed on the same server. As a result, the address used by the FrontalWeb component to internally access the each of the Zetaly modules is set to localhost as summarized in the table below.

Zetaly Module Property Default Address
ZCC Backend.ZCC.Host localhost
ZRP Backend.ZRP.Host localhost
MYZ Backend.MYZ.Host localhost
ZDE Backend.ZDE.Host localhost
ZSA Backend.ZSA.Host localhost
ZSAC Backend.ZSAC.Host localhost
ZHB Backend.ZHB.Host localhost
ZUP Backend.ZUP.Host localhost
ZQM Backend.ZQM.Host localhost
ZCO Backend.ZCO.Host localhost
ZDC Backend.ZDC.Host localhost

If you want to install the Zetaly modules on different servers, you must update these properties to match the IP addresses of the servers on which they are installed.
In our example, the Zetaly modules are installed on three different servers as summarized in the table below.

Zetaly Module Server 1
10.0.0.1
Server 2
10.0.0.2
Server 3
10.0.0.3
ZCC Installed Not Installed Not Installed
ZRP Not Installed Installed Not Installed
MYZ Installed Not Installed Not Installed
ZDE Installed Not Installed Not Installed
ZSA Not Installed Not Installed Installed
ZSAC Installed Not Installed Not Installed
ZHB Installed Not Installed Not Installed
ZUP Installed Not Installed Not Installed
ZQM Installed Not Installed Not Installed
ZCO Installed Not Installed Not Installed
ZDC Installed Not Installed Not Installed
Note:

The ZSA and ZRP modules consume more RAM than the other modules. For this reason, in our example, the ZRP module is installed on Server 2 (10.0.0.2) and the ZSA module is installed on Server 3 (10.0.0.3).

In this case you would create the following section at the end of the zetalyinstall.cnf file.

############################################################
#                Distributed Module Addresses              #
############################################################
Backend.ZCC.Host              =      10.0.0.1
Backend.ZRP.Host              =      10.0.0.2
Backend.MYZ.Host              =      10.0.0.1
Backend.ZDE.Host              =      10.0.0.1
Backend.ZSA.Host              =      10.0.0.3
Backend.ZSAC.Host             =      10.0.0.1
Backend.ZHB.Host              =      10.0.0.1
Backend.ZUP.Host              =      10.0.0.1
Backend.ZQM.Host              =      10.0.0.1
Backend.ZCO.Host              =      10.0.0.1
Backend.ZDC.Host              =      10.0.0.1

You will also need to modify the run.sh file, so that the XXX_DEPLOYED=0 lines change to 1 if the module is present.