NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 20 forks source link

Limit the number of app instances on the same node #6955

Open DavidePrincipi opened 1 week ago

DavidePrincipi commented 1 week ago

Applications with fixed port numbers like Mail and Ejabberd are limited to one instance per node, otherwise a port conflict arises at run time. The Software Center should limit the number of instances in the same node for such applications.

The limit may be observed also by the Clone/Move action, available from Software Center. However these advanced cases may prefer to allow a temporary conflict: it is a scenario that needs further evaluation.

Proposed solution

In the Install action, the Software Center prevents the selection of cluster nodes that already have an instance of the conflicting application.

Alternative solutions

The Software Center warns if a node is selected that already has a conflicting app instance.

Additional context

Image

See also