Docker Configuration Properties
    • 12 Mar 2024
    • 15 Minutes to read
    • Contributors
    • Dark
      Light

    Docker Configuration Properties

    • Dark
      Light

    Article summary

    Introduction

    Zetaly provides a global configuration file called zetalyinstall.cnf which contains all the necessary properties to perform a default installation under Docker. Before executing the run.sh script, you must define the values for the properties in the zetalyinstall.cnf file according to this article.
    In some cases you may need to customize your installation to support your installation environment. Examples include, but are not limited to the following:

    • needing to change the default port of one or more Zetaly modules to avoid port clashes with other services that are already using the same port,
    • changing the default log level of the Zetaly modules,
    • installing the different Zetaly modules on different Docker containers,

    To customize your installation under Docker you must add additional properties at the end of the zetalyinstall.cnf file before executing the run.sh script.

    Note:

    The run.sh script contains properties to determine which of the Zetaly modules are installed, and whether the OrientDB database is installed and used. It is pre-configured according to your installation package. Typically you do not need to edit this file unless you run into installation problems.
    If you run into installation problems, you can edit the run.sh script accordingly to match your installation package's requirements. For more information, see Editing the run.sh Script.

    Custom Configuration Properties

    The table below summarizes the properties that you can add into the zetalyinstall.cnf file to customize your installation.
    Each line you add for a property in the zetalyinstall.cnf file overrides the zetalyinstall.sh script's default value with the value that you specify. Each line you add must take the following format, where the custom.property and custom value you define are seperated by an equals symbol (=).

    custom.property   =   custom value
    

    Some properties can be customized individually, while other groups of properties must be customized together (as they have interdependencies). For examples of when groups of properties must be customized together, see Customization Examples.
    You can also add comments using the hash symbol (#) to describe your custom installation properties.

    ############################################
    #       Custom Installation Properties     #
    ############################################
    custom.property.1  =   custom value 1
    custom.property.2  =   custom value 2
    custom.property.3  =   custom value 3
    
    Note:

    The customizable properties in the table below have default values which typically do not need changing. Change them with caution. If in doubt, contact Zetaly support for more information.

    PropertyDescriptionDefault Values
    Installation.DirectoryDirectory used for the installation../tmp
    Database.GenerationModeGeneration mode for the internal database.
    Possible values:
    • update (Update the database structure only, default.)
    • drop-and-create (Drop and create the database at launch. Test purposes only.)
    update
    OrientDB.HostAddressOrientDB host address.zetaly_orientdb
    OrientDB.NameOrientDB database name.zetalydb
    OrientDB.UserNameOrientDB username.root
    OrientDB.PasswordOrientDB password.root
    OrientDB.RetryOnTransactionExceptionNumber of retries if a record cannot be inserted.3
    Frontal.Host.ContainerName of the container.zetaly_frontal
    Frontal.Host.PortPort used to access the Zetaly Portal.443
    BI.Anonymous.EmailAnonymous username, used to access the public dashboard.anonymous-user@zetaly.io
    BI.Anonymous.PasswordAnonymous password.Zetaly01!.
    Backend.BI.SchemeThe protocol used by the BI module.
    Possible values:
    • https
    • http
    Note: Typically this property not added to the zetalyinstall.cnf file. You must always use https use for new installations or for an enviroment that already has the BI module installed and configured using https (i.e. you do not need to add this parameter). You only need to add this parameter and specify http for an enviroment that already has the BI module installed and configured to use http.
    https
    Backend.ZSA.SchemeProtocol to internally access the ZSA module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZSA.HostHost to internally access the ZSA module.zetaly_zsa
    Backend.ZSA.PortPort to internally access the ZSA module.11010
    Backend.ZSA.LogLevelLog level for the ZSA module.
    Possible values (case sensitive):
    • Debug
    • Information
    • Warning
    • Error
    Warning
    Backend.ZSA.EmailZSA username. This user is only used to communicate between the ZSA module and the other Zetaly modules.zsa-user@zetaly.io
    Backend.ZSA.PasswordZSA password.Zetaly01!.
    Backend.ZSA.StorageConfigurationType of storage for RAW records.
    Possible values:
    • SQL
    • GRAPH
    • BOTH
    SQL
    Backend.ZSA.Loadviews.Timeout.msLoadviews maximum waiting time (in milliseconds) for all the agents to stop.60000
    Backend.ZRP.SchemeProtocol to internally access the ZRP module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZRP.HostHost to internally access the ZRP module.zetaly_zrp
    Backend.ZRP.PortPort to internally access the ZRP module.11020
    Backend.ZRP.LogLevelLog level for the ZRP module.
    Possible values:
    • ALL
    • FATAL
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE
    • OFF
    INFO
    Backend.ZRP.replaceSmfIntervalGapMode if ZRP should fill the gap between two data intervals.
    Possible values:
    • REPLACE_GAP
    • NOTHING
    REPLACE_GAP
    Backend.ZRP.maxPeriodIntervalNumberNumber of intervals between two data intervals that should be detected as a gap.2
    Backend.ZRP.ArgsJDK arguments.
    Backend.MYZ.SchemeProtocol to internally access the MYZ module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.MYZ.HostHost to internally access the MYZ module.zetaly_myz
    Backend.MYZ.PortPort to internally access the MYZ module.11030
    Backend.MYZ.LogLevelLog level for the MYZ module.
    Possible values:
    • ALL
    • FATAL
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE
    • OFF
    INFO
    Backend.MYZ.ArgsJDK arguments.
    Backend.ZDE.SchemeProtocol to internally access the ZDE module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZDE.HostHost to internally access the ZDE module.zetaly_zde
    Backend.ZDE.PortPort to internally access the ZDE module.11040
    Backend.ZDE.LogLevelLog level for the ZDE module.
    Possible values:
    • ALL
    • FATAL
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE
    • OFF
    INFO
    Backend.ZDE.ArgsJDK arguments.
    Backend.ZCC.SchemeProtocol to internally access the ZCC module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZCC.HostHost to internally access the ZCC module.zetaly_zcc
    Backend.ZCC.PortPort to internally access the ZCC module.11050
    Backend.ZCC.LogLevelLog level for the ZCC module.
    Possible values (case sensitive):
    • Debug
    • Information
    • Warning
    • Error
    Warning
    Backend.ZHB.SchemeProtocol to internally access the ZHB module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZHB.HostHost to internally access the ZHB module.zetaly_zhb
    Backend.ZHB.PortPort to internally access the ZHB module.11060
    Backend.ZHB.LogLevelLog level for the ZHB module.
    Possible values:
    • ALL
    • FATAL
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE
    • OFF
    INFO
    Backend.ZHB.ArgsJDK arguments.
    Backend.ZUP.SchemeProtocol to internally access the ZUP module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZUP.HostHost to internally access the ZUP module.zetaly_zup
    Backend.ZUP.PortPort to internally access the ZUP module.11070
    Backend.ZUP.LogLevelLog level for the ZUP module.
    Possible values:
    • ALL
    • FATAL
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE
    • OFF
    INFO
    Backend.ZUP.EmailZUP username. This user is only used to communicate between the ZUP module and the other Zetaly modules.zup-user@zetaly.io
    Backend.ZUP.PasswordZUP passwordZetaly01!.
    Backend.ZUP.ConfigurationTypeName of the configuration type for SMF.SMF
    Backend.ZUP.ArgsJDK arguments.
    Backend.ZCO.SchemeProtocol to internally access the ZCO module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZCO.HostHost to internally access the ZCO module.zetaly_zco
    Backend.ZCO.PortPort to internally access the ZCO module.11080
    Backend.ZCO.LogLevelLog level for the ZCO module.
    Possible values:
    • ALL
    • FATAL
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE
    • OFF
    INFO
    Backend.ZCO.ArgsJDK arguments.
    Backend.ZQM.SchemeProtocol to internally access the ZQM module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZQM.HostHost to internally access the ZQM module.zetaly_zqm
    Backend.ZQM.PortPort to internally access the ZQM module.11090
    Backend.ZQM.LogLevelLog level for the ZQM module.
    Possible values:
    • ALL
    • FATAL
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE
    • OFF
    INFO
    Backend.ZQM.ArgsJDK arguments.
    Backend.ZSAC.SchemeProtocol to internally access the ZSAC module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZSAC.HostHost to internally access the ZSAC module.zetaly_zsac
    Backend.ZSAC.PortPort to internally access the ZSAC module.11100
    Backend.ZSAC.LogLevelLog level for the ZSAC module.
    Possible values (case sensitive):
    • Debug
    • Information
    • Warning
    • Error
    Warning
    Backend.ZDC.SchemeProtocol to internally access the ZDC module.
    Possible values:
    • http
    • https
    Note: If you change the value to https you must additionally create and install an SSL certificate. Since this property defines the protocol to use internally behind the FrontalWeb component, Zetaly recommend that you leave the default setting of http.
    http
    Backend.ZDC.HostHost to internally access the ZDC module.zetaly_zdc
    Backend.ZDC.PortPort to internally access the ZDC module.11110
    Backend.ZDC.LogLevelLog level for the ZDC module.
    Possible values:
    • ALL
    • FATAL
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE
    • OFF
    INFO
    Backend.ZDC.ArgsJDK arguments.
    Database.Host.PortMay be used when database is to be accessed with a non-default port..\scripts-temp\scripts

    Customization Examples

    This section describes some examples of adding additional properties at the end of the zetalyinstall.cnf file for different customization scenarios.

    Resolving Port Clashes With Zetaly Modules

    The table below summarizes the default port numbers and their associated properties for each of the Zetaly modules.

    Zetaly ModulePropertyDefault Port Number
    ZCCBackend.ZCC.Port11050
    ZRPBackend.ZRP.Port11020
    MYZBackend.MYZ.Port11030
    ZDEBackend.ZDE.Port11040
    ZSABackend.ZSA.Port11010
    ZSACBackend.ZSAC.Port11100
    ZHBBackend.ZHB.Port11060
    ZUPBackend.ZUP.Port11070
    ZCOBackend.ZCO.Port11080
    ZQMBackend.ZQM.Port11090
    ZDCBackend.ZDC.Port11110

    In our example, the server that will have Zetaly installed has services already using ports 11010 and 11060.
    By default the ZSA module also uses port 11010. To avoid a port clash between the ZSA module and the other service using port 11010, you must change the ZSA module to another unused port (for example 11015).
    By default the ZHB module also uses port 11060. To avoid a port clash between the ZHB module and the other service using port 11060, you must change the ZHB module to another unused port (for example 11065).
    In this case you would create the following section at the end of the zetalyinstall.cnf file.

    #################################################################
    #     Custom ports for Zetaly modules to avoid port clashes     #
    #################################################################
    Backend.ZSA.Port              =       11015
    Backend.ZHB.Port              =       11060  
    

    Changing the Default Log Level of the Zetaly Modules

    The table below summarizes the default log levels, possible log levels and their associated properties for each of the Zetaly modules.

    Zetaly ModulePropertyDefault Log LevelPossible Log Levels
    ZCCBackend.ZCC.LogLevelWarningDebug, Information, Warning, Error
    ZRPBackend.ZRP.LogLevelINFOOFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
    MYZBackend.MYZ.LogLevelINFOOFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
    ZDEBackend.ZDE.LogLevelINFOOFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
    ZSABackend.ZSA.LogLevelWarningDebug, Information, Warning, Error
    ZSACBackend.ZSAC.LogLevelWarningError, Warning, Information, Debug
    ZHBBackend.ZHB.LogLevelINFOOFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
    ZUPBackend.ZUP.LogLevelINFOOFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
    ZQMBackend.ZQM.LogLevelINFOOFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
    ZCOBackend.ZCO.LogLevelINFOOFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL
    ZDCBackend.ZDC.LogLevelINFOOFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, ALL

    In our example we want to change the default log levels of the ZHB, ZUP and ZQM modules from INFO to Warning.
    In this case you would create the following section at the end of the zetalyinstall.cnf file.

    ############################################################
    #                     Custom Log Levels                    #
    ############################################################
    Backend.ZHB.LogLevel              =      WARN
    Backend.ZUP.LogLevel              =      WARN
    Backend.ZQM.LogLevel              =      WARN
    

    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 Docker container. As a result, the address used by the FrontalWeb component to internally access the each of the Zetaly modules is set as summarized in the table below.

    Zetaly ModulePropertyDefault Address
    ZCCBackend.ZCC.Hostzetaly_zcc
    ZRPBackend.ZRP.Hostzetaly_zrp
    MYZBackend.MYZ.Hostzetaly_myz
    ZDEBackend.ZDE.Hostzetaly_zde
    ZSABackend.ZSA.Hostzetaly_zsa
    ZSACBackend.ZSAC.Hostzetaly_zsac
    ZHBBackend.ZHB.Hostzetaly_zhb
    ZUPBackend.ZUP.Hostzetaly_zup
    ZQMBackend.ZQM.Hostzetaly_zqm
    ZCOBackend.ZCO.Hostzetaly_zco
    ZDCBackend.ZDC.Hostzetaly_zdc

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

    Zetaly ModuleDocker Container 1
    10.0.0.1
    Docker Container 2
    10.0.0.2
    Docker Container 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 resources than the other modules. For this reason, in our example, the ZRP module is installed on Docker container 2 (10.0.0.2) and the ZSA module is installed on Docker container 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 would also need to configure the three Docker containers to use the same proxy by defining the proxy in the ~/.docker/config.json Docker file. For more information, see this Docker article.

    Editing the run.sh Script

    The run.sh script contains properties to determine which of the Zetaly modules are installed, and whether the OrientDB database is installed and used. It is pre-configured according to your installation package. Typically you do not need to edit this file unless you run into installation problems.
    If you run into installation problems, you can edit the run.sh script accordingly to match your installation package's requirements.

    PropertyDescriptionDefault Value
    cnf_fileDefines the path to the zetalyinstall.cnf file. Never change this.$(pwd)/zetalyinstall.cnf
    install_frontalDetermines whether the Frontal module is installed.
    Possible values:
    • 1 - the Frontal module is installed (i.e. is always installed in order to have access to the Zetaly Portal).
    Depends on installation package
    install_myzDetermines whether the MYZ module is installed.
    Possible values:
    • 0 - the MYZ module is not installed
    • 1 - the MYZ module is installed
    Depends on installation package
    install_zrpDetermines whether the ZRP module is installed.
    Possible values:
    • 0 - the ZRP module is not installed
    • 1 - the ZRP module is installed
    Depends on installation package
    install_zdeDetermines whether the ZDE module is installed.
    Possible values:
    • 0 - the ZDE module is not installed
    • 1 - the ZDE module is installed
    Depends on installation package
    install_zccDetermines whether the ZCC module is installed.
    Possible values:
    • 0 - the ZCC module is not installed
    • 1 - the ZCC module is installed
    Note: The ZCC module requires the MYZ module installed as it relies on the MyInfrastructure functionality provided by the MYZ module. If you set this value to 1 the install_myz property must also be set to 1.
    Depends on installation package
    install_zsaDetermines whether the ZSA module is installed.
    Possible values:
    • 1 - the ZSA module is installed (i.e. is always installed as the Zetaly Streaming Agent is always required for collecting mainframe data).
    Depends on installation package
    install_zhbDetermines whether the ZHB module is installed.
    Possible values:
    • 1 - the ZHB module is installed (i.e. is always required as this module provide the user management functionality).
    Depends on installation package
    install_zupDetermines whether the ZUP module is installed.
    Possible values:
    • 0 - the ZUP module is not installed
    • 1 - the ZUP module is installed
    Depends on installation package
    install_zcoDetermines whether the ZCO module is installed.
    Possible values:
    • 0 - the ZCO module is not installed
    • 1 - the ZCO module is installed
    Depends on installation package
    install_orientdbDetermines whether the OrientDB database is installed.
    Possible values:
    • 0 - the OrientDB database is not installed
    • 1 - the OrientDB database is installed
    Depends on installation package
    install_zqmDetermines whether the ZQM module is installed.
    Possible values:
    • 0 - the ZQM module is not installed
    • 1 - the ZQM module is installed
    Depends on installation package
    install_zdcDetermines whether the ZDC module is installed.
    Possible values:
    • 0 - the ZDC module is not installed
    • 1 - the ZDC module is installed
    Depends on installation package
    zsi_onlyDetermines whether the ZSI module is installed along with some core backend functions of the ZCC module without displaying the ZCC module in the Zetaly Portal.
    Possible values:
    • 0 - the ZSI module is not installed along with some core backend functions of the ZCC module
    • 1 - the ZSI module is installed along with some core backend functions of the ZCC module
    Depends on installation package

    The example below shows a run.sh script for an installation which has the following modules installed:

    • Frontal (always required as it provides access to the Zetaly Portal).
    • MYZ (required because ZCC is going to be installed, which needs the MyInfrastructure functionality of MYZ)
    • ZRP
    • ZCC
    • ZSA (always required as it provides the Streaming Agent which is used to collect data from the mainframe).
    • ZHB (always required as it provides the user management functionality within the Zetaly Portal).
    #!/bin/bash
    # 0 = false, 1 = true. Adapt the flags to your needs
    cnf_file=$(pwd)/zetalyinstall.cnf
    install_frontal=1
    install_myz=1
    install_zrp=1
    install_zde=0
    install_zcc=1
    install_zsa=1
    install_zhb=1
    install_zup=0
    install_zco=0
    install_orientdb=0
    install_zqm=0
    install_zdc=0
    # Use to set the front permissions when only zsi is deployed
    zsi_only=1
    bash ./zetalyinstall.sh \
        $cnf_file \
        $install_myz \
        $install_zrp \
        $install_zde \
        $install_frontal \
        $install_zsa \
        $install_zcc \
        $install_zhb \
        $install_zup \
        $install_zco \
        $install_orientdb \
        $install_zqm \
        $install_zdc \
        $zsi_only
    
    Port already used

    be carefull during the installation process that the port is not used by another process

    image.png


    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.