zowe / zlux

The top-level superproject for zLUX. zLUX includes the Zowe Desktop framework in addition to several built-in apps and an example server implementation.
Eclipse Public License 2.0
39 stars 42 forks source link

Question: Does app-server handle HA instances lacking gateway? #1019

Open 1000TurquoisePogs opened 3 months ago

1000TurquoisePogs commented 3 months ago

I see configuration behavior based upon "component.[componentname].enabled" in the app-server, which I interpret to mean that the app-server does certain things if the gateway/discovery is enabled IN THE SAME HA INSTANCE.

It should be possible to have 5 app-servers but only 2 gateways, but if the app-server is reading the enabled status of the gateway from the haInstances section, then I am concerned that the app-server would think there was no gateway at all simply because it was not looking at the overall configuration to spot if any gateway existed.

Can someone verify whether or not app-server correctly uses a gateway when the gateway is disabled in the app-server's haInstance, but is present in another haInstance?

1000TurquoisePogs commented 3 months ago

Note: I assigned myself and Sergei because we both have tested HA in the past, so we may be able to prove/disprove this