Distributed Services

enaio® 11.0 »

enaio® service-manager can be installed with all services on a computer. If you would like to distribute services, run the setup os_service-manager_setup.exe again on the relevant computers and install enaio® service-manager with the services you would like to distribute there.

Further Installations Without Basic Services

If you install further installations of enaio® service-manager without basic services – ADMIN and DISCOVERY – then follow these steps:

  1. Open the application-cloud.yml configuration file located in the \Services\service-manager\config directories.

  2. Enter the URL of the 'discovery' service of the installation with basic services as 'defaultZone' for all further installations without basic services.
  3. Example:

    eureka:
      client:
        service-url:
          defaultZone: http://<service-manager-discovery-IP>:<port>/eureka/

    Default port: 7261

    If there are also certificates, then specify 'https' and the address corresponding to the certificate as the qualified host name or IP address.

  4. Save the configuration files.
  5. Open the servicewatcher-sw.yml configuration file located in the \Services\service-manager\config directories.
  6. Enter the URL of the 'discovery' service of the installation with basic services as 'defaultZone' for all further installations without basic services here as well.
  7. Example:

    eureka:
      client:
        service-url:
          defaultZone: http://<service-manager-discovery-IP>:<port>/eureka/

    Default port: 7261

  8. Save the configuration files.
  9. Restart enaio® service-manager in all further installations.

Further Installations With Basic Services

If you install further installations of enaio® service-manager with basic services – ADMIN and DISCOVERY – then follow these steps for all installations:

  1. Open the application-cloud.yml configuration file located in the \Services\service-manager\config directories.

  2. Enter the URL of the 'discovery' services of all installations with basic services for all installations as 'defaultZone'.
  3. Example:

    eureka:
      client:
        service-url:
          defaultZone: http://<service-manager_1-discovery-IP>:<port>/eureka/,http://<service-manager_2-discovery-IP>:<port>/eureka/

    Default port: 7261

  4. Save the configuration files.
  5. Open the servicewatcher-sw.yml configuration file located in the \Services\service-manager\config directories.
  6. Enter the URL of the 'discovery' services of all installations with basic services for all installations as 'defaultZone' here as well.
  7. Example:

    eureka:
      client:
        service-url:
          defaultZone: http://<service-manager_1-discovery-IP>:<port>/eureka/,http://<service-manager_2-discovery-IP>:<port>/eureka/

    Default port: 7261

  8. Save the configuration files.
  9. Restart enaio® service-manager in all installations.