Is it possible to dynamically restart API ML components (gateway, catalog, discovery)? #3597
-
See title, thanks in advance for response! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
It would be great to understand a bit more about what you are trying to do and how do you start Zowe. Do you use zwe start command or do you start it via /S ZWESLSTC or do you use some other way. Also what dynamically means for you. In general if you start zowe via zwe start this actually starts launcher that spawns subtasks for each of these servers. As such if you kill the related job, the zowe launcher starts it again. Is this what you were looking for? |
Beta Was this translation helpful? Give feedback.
-
And the specific commands to actually stop and start Zowe should be: |
Beta Was this translation helpful? Give feedback.
-
Hi Jakub, Thanks for the prompt response. 2024-06-10 19:13:16.910 ZWEAGW1:main:33620623 ZWESVUSR INFO (o.z.a.p.s.ServiceStartupEventHandler) ZWEAM000I Gateway Service started in 5330.488 seconds ... lots of messages " Discovery Service Cache was updated." 2024-06-10 21:03:17.227 ZWEAGW1:Thread-17:33620623 ZWESVUSR ERROR (o.z.a.g.s.s.JwtSecurity) ZWEAG108E z/OSMF instance 'zOSMF' not found or incorrectly configured. Gateway is shutting down. So afterwards I see only ZWE1AC and ZWE1AD subtasks are active and ZWE1AG is not. I tried /F ZWESVSTC,APPL=START(gateway) you suggested and got message "IEE342I MODIFY REJECTED-TASK BUSY" |
Beta Was this translation helpful? Give feedback.
It appears the gateway has shut down due to errors or configuration issues.
You can enable debug mode for Zowe to identify the problems.
Restarting the gateway alone won't resolve the issue without addressing the underlying cause.
I don't think it's possible to start individual components dynamically.
Any changes to the YAML configuration will require a restart of the Zowe server STC.
We recommend upgrading to Zowe V2, as it offers easier installation, usage, and faster startup.
Additionally, you can use HA mode for load balancing and maintenance without downtime.
Let us know if you need assistance upgrading to zowe V2 or V3 in the future.