Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Service Managers #117

Open
3 of 4 tasks
AhmadAlamoush opened this issue Dec 15, 2022 · 1 comment
Open
3 of 4 tasks

Multiple Service Managers #117

AhmadAlamoush opened this issue Dec 15, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@AhmadAlamoush
Copy link
Contributor

AhmadAlamoush commented Dec 15, 2022

Do we want to have/need multiple service managers per device or is one service manager per (container) per device sufficient?
In case that we opt for multiple service managers, which and how to select the service manager that should manage app.

@eichelbe eichelbe added the enhancement New feature or request label Dec 15, 2022
eichelbe added a commit that referenced this issue Mar 13, 2023
@eichelbe eichelbe added this to the Spring '23 (0.6.0) milestone Mar 13, 2023
@eichelbe eichelbe self-assigned this Mar 13, 2023
@eichelbe
Copy link
Contributor

eichelbe commented Mar 13, 2023

Actual plan: (@dzikaswinia @JimmyAppel)

  • We keep for now the legacy service manager elements in the device AAS and add a new collection serviceManagers. The serviceManagers contains in individual elements the service managers on the actual device, the top-level service manager is just the first one as it is now. It is also added using its JVM id into serviceManagers.
  • Activated only via deployment plans and appId there (shall be the same as in the configuration model)
  • ServiceManager declares the appIds it is responsible for, it has been built for, it has the dependencies for. Can be done in iipecosphere.yml of service manager or for containers more convenient in environment variable ENV_SUPPORTED_APPIDS or in JVM property iip.supportedAppIds. See also platform handbook 0.6.0-SNAPSHOT (intern).
  • Platform AAS/CLI passes appId to ServiceManager AAS client. This selects the appropriate service manager, either the only one available as it is now or from those supporting the appId the one with the lowest number of running service instances (very primitive, initial load distribution).

Commits will follow incrementally... commits completed.

@eichelbe eichelbe mentioned this issue Mar 13, 2023
16 tasks
eichelbe added a commit that referenced this issue Mar 13, 2023
eichelbe added a commit that referenced this issue Mar 13, 2023
@eichelbe eichelbe modified the milestones: Spring '23 (0.6.0), Summer'23 Apr 4, 2023
eichelbe added a commit that referenced this issue Apr 24, 2023
@eichelbe eichelbe modified the milestones: Summer'23, Version 0.6.0 Jul 12, 2023
@eichelbe eichelbe removed this from the Version 0.6.0 (EMO'23) milestone Sep 30, 2023
@eichelbe eichelbe added this to the 0.7.0 milestone Oct 13, 2023
eichelbe added a commit that referenced this issue Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants