Wyn Enterprise Administration Guide

Wyn Enterprise: Deploying Workers on Linux

Wyn Enterprise provides support for distributed deployment where you can deploy one or more worker modules on different servers to optimize the computing speed of the system. This also helps in improving the scalability and maintainability of the system.

Wyn Enterprise system is typically composed of five modules - Server, Portal, ReportingWorker, DashboardWorker, and CotWorker. Among them, ReportingWorker, DashboardWorker, and CotWorker are responsible for report calculation, dashboard export, and dashboard calculation, respectively. You can deploy these worker modules on different servers to achieve better performance.

Wyn Enterprise Architecture

A primary server in the distributed environment refers to the main server where the complete Wyn Enterprise is installed. If the primary server does not install any worker, then it will not be able to deploy workers in the secondary server either. If the primary server has only report worker installed, then only report workers can be deployed in the secondary server. In order to facilitate comprehensive node deployment and management, we generally recommend that users must have a complete installation on the primary server. On the other hand, a secondary server refers to a server with one or more worker modules installed. Refer to the following sections that describe the installation and deployment steps for the primary and secondary servers.

Key Points -

  • It is always recommended to install the Server module first and add an inbound rule for port 51981 to the firewall. This is because the worker modules need to access the Server module from external machines.
  • Make sure that the CotWorker module installed on the secondary server has the access to the database service configured by the system.
  • In the Linux operating system, you can't deploy secondary nodes on the same machine as that of the primary node.

Install Modules on Primary Server

The following section describes the steps to install the complete Wyn Enterprise (all five modules) on the primary server. Once the installation is complete, secondary server where the worker modules will be installed, needs to be configured.

  1. Install all five modules on the primary server. When installing Wyn Enterprise, you can specify the modules you want to install.

    Install Wyn Enterprise

    For more information regarding the installation steps on Windows, visit this page.

  2. Once the installation is complete, you need to modify the global settings and add the configuration details for the secondary server on the Node Management interface of the Admin Portal.

    Add secondary server details on the Node Management interface of Admin Portal

Install Modules on Secondary Server

This section describes the steps to install a CotWorker module on the secondary server. The DashboardWorker and ReportingWorker modules can be similarly installed.

  1. Install the CotWorker module on the secondary server through the Wyn Enterprise installer.

    Select the CotWorker module to install during the Wyn Enterprise installation process

  2. Enter the configuration details such as the Backend Server IP (that is the IP address of the primary server) and the Secret Node (that is the token you get after creating the secondary node on the primary server).

    Enter the configuration details for the secondary server during the installation process

    It will take few minutes to install.

    Installing the CotWorker module on the secondary machine

  3. On the Node Management interface of the primary server, click the Start button to begin the cotworker service on the secondary server. Furthermore, you can manage the worker modules on the secondary server through the install, start, stop, and delete options.

    Start the service on the secondary server

  4. Once the worker module is successfully installed, you can view the additional worker on the Admin Portal of the primary server.

    Viewing the Additional Worker on the Admin Portal

  5. Use the IdentityServerURL of the primary server, that is IP address of the primary server + port number (51980) to access the Wyn Enterprise portal on the secondary server.

    Access the Wyn Enterprise portal on the secondary machine