- 17 Jul 2024
- 1 Minute to read
- Contributors
- Print
- DarkLight
Installation on multiple servers
- Updated on 17 Jul 2024
- 1 Minute to read
- Contributors
- Print
- DarkLight
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 |
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
After installation
After installing the frontal part you have to edit the file 'zetaly/frontal/zetaly/assets/json/config.json' and change the values "xxxIsDeployed" to true for the needed modules.
Example
Server 1 : ZSA, ZQM and ZUP
Server 2 : Frontal and ZHB
Server 3 : ZDE
In server 2 I edit the file and change the following lines :
"zdeIsDeployed": true,
"zsaIsDeployed": true,
"zsajIsDeployed": true,
"zupIsDeployed": true,
ZHB should already set to true since it's on the same server as the frontal.