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

Restart Zowe component with a different configuration #60

Open
JirkaAichler opened this issue Aug 12, 2022 · 5 comments
Open

Restart Zowe component with a different configuration #60

JirkaAichler opened this issue Aug 12, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@JirkaAichler
Copy link

JirkaAichler commented Aug 12, 2022

Hello,
I am running Zowe and would like to restart Gateway with a different configuration.

Steps:

  1. Modify zowe.yaml
  2. Call /F ZOWE,APPL=STOP(gateway)
  3. Call /F ZOWE,APPL=START(gateway)

Gateway is restarted but still using the old configuration. It seems that Gateway configuration files were not refreshed.
For example: instance/workspace/.env/.instance-sys1.env

What should I do?

@balhar-jakub
Copy link
Member

@skurnevich Do you have any idea what could be the issue?

@skurnevich
Copy link

Hello,
I've never experimented with restarting the Gateway only with updated config.
So it is HA Instance, and what Zowe version is that exactly?
Does restart of entire Zowe helps and config is being properly updated? Or you could not try that in your case?

@JirkaAichler
Copy link
Author

Zowe v2.2.0 without HA.

Restarting the whole Zowe helps but I would like to restart just one component to significantly lower downtime (avoid the long Zowe restart).

@1000TurquoisePogs
Copy link
Member

you're not doing anything wrong, zowe just doesn't have this feature yet. it's a very good idea to develop in the future.
i think it has to do with the launcher only redoing the start.sh event when a component stops.
start.sh consumes environment variables given in configure.sh, which does not rerun.

@1000TurquoisePogs
Copy link
Member

kind of related zowe/zowe-install-packaging#2871

@MarkAckert MarkAckert added the enhancement New feature or request label Jan 18, 2023
@MarkAckert MarkAckert transferred this issue from zowe/zowe-install-packaging Jan 19, 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

5 participants