Distributed Services
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:
-
Open the application-cloud.yml configuration file located in the \Services\service-manager\config directories.
- Enter the URL of the 'discovery' service of the installation with basic services as 'defaultZone' for all further installations without basic services.
- Save the configuration files.
- Open the servicewatcher-sw.yml configuration file located in the \Services\service-manager\config directories.
- 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.
- Save the configuration files.
- Restart enaio® service-manager in all further installations.
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.
Example:
eureka:
client:
service-url:
defaultZone: http://<service-manager-discovery-IP>:<port>/eureka/
Default port: 7261
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:
-
Open the application-cloud.yml configuration file located in the \Services\service-manager\config directories.
- Enter the URL of the 'discovery' services of all installations with basic services for all installations as 'defaultZone'.
- Save the configuration files.
- Open the servicewatcher-sw.yml configuration file located in the \Services\service-manager\config directories.
- Enter the URL of the 'discovery' services of all installations with basic services for all installations as 'defaultZone' here as well.
- Save the configuration files.
- Restart enaio® service-manager in all installations.
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
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