How To and Troubleshooting
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.
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 -
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.
Install all five modules on the primary server. When installing Wyn Enterprise, you can specify the modules you want to install.
For more information regarding the installation steps on Windows, visit this page.
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.
This section describes the steps to install a CotWorker module on the secondary server. The DashboardWorker and ReportingWorker modules can be similarly installed.
Install the CotWorker module on the secondary server through the Wyn Enterprise installer.
Enter the configuration details such as the Backend Server IP (that is the IP address of the primary server), Local IP Address (that is the IP address for the secondary server), and Secret Node (that is the token you get after creating the secondary node on the primary server).
It will take few minutes to install.
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.
Once the worker module is successfully installed, you can view the additional worker on the Admin Portal of the primary server.
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.