Wyn Enterprise Administration Guide

Wyn Enterprise: Deploy Services

The Wyn architecture is composed of several services including scheduler service, datasource service, memory db service, analysis db primary node service, and analysis db service. Each service has its own set of functions and usage. For more information about these services, please see Wyn Architecture.

In this section, you will learn how to deploy Wyn services in a distributed Windows environment.

Before You Begin

Ensure that MonetDB (specific version 11.41.5) is installed on the secondary node machine before deploying the Wyn services.
It is recommended to install the MonetDB version 11.41.5 because its version is the same as the built-in MonetDB version and is an actively updated database. If you try to install a different version, you might face breaking changes or other unknown issues.

Updating Configuration File on Primary Node

To modify the configuration settings on the primary node:

  1. Stop the Wyn Enterprise service on the primary node machine.
  2. Copy the following folders from the primary node machine to the secondary node machine, here – C:⧵Program Files⧵Wyn:

    • DatasourceService
    • jre
    • MemoryDBService
    • MonetDB
    • SchedulerService
    • AnalysisDBPrimaryNode
    • AnalysisDBService

    You can access these folders on the primary node machine through the installation directory.

    Note: Apart from the service folders, we have also copied the jre and MonetDB folders. This is because the datasource and memory db services are dependent on jre, while the analysis db service is dependent on MonetDB.

  3. Now, go to C:⧵Program Files⧵Wyn Enterprise⧵Monitor⧵conf and open the Wyn.conf file.
  4. Set the following to the IP address of the secondary node machine where you want to enable the services:
    • Serverhost of the SchedulerConfig element
    • AnalysisDBSeedNodes
    • DataSourceProxy
    • MemoryDBProxy
  5. Remove the services you want to deploy on the secondary node machine, such as scheduler service, datasource service, memory db service, analysis db primary node service, and analysis db service.
    Update Primary Node Conf File
  6. Save the changes, and close the configuration file.

Updating Configuration File on Secondary Node

To modify the configuration settings on the secondary node:

  1. Go to C:⧵Program Files⧵Wyn⧵Monitor⧵conf, and open the Wyn.conf file.
  2. Set the following to the IP address of the secondary node machine where you want to enable the services.
    • Serverhost of the SchedulerConfig element
    • AnalysisDBSeedNodes
    • DataSourceProxy
    • MemoryDBProxy
  3. Add the Services element to include the other services, that is, scheduler service, datasource service, memory db service, analysis db primary node service, and analysis db service.
    Modifying the conf file on secondary node
  4. Then, save the changes in the configuration file.

Restarting Primary and Secondary Nodes

To restart primary and secondary node machines, go to the Start menu, and click Power > Restart.

Tip: If you face an error while connecting to the Postgres database, then update the database configurations in the pg_hba.conf and postgresql.conf files at C:\ProgramData\Wyn Enterprise\pgsql\wyn_data folder.
• Update the listening address in postgresql.conf file from localhost to *.
• Update the host address in pg_hba.conf file from 127.0.0.1/32 to 0.0.0.0/0.