Installation on multiple servers
    • 17 Jul 2024
    • 1 Minute to read
    • Contributors
    • Dark
      Light

    Installation on multiple servers

    • Dark
      Light

    Article summary

    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 ModulePropertyDefault Address
    ZCCBackend.ZCC.Hostlocalhost
    ZRPBackend.ZRP.Hostlocalhost
    MYZBackend.MYZ.Hostlocalhost
    ZDEBackend.ZDE.Hostlocalhost
    ZSABackend.ZSA.Hostlocalhost
    ZSACBackend.ZSAC.Hostlocalhost
    ZHBBackend.ZHB.Hostlocalhost
    ZUPBackend.ZUP.Hostlocalhost
    ZQMBackend.ZQM.Hostlocalhost
    ZCOBackend.ZCO.Hostlocalhost
    ZDCBackend.ZDC.Hostlocalhost

    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 ModuleServer 1
    10.0.0.1
    Server 2
    10.0.0.2
    Server 3
    10.0.0.3
    ZCCInstalledNot InstalledNot Installed
    ZRPNot InstalledInstalledNot Installed
    MYZInstalledNot InstalledNot Installed
    ZDEInstalledNot InstalledNot Installed
    ZSANot InstalledNot InstalledInstalled
    ZSACInstalledNot InstalledNot Installed
    ZHBInstalledNot InstalledNot Installed
    ZUPInstalledNot InstalledNot Installed
    ZQMInstalledNot InstalledNot Installed
    ZCOInstalledNot InstalledNot Installed
    ZDCInstalledNot InstalledNot 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
    

    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.


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.